Commit Graph

3778 Commits

Author SHA1 Message Date
Marcus Boerger
53b4597fca Initialize to 0 to prevent valgrind warnings 2004-04-03 09:51:57 +00:00
Derick Rethans
95659890ba - Fixed expected shift/reduce conflict count nu,ber 2004-04-02 21:26:35 +00:00
Ilia Alshanetsky
c85843aec1 MFB: Revert patch for bug #27782. 2004-04-01 22:07:42 +00:00
Derick Rethans
b2ed70e4e0 - MFB: Fixed bug #27780 (strtotime(+1 xxx) returns a wrong date/time) 2004-04-01 21:40:56 +00:00
Derick Rethans
88c17817a9 - Fixed bug #27822 (is_resource() returns TRUE for closed resources) 2004-04-01 08:54:44 +00:00
Sara Golemon
72616e6eae BugFix#27619
Filters not applied to pre-buffered stream data.
(esp. http:// streams)
2004-03-31 23:48:59 +00:00
Hartmut Holzgraefe
f8708f369d disallow negative timestamps on windows only 2004-03-31 17:57:33 +00:00
Ard Biesheuvel
81cfb1b312 Make time tests more robust against differences in implementation
# FreeBSD mktime() returns -1 if is_dst==1 and no DST timezone is set
2004-03-31 01:00:55 +00:00
Ilia Alshanetsky
ec4655f864 Fixed bug #27782 (Wrong behaviour of next(), prev() and each()). 2004-03-30 19:08:43 +00:00
Ard Biesheuvel
04d178f79c Prevent test from failing on least significant digit 2004-03-30 12:36:44 +00:00
Andi Gutmans
9094dd7a5e - Tiny improvement. 2004-03-30 08:56:29 +00:00
Marcus Boerger
dddf796edf NAN==NAN doest work (Ard) 2004-03-29 23:08:36 +00:00
Ilia Alshanetsky
f7fd3a7dcc Removed extra spaces that cause the test to fail. 2004-03-29 21:57:29 +00:00
Marcus Boerger
8b15b46aa8 Found a NAN/INF solution that should be portable everywhere(?) (Ard,Marcus) 2004-03-29 18:51:47 +00:00
Marcus Boerger
4f855044c7 Improve portability (idea by Ard) 2004-03-28 21:46:43 +00:00
Marcus Boerger
f8ff2ccf20 Fix writing of SQLite and SimpleXMl extension and add Rob to the credits
line of the latter. Add ext/SPL.
2004-03-28 20:27:18 +00:00
Rasmus Lerdorf
1ece5eb5ad MFB test case for bug #27719 and improve comments in this tricky DST code 2004-03-28 15:03:56 +00:00
Marcus Boerger
e4a6365181 Move defines to proper location 2004-03-27 01:41:32 +00:00
Marcus Boerger
141049a2e2 Touch after .c 2004-03-27 01:27:53 +00:00
Marcus Boerger
bc0373b880 Portable solution for bug #27646 that works correct on Windows, too 2004-03-27 00:50:41 +00:00
Marcus Boerger
92d8c3d06e Correct that name 2004-03-26 19:53:07 +00:00
Marcus Boerger
86d3e496f0 let inf be generated by INF constant (thanks to Wez) 2004-03-26 19:45:09 +00:00
Rasmus Lerdorf
a40518164b MFB: The 2am offset was a bad choice as this hour doesn't necessarily exist
on a DST switch.  So use 4am instead.  Fixes bug #27719
2004-03-26 19:32:49 +00:00
Sara Golemon
c52cc1c333 BugFix 27675 and add regression test. 2004-03-26 19:23:42 +00:00
Marcus Boerger
a4fba990a4 Pending touch 2004-03-25 22:40:25 +00:00
Marcus Boerger
3450ed948f -Make NAN and INF more portable (atof() doesn't work on MSVC.6 for example)
-Change test to use constants without prior conversion
2004-03-25 22:36:36 +00:00
Marcus Boerger
3f8a43989d Update .c output after .re 2004-03-23 22:33:29 +00:00
Marcus Boerger
fdcff80c16 - Allow negative infinity
- Register missing constants, they work anyway but cause an E_NOTICE
# generation by atof() should be portable enough (afaik)
2004-03-23 22:30:25 +00:00
Marcus Boerger
c64376bda5 Bugfix #27646: Cannot serialize/unserialize non-finite numeric values 2004-03-23 20:54:00 +00:00
Sara Golemon
dd28c137f6 Cleanup, minor refactor, and CS 2004-03-19 22:21:53 +00:00
Sara Golemon
75268270d6 Bug Fix #27657: TXT records longer than MAXHOSTNAMELEN cause segfaults. 2004-03-19 21:42:29 +00:00
Ilia Alshanetsky
d45b2c6bc3 MFH: Fixed bug #27628 (Simplify the process of making a POST request via
stream context).
2004-03-19 15:41:26 +00:00
Dmitry Stogov
deb84befae BUG #27469 was fixed (serialize() objects of incomplete class) 2004-03-18 16:54:36 +00:00
Dmitry Stogov
6e63ea45c7 BUG #27457 was fixed (using temporary hash table with string keys only) 2004-03-18 09:48:37 +00:00
Sara Golemon
4341ee6061 Userspace Directory Stream Test 2004-03-17 20:48:12 +00:00
Ilia Alshanetsky
88058e5715 Fixed bug #27498 (bogus safe_mode error on nonexistent directories for
chdir() and opendir() functions).
2004-03-16 23:23:17 +00:00
Jay Smith
83b2d923f8 Fixed bug #27291 (get_browser matches browscap.ini patterns incorrectly). 2004-03-15 21:26:39 +00:00
Jon Parise
633c95aa40 Fixed crash in php_ini_scanned_files() when no additional INI files were
actually parsed.

I'll merge this into the PHP_4_3 branch as soon as I receive permission
from the release master.
2004-03-15 07:45:25 +00:00
Marcus Boerger
15e1d817be Fix strval to use __toString if necessary 2004-03-14 22:59:04 +00:00
Rasmus Lerdorf
8f58b974b2 Fix/workaround for http://bugs.php.net/27533 2004-03-12 17:29:52 +00:00
Rasmus Lerdorf
05f8b4e6bc getopt() doesn't work if variables_order does not include "S" because it
only looks in $_SERVER for argv.  So, if we don't find argv in $_SERVER
fall back to looking in the global symbol table where register_argc_argv
would have put it.
2004-03-10 19:12:49 +00:00
Ard Biesheuvel
cc924cad9d Nuke unused vars 2004-03-10 15:59:50 +00:00
Ard Biesheuvel
e6281ab38b Don't use fp arithmetic for int results
# FP arithmetic is not accurate enough on 64-bit archs
# This patch relies on ZEND_SIGNED_MULTIPLY_LONG(),
# so that should be fixed as well.
2004-03-10 15:57:49 +00:00
foobar
3bd12064ef test for bug #27457 2004-03-09 14:19:50 +00:00
Ard Biesheuvel
b303ba089c More wordsize fixes 2004-03-08 23:11:45 +00:00
Ilia Alshanetsky
6112260738 Fixed compiler warnings. 2004-03-08 03:06:56 +00:00
Ilia Alshanetsky
72a3bb18d1 Fixed bug #27460 (base64_decode() does not handle extra padding). 2004-03-06 19:06:04 +00:00
Ilia Alshanetsky
bf6b0dc5e6 Fixed bug #27505 (htmlentities() does not handle BIG5 correctly). 2004-03-06 18:35:41 +00:00
Pierre Joye
a8b6b2102b - fix #27238 2004-03-06 17:31:51 +00:00
Derick Rethans
6644d38e35 - Fixed yacc file 2004-03-02 13:12:44 +00:00
Moriyoshi Koizumi
df8ee549f5 - Add support for more ISO8601 style formats.
. Timezone specifier (ex. 20040301T00:00:00+1900)
 . Week specifier "W"  (ex. 1997W021)
- Modified test case to test new features.
2004-03-01 10:42:28 +00:00
Sara Golemon
d9d38900b6 context parameter for opendir() and dir() 2004-03-01 05:40:14 +00:00
foobar
639073bd2a MFB: typofix 2004-02-26 00:13:30 +00:00
Ilia Alshanetsky
0f5f7c6dd0 Handle situation where feof() occurs before the HTTP header is retrieved. 2004-02-26 00:02:27 +00:00
Derick Rethans
f954677e54 - Fix tests after change to highlight_string() 2004-02-25 22:55:47 +00:00
Ard Biesheuvel
81f05c18f5 Wordsize fixes 2004-02-25 20:16:27 +00:00
Sebastian Bergmann
184b379fd7 ZTS fix. 2004-02-25 09:36:46 +00:00
Ilia Alshanetsky
895f244236 Fixed bug #27383 (Potential crash inside fopen_wrapper, while parsing
response code).
2004-02-24 21:52:40 +00:00
George Schlossnagle
a38761cd68 fix for bug 27384 2004-02-24 21:49:28 +00:00
Wez Furlong
0619eee6d0 test case for statcache corruption of BG 2004-02-23 21:07:10 +00:00
Wez Furlong
2b95eccf7e Ooops, these should not be pointers ;) 2004-02-23 21:03:58 +00:00
Sara Golemon
ba8ad292d9 Make today's changes work w/ str_ireplace() as well. 2004-02-23 20:34:59 +00:00
Sara Golemon
1c82797664 Short circuit str_replaces when we already know that needle does not occur in haystack.
Note: Prior bugfix was for #27176 not #27276
2004-02-23 20:13:14 +00:00
Sara Golemon
5144a1f522 Bugfix #27276: When using str_replace to expand a string, count occurances of needle in haystack to avoid massive overallocation 2004-02-23 20:06:01 +00:00
Derick Rethans
769dc0be75 - Added testcase for bug #27276 2004-02-23 19:45:16 +00:00
Ard Biesheuvel
b2bc520067 64-bit fixes 2004-02-23 16:26:34 +00:00
Ard Biesheuvel
154893115a 64-bit fix 2004-02-23 02:09:48 +00:00
Sara Golemon
15cd6762f8 Bug Fix #27335: Numeric indexes crashing http_build_query() 2004-02-20 20:38:14 +00:00
Ilia Alshanetsky
95cbb0046c Fixed bug #27295 (memory leak inside sscanf()). 2004-02-18 19:48:13 +00:00
Sara Golemon
da55c00362 Show registered transports in phpinfo() 2004-02-18 05:07:13 +00:00
foobar
7a7927c146 shorten the description a bit 2004-02-16 17:44:27 +00:00
Ilia Alshanetsky
4a954193e4 Fixed bug #27278 (*printf() functions treat arguments as if passed by
reference).
2004-02-16 17:09:37 +00:00
foobar
7fd4bdbec4 nuke copypaste rubbish 2004-02-16 16:50:53 +00:00
foobar
173794732b test for bug #27278 2004-02-16 16:50:11 +00:00
Stanislav Malyshev
794975d97f ce is not used, don't get it 2004-02-16 11:21:31 +00:00
foobar
6e06620089 - fix test 2004-02-16 06:39:13 +00:00
Jan Lehnardt
4d0ad7fbb7 - improve error message 2004-02-14 19:02:23 +00:00
Stig Bakken
4127b304ea * email address update 2004-02-12 19:05:41 +00:00
foobar
b10ce1155c - Fixed bug #23467 (Showing incorrect Time Zone)
# patch by scottmacvicar at ntlworld dot com
2004-02-12 01:28:12 +00:00
Brian France
d5b6608da5 Added checks for invalid characters in a cookie name or cookie data from setrawcookie 2004-02-11 19:00:42 +00:00
Ilia Alshanetsky
8b97d9d7f1 'Touch' the file to make sure re2c is not needed. 2004-02-11 17:32:38 +00:00
Ilia Alshanetsky
0fc2bb9d49 Fixed bug #26862 (ob_flush() followed by output_reset_rewrite_vars() may
result in data loss).
2004-02-11 17:00:48 +00:00
Zeev Suraski
0018eed69f Finally add a notice to hint people that using dl() is a bad idea... 2004-02-11 11:46:20 +00:00
Stanislav Malyshev
1c433049ca fix serialization 2004-02-05 09:07:46 +00:00
foobar
1f34bc0f10 touch 2004-02-03 15:50:21 +00:00
Stanislav Malyshev
3fd027c5ac fix bug #27120 and bug #25975 - preserve is_ref when bound
objects are serialized
2004-02-03 14:12:59 +00:00
Sara Golemon
18588497d7 Fix potential bug in http:// proxy support.
Some proxy servers require entire URI be sent in request string.

Add context option "http"/"request_fulluri" to allow this behavior.
2004-01-30 00:24:18 +00:00
Sara Golemon
c603f3112e FTP dirstream_read should not leave whitespace/newlines on dirents 2004-01-28 22:50:12 +00:00
Sara Golemon
6d10371ec6 'Bug Fix': scandir, being a new function in PHP5 should have always been wrapper aware. 2004-01-28 22:21:54 +00:00
Andrey Hristov
eaab3ef8cd this should not belong to HEAD 2004-01-28 20:25:30 +00:00
Ard Biesheuvel
86fe4ab6a1 CS 2004-01-25 15:08:31 +00:00
foobar
2a05750281 Fixed bug #27020 (Compile failure; sys/select.h: No such file or directory) 2004-01-25 06:09:36 +00:00
Ard Biesheuvel
6b8c406481 Changed prototypes to allow parsing of string literals and constant strings
Minor CS/WS
2004-01-25 00:30:50 +00:00
Andrey Hristov
9957fc6305 Added third parameter (optional) to array_keys for strictness. It behaves
like the "strict" parameter of in_array().
#Closing feature request #24258
2004-01-24 00:25:58 +00:00
foobar
8cd863f738 test case for bug #26938 2004-01-21 22:48:28 +00:00
Ilia Alshanetsky
17d420e5f7 Fixed bug #26938 (exec() has problems reading long lines). 2004-01-21 16:57:13 +00:00
Sara Golemon
1fb629de8a Typo 2004-01-21 04:08:10 +00:00
foobar
56373e08d6 - Fixed bug #26973 (*printf() + modifier broken) 2004-01-21 04:00:07 +00:00
foobar
6f56bc3b8d extend a bit 2004-01-21 03:58:30 +00:00
foobar
d7a54202d8 test case for bug #26973 2004-01-21 03:49:15 +00:00