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
foobar
dde4c166c9
- Make sure srand() / mt_srand() are really called.
2004-01-19 19:01:17 +00:00
Ilia Alshanetsky
39b62f26cf
Fixed bug #26967 (make various file operations return FALSE on error).
2004-01-19 18:40:39 +00:00
Ilia Alshanetsky
608db4728b
Added fgetcsv() tests.
2004-01-19 03:55:29 +00:00
foobar
e0782e2519
- Moved php_srand() call into php_rand().
...
# Makes shuffle() and str_shuffle() to be random without having to
# call srand() in scripts.
# They don't internally call php_srand() at all and it would be silly
# to start adding php_srand() calls all over the place..
2004-01-19 03:14:58 +00:00
foobar
c7f8c84f36
- Fixed bug #26949 (rand(min,max) always returns min when ZTS enabled)
2004-01-19 02:30:54 +00:00
Moriyoshi Koizumi
abfda09eda
Fix fgetcsv() to reflect the change on 4.3.5 behaviour.
2004-01-18 20:29:34 +00:00
Andrey Hristov
9e5df0c666
HEAD is now bundled only with ZE2
2004-01-17 17:33:11 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
Wez Furlong
09fb5dc1e6
Remove stale code from flock();
...
spotted by Hartmut.
2004-01-14 14:37:38 +00:00
Wez Furlong
cd4262eedd
Fix #26772 : fgets returns NULL instead of FALSE.
2004-01-14 14:25:01 +00:00
Ilia Alshanetsky
43becc02f1
Fixed bug #26878 (problem with multiple references to the same variable
...
with different types).
2004-01-13 23:11:31 +00:00
Andrey Hristov
4b2a32b701
fixing test
2004-01-11 11:55:33 +00:00
Andrey Hristov
9ca6b7448d
fixing tests after last Derick's commit that changed the behaviour of
...
var_export() :)
2004-01-10 23:38:45 +00:00
Ilia Alshanetsky
2736c55e3e
Fixed bug #26847 (memory leak in mail() when to/subject contain only spaces)
2004-01-09 01:35:44 +00:00
foobar
4293b03948
touch generated files
2004-01-08 19:17:50 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Zeev Suraski
215c3275de
Fix C++ style declaration
2004-01-06 20:38:00 +00:00
Ilia Alshanetsky
d4c19ed2d2
Fixed bug #26819 (http_build_query() crashes on NULL output).
...
Fixed bug #26817 (http_build_query() does not handle private & protected
object properties correctly).
2004-01-06 20:07:07 +00:00
Ilia Alshanetsky
d2b89ae32b
Revert proto 'fix'.
2004-01-06 15:45:52 +00:00
Ilia Alshanetsky
10889a3084
Proto fixes.
2004-01-06 03:55:57 +00:00
Moriyoshi Koizumi
27f47eb173
"seq" isn't available for all platforms.
2004-01-04 03:06:11 +00:00