Commit Graph

3421 Commits

Author SHA1 Message Date
Ilia Alshanetsky
6f2df21136 Fixed bug #24909 (Bad random numbers with ZTS builds on Solaris) 2003-08-08 13:34:38 +00:00
Sara Golemon
1a0bd6e903 Plug leak in ftp_url_stat 2003-08-08 06:18:25 +00:00
Moriyoshi Koizumi
12ac36ca8d Move shutdown code to better place 2003-08-07 19:53:31 +00:00
Moriyoshi Koizumi
3bf0b26218 Tru64 requires TZ values be POSIX styled.
# See http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN3/0247____.HTM for detail.
2003-08-07 17:46:18 +00:00
Zeev Suraski
522bcba0a8 Fix docline 2003-08-07 15:51:05 +00:00
Ilia Alshanetsky
e06311c091 Fixed bug #24839 (& -> & in php credits) 2003-08-07 15:41:24 +00:00
Ilia Alshanetsky
02e0e08958 Fixed bug #18291 (escapeshellcmd() can now handle quoted arguments). 2003-08-05 20:15:53 +00:00
foobar
6d6ac93241 - Fixed bug #21611 (version_compare() does not support "p" suffix) 2003-08-05 12:34:31 +00:00
Moriyoshi Koizumi
0ff21d0370 putenv() should be put here as well. 2003-08-05 12:29:26 +00:00
Zeev Suraski
90b29aa076 Replace fast_call_user_function() with zend_call_function() 2003-08-05 10:29:03 +00:00
Stanislav Malyshev
97c2522128 syncronize 2003-08-05 09:23:17 +00:00
Stanislav Malyshev
d113d32314 Don't try to __sleep incomplete classes 2003-08-05 09:19:38 +00:00
Stanislav Malyshev
53bbeedc89 don't try to wakeup incomplete classes 2003-08-05 09:15:31 +00:00
Stanislav Malyshev
f9bc33e78f pass trsm via parameters 2003-08-05 09:07:49 +00:00
Stanislav Malyshev
6afa320667 fix incomplete class for ZE2 2003-08-05 09:06:02 +00:00
Zeev Suraski
2547b6f6f6 Fix bug #24652 - Sterling, do you begin to think that maybe it wasn't such
a good idea?
2003-08-04 08:38:24 +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
Ilia Alshanetsky
4d98e9ec97 Finalize the closing process of persistent streams. The current
behavior/API is as follows:

1) To close a persistent use php_stream_pclose(), it will close the stream
and remove it from the persistent list.

2) Inside PHP code only explicit fclose() will close persistent streams,
all other actions such as unset() or assigning a value to stream handle
will not.

3) Regular streams can still be closed by either fclose(), unset() or an
assignment of a value to the stream handler.
2003-07-29 18:26:34 +00:00
Ilia Alshanetsky
abe2afcf6e Make pclose() respect references. 2003-07-28 14:42:42 +00:00
foobar
082f49a27b Fixed bug #24839 (missing </div>) 2003-07-28 10:44:19 +00:00
Ilia Alshanetsky
f9cf39bd30 Fixed bug #13142 (strtotime not handling "M d H:i:s Y" format) 2003-07-28 04:01:32 +00:00
Ilia Alshanetsky
cd4a281364 Fixed bug #24557 (make fclose() respect refcount on the resource). 2003-07-27 18:45:02 +00:00
Ilia Alshanetsky
ee3e4f79df Removed unused variable. 2003-07-25 03:03:26 +00:00
Sara Golemon
3caa0d0aa9 Fix Bug#24784 single character search keys not respecting case sensitivity/replace count parameters. 2003-07-25 01:03:39 +00:00
foobar
d8e5bd97c1 fix the test 2003-07-24 10:37:57 +00:00
foobar
760fe8e923 test for bug #14580 (key() not binary safe) 2003-07-24 10:13:17 +00:00
Zeev Suraski
0fe21a3a29 Fix bug #19613 2003-07-24 08:02:08 +00:00
Ilia Alshanetsky
0bd1e86d4c Fixed GLOB_ONLYDIR to work on GNU libc based system. 2003-07-23 21:41:44 +00:00
Zeev Suraski
0a49c033d0 - Use the new infrastructure of zend_symtable_*() (fixes bug #24565)
- Fix bogus use of get_current_key()
2003-07-22 16:08:50 +00:00
Jason Greene
7eea6525a7 Fix EINVAL errors for OS's (Solaris + BSD) that do not appreciate microseconds >= 1 second
Patch submitted from meebery@php.net
2003-07-22 07:20:55 +00:00
Ilia Alshanetsky
7825a1864c Fixed bug #24560 (parse_url() incorrectly handling certain file:// based
schemas).
2003-07-21 13:36:23 +00:00
Hartmut Holzgraefe
b0a4e1a2d2 whitespace 2003-07-15 17:28:41 +00:00
Hartmut Holzgraefe
2f5a3b4c63 #1 $_ENV is not always set, use getenv() instead
#2 bail out after 1000 loop iterations to avoid hanging tests
2003-07-15 16:55:44 +00:00
foobar
94a19d1bc6 Make this test work regardless of safe_mode setting (bug #24654) 2003-07-15 07:06:42 +00:00
Harrie Hazewinkel
83063e7445 Updating the SNMP credits in ext/standard/credits_ext.h 2003-07-14 18:59:18 +00:00
foobar
e209272db1 CS & WS fixes 2003-07-14 16:23:14 +00:00
Moriyoshi Koizumi
d33ffb78aa Added regression test for proc_open() 2003-07-13 08:03:46 +00:00
Moriyoshi Koizumi
4b07cb98b1 Fixed bug #24556 2003-07-12 09:33:31 +00:00
Moriyoshi Koizumi
4c8230696c Add folding markers 2003-07-12 07:01:30 +00:00
Moriyoshi Koizumi
77ae01ac72 Oops, this is not needed though. 2003-07-12 06:54:03 +00:00
Moriyoshi Koizumi
cd52986a5c Fixed leaks that occurs if the third parameter already contains a valid value. 2003-07-12 06:50:32 +00:00
foobar
5afd8cbf07 update credits. 2003-07-11 07:44:56 +00:00
foobar
a952a4383a fix typo (most likely fixes #24533 too) 2003-07-08 14:46:32 +00:00
Hartmut Holzgraefe
de6a6ed6d7 skip test if glob() is not available at all 2003-07-04 15:07:11 +00:00
Hartmut Holzgraefe
3c34e4edaf regression test for #24482 GLOB_ONLYDIR is not working (on BSD) 2003-07-04 14:38:07 +00:00
Hartmut Holzgraefe
f49b1d2da0 make sure operator precedence is not playing tricks on us
(it worked before on gcc3.2/Linux and with VC++ 6, but not
 with gcc3.1/MacOSX)
2003-07-04 13:24:47 +00:00
Hartmut Holzgraefe
00fbf2af67 VCWD awareness and (hopefully) windows compile fix 2003-07-03 14:54:03 +00:00
Hartmut Holzgraefe
a7edbe04ad PHP glob() will now emulate GLOB_ONLYDIR on non-GNU systems 2003-07-03 14:34:02 +00:00
Moriyoshi Koizumi
181508a837 s/cvs/csv/ 2003-07-02 17:07:56 +00:00
Moriyoshi Koizumi
1379c46d9e Fixed a leak that occurs with "R" reference variable specifier. 2003-07-02 16:19:57 +00:00
Moriyoshi Koizumi
ed033faaec s/cvs/csv/ :) 2003-07-02 15:43:44 +00:00
Ilia Alshanetsky
4634554976 Fix up test 2003-07-01 03:11:09 +00:00
Shane Caraveo
d6ee8bab7f fix a crash I run into on occasion 2003-06-30 20:31:57 +00:00
Sterling Hughes
f6d84a10ea set precision properly.. test passes here 2003-06-30 20:03:17 +00:00
Sterling Hughes
223584a138 this is the correct result 2003-06-30 19:50:18 +00:00
Rasmus Lerdorf
832ffd1970 Fix 3 tests that didn't adequately specify the .ini settings they rely on 2003-06-30 18:22:53 +00:00
foobar
8dca948cf9 - Moved the PEAR check after the extensions.
. added checks for the dependancies PEAR has.
- Moved PHP_REGEX checks to ext/standard/config.m4

# If someone knows the reason for PHP_REGEX macro being where it was,
# please tell..
2003-06-30 16:33:50 +00:00
Ilia Alshanetsky
8cb5c9c6ba Fixed bug #24063 (*printf() did not handle scientific notation correctly) 2003-06-30 01:03:21 +00:00
Ilia Alshanetsky
a6fd611c5e Added array handling to file_put_contents()
More verbose error reporting mechanism.
Test case for file_put_contents().
2003-06-28 20:06:13 +00:00
Ilia Alshanetsky
9e53c34ad3 Fixed test failure on systems with short_tags (<?) off. 2003-06-28 17:36:46 +00:00
Wez Furlong
5ecc91c27d Merge selectable descriptor casting from PHP_4_3 branch. 2003-06-28 11:24:47 +00:00
Derick Rethans
f2acb42223 - Return number of bytes written instead of just TRUE. (Path by Paul Hudson,
hudzilla@php.net)
2003-06-28 08:21:02 +00:00
Sebastian Bergmann
67400949f2 Remove aggregation tests as well. 2003-06-28 05:51:37 +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
2e4ef86e10 MFB
Plug leak in context notifiers, implement notifier->dtor
2003-06-27 16:23:58 +00:00
Sterling Hughes
747937d1f7 touch the file 2003-06-26 03:53:17 +00:00
Sterling Hughes
a0ae63670a fix by ilia to fix crashes in the session extension when /tmp/sess_* files
previously existed.  make test now passes fully with the session extension.
2003-06-26 03:24:11 +00:00
Sterling Hughes
1ed8e46273 according to the notes in the bugs database, this is the correct result.
this result is also the same one given in 4.3.2 and 5.0
2003-06-26 03:21:45 +00:00
Ilia Alshanetsky
c8ecf7ec3e Fixed bug #24312 (base64_decode() does not skip 0xF0-0xFF characters)
Patch by: gereon.steffens[at]onvista.de
2003-06-24 15:23:17 +00:00
Ilia Alshanetsky
6b5b6079da Fix for bug #24313 (port from dead PHP_5 branch) 2003-06-24 13:56:25 +00:00
Stanislav Malyshev
02bebe8186 add test for #24281 2003-06-23 14:18:33 +00:00
Stanislav Malyshev
baa3892fe1 Fix #24281 - str_replace not updating the count if value is
not initialized
2003-06-23 14:09:14 +00:00
Sara Golemon
4c52cf5f90 When skipping blank searchvals we should advance the corresponding replace hash as well 2003-06-20 15:41:43 +00:00
Sara Golemon
496d17b98d Quiet down decode_context_param when stream (not context) is passed.
Switch stream_socket_*() to use macro for retrieving context from zval.
2003-06-19 22:30:54 +00:00
Ilia Alshanetsky
7ef01f01b9 Reverting previous patch (not necessary, thanks Pollita ;) ) 2003-06-19 21:04:43 +00:00
Ilia Alshanetsky
a370ceb742 Fixed memory leak, when invalid context is specified. 2003-06-19 16:35:17 +00:00
Ilia Alshanetsky
cbfb63c1c4 Fixed possible crashes in streams code 2003-06-19 16:10:54 +00:00
Sascha Schumann
be4947b0e6 Use a smaller default size to accomodate the engine
Submitted by: Stanislav Malyshev, with some massaging by me
2003-06-18 16:15:47 +00:00
Sara Golemon
66881b5f2c Fix compiler warnings 2003-06-18 03:26:29 +00:00
Sara Golemon
897e6a4069 No need to allocate a hashtable when return_value is just going to be overwriten 2003-06-17 18:38:56 +00:00
Ilia Alshanetsky
abe8647eb4 Added a test case for bug #24220 2003-06-17 13:19:20 +00:00
foobar
9aa14246d9 Fixed the expected result 2003-06-16 19:59:27 +00:00
Moriyoshi Koizumi
a3873c986b Added test case for bug #24208 2003-06-16 19:10:12 +00:00
Sara Golemon
2f4e91bf8a optionvalue is being copied via zval_copy_ctor, there's no need to addref the original 2003-06-16 18:19:14 +00:00
Derick Rethans
cd5fd7eed7 - Added test for bug #24142 2003-06-16 17:50:07 +00:00
Ilia Alshanetsky
6057160dbf Fixed bug #24198 (Invalid recursion detection in array_merge_recurcive()) 2003-06-16 17:35:16 +00:00
Edin Kadribasic
6bcf810687 This needs to be exported for dynamic extensions 2003-06-15 23:27:05 +00:00
Marcus Boerger
0137868171 No more namespaces 2003-06-14 22:10:15 +00:00
Marcus Boerger
f304458bdb Fix ZTS mode (hopefully all is working fine now again) 2003-06-14 19:30:42 +00:00
Marcus Boerger
9605db43ed Fix ZTS mode 2003-06-14 17:08:49 +00:00
Sara Golemon
236349f156 User Filters don't need to register a resource list for streams.
That functionality is already exported by the streams API.
2003-06-13 22:25:29 +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
Sara Golemon
82ddb23338 Loosen restrictions on method used with http_fopen_wrapper, still default to GET though. 2003-06-13 19:27:26 +00:00
Andrey Hristov
2d4449caf9 silly bug 2003-06-12 15:11:11 +00:00
Ilia Alshanetsky
b5dc8f918e fixed proto 2003-06-11 02:16:19 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Ilia Alshanetsky
aec7815e9c Fixed bug #24098 (Crash in pathinfo() due to double var initialization).
# This is a php5 specific bug, no MFB needed
2003-06-09 18:12:36 +00:00
foobar
9e71e39fa9 WS 2003-06-06 08:10:02 +00:00
Sterling Hughes
295a1c665c fix array_key_exists() from HANDLE_NUMERIC() changes
# need to go through this file and find any stuff that relies on this
# change
2003-06-05 13:58:14 +00:00