1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Commit Graph

664 Commits

Author SHA1 Message Date
Wez Furlong 73f49c16f4 The fix for the vc7 libc putenv bug is also needed here to avoid a crash. 2004-04-22 14:26:03 +00:00
Andi Gutmans 67502a2e7d - modifyable -> modifiable 2004-04-12 12:22:26 +00:00
Marcus Boerger 53b4597fca Initialize to 0 to prevent valgrind warnings 2004-04-03 09:51:57 +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 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
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 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
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
foobar dde4c166c9 - Make sure srand() / mt_srand() are really called. 2004-01-19 19:01:17 +00:00
Andi Gutmans dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Derick Rethans 6923a16c26 - Fixed var_export() to show public, protected and private modifiers properly.
- Exported (un)mangle_property_name.
2004-01-03 13:51:02 +00:00
Marcus Boerger a84f8156ff Bugfix #25038 (call_user_func issues warning if function throws exception) 2003-12-27 21:10:34 +00:00
Ilia Alshanetsky 1a53f3c5e0 Define INADDR_NONE for systems that don't have it (apparently solaris). 2003-12-22 16:00:52 +00:00
Ilia Alshanetsky c6b04cb48a Check correction (Thanks Andi). 2003-12-19 13:49:59 +00:00
Ilia Alshanetsky c9a9dee298 Fixed bug #26667 (Added safety checks to ip2long()). 2003-12-19 13:33:51 +00:00
Zeev Suraski cb0fe5786e Cleanup 2003-12-14 12:32:35 +00:00
Wez Furlong 40a573445c Work around a bug in putenv() in the VS.Net C run time library (MSVCRT71) where it will double free a string. 2003-12-04 22:38:22 +00:00
Wez Furlong 37f135ceef Add stream_socket_sendto and stream_socket_recvfrom which work very much
like sendto() and recvfrom() syscalls.
2003-11-29 21:46:50 +00:00
Ilia Alshanetsky b03d3fa5b7 Added php_strip_whitespace() and php_check_syntax() functions. 2003-11-24 01:17:27 +00:00
Sara Golemon 0101c27823 New function: headers_list(). Ennumerate headers sent to SAPI engine 2003-11-19 21:10:33 +00:00
Ilia Alshanetsky c53b53f926 Rename nanosleep() to time_nanosleep(). 2003-11-14 22:55:54 +00:00
Ilia Alshanetsky 127ed194b7 Added configure check for nanosleep() availability. 2003-11-12 23:43:46 +00:00
Ilia Alshanetsky 3691ab699c Added nanosleep(), in addition to allowing setting of very short states.
This function is signal safe.
2003-11-12 22:02:37 +00:00
Ilia Alshanetsky 7fe481c9d0 Fixed bug #26176 (Fixed handling of numeric keys in INI files). 2003-11-10 04:12:38 +00:00
Ilia Alshanetsky ab7ee13670 Added substr_compare(). 2003-10-30 00:49:33 +00:00
Ilia Alshanetsky 8f6b374d1d By popular demand renaming uu(encode/decode) to convert_uu(encode/decode). 2003-10-28 04:02:11 +00:00
Ilia Alshanetsky 17b9b2dc85 Added uuencode() & uudecode() functions. 2003-10-27 05:35:41 +00:00
Ilia Alshanetsky 26f7af25ba Fixed bug #25895 (Incorrect detection of safe_mode limited ini options) 2003-10-20 01:59:35 +00:00
Shane Caraveo e5103d764a make file uri's work with streams 2003-10-19 20:04:33 +00:00
Wez Furlong 54d1769653 MFB Fix for #25825 2003-10-15 00:18:53 +00:00
Andrey Hristov 638b940307 New array functions for doing intersection of arrays that are complementary
to array_*diff* family of functions. Namely array_uintersect(), array_uintersect_assoc(),
array_intersect_uassoc() and array_uintersect_uassoc(). Test case is also included.
#docs and news entry later.
2003-10-09 08:10:39 +00:00
Wez Furlong 628afb40b6 Implement stream_get_contents, which is somewhat akin to file_get_contents,
except that it works on an already opened stream.
2003-10-08 10:07:25 +00:00
Stanislav Malyshev e21669502b MF4: allow realpath() for win32 non-ZTS 2003-09-30 09:52:11 +00:00
Andrey Hristov 3579f212df 4 new functions :
array_udiff()
array_udiff_assoc()
array_diff_uassoc()
array_udiff_uassoc()
They work like array_diff() or array_diff_assoc() but callback function(s)
can be used to perform the comparisons. For example array_udiff_uassoc()
expects 2 callbacks are last 2 parameters one is used to compare the values
of the entries in the arrays the second to compare the keys.
Class methods are also valid callbacks. Even when the data that should be
used in the comparison is private or protected then a static method of a
class should be used (this behaviour can be seen in the regression test -
007.phpt).
2003-09-23 17:37:29 +00:00
Sara Golemon e6fbb7baf5 http.h php_http,h rename 2003-09-06 14:52:10 +00:00
Sara Golemon 0be65c49d3 Introducing php_url_encode_hash_ex() internal function
and http_build_query() userspace function.
2003-09-06 00:35:21 +00:00
Ard Biesheuvel 3d6426ee14 Fix use of EXTERN_C macros 2003-09-02 13:34:23 +00:00
Andrey Hristov 367880b2c1 proto fix 2003-08-28 12:18:51 +00:00
Brian France d50e0bf4de Added a parameter to php_setcookie to toggle URL encoding of the cookie data
Added the function setrawcookie that turns off URL encoding of the cookie data
Changed setcookie to turn on the URL encoding of the cookie data
2003-08-20 20:51:10 +00:00
foobar ebec2bb859 Moved the RINIT(crypt) stuff into crypt() itself. 2003-08-11 00:49:19 +00:00
Moriyoshi Koizumi 12ac36ca8d Move shutdown code to better place 2003-08-07 19:53:31 +00:00
Zeev Suraski 90b29aa076 Replace fast_call_user_function() with zend_call_function() 2003-08-05 10:29:03 +00:00
Zeev Suraski 538d58dd5f Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +00:00
Marcus Boerger 54df2e14b4 Use correct macro 2003-08-02 13:49:12 +00:00
Zeev Suraski 0fe21a3a29 Fix bug #19613 2003-07-24 08:02:08 +00:00
Sebastian Bergmann 10ec176f69 Buckle your seatbelt, Dorothy, 'cause Aggregation is going bye-bye. 2003-06-28 05:38:52 +00:00
Sara Golemon 99db19661a Plug leak (context options not freed)
Make contexts auto-registered, ensures userland contexts
and C API contexts are both dealt with on request shutdown.
Also brings contexts in keeping with streams which are already
auto-registered.
2003-06-13 21:33:59 +00:00