Commit Graph

6571 Commits

Author SHA1 Message Date
Dmitry Stogov
d3e3c4e666 Fixed bug #47664 (get_class returns NULL instead of FALSE) 2009-03-16 09:52:26 +00:00
Brian Shire
b9a54927b4 Fix scanner handling of NULL values in heredoc, nowdoc, strings, comments, and non-parsed content. 2009-03-16 01:40:01 +00:00
Brian Shire
b7ff76c6da Add proper EOF handling for language scanner. Fixes bug #46817. Removes dos newlines from a previous commit. 2009-03-11 22:11:41 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Kalle Sommer Nielsen
caf1a0686b Fix tests 2009-03-08 06:19:40 +00:00
Kalle Sommer Nielsen
3980b634fd Fixed bug #47546 (Default value for limit parameter in explode is 0, not -1) 2009-03-03 11:46:20 +00:00
Felipe Pena
c8a0d5b741 - New test 2009-02-18 22:53:44 +00:00
Felipe Pena
87a3fbe716 - Fixed bug #47443 (metaphone('scratch') returns wrong result) 2009-02-18 22:33:22 +00:00
Zoe Slattery
ef44fefd30 Increased the sleep() from 1 to 5 to prevent intermittent failures 2009-02-17 15:13:20 +00:00
Zoe Slattery
d4c3c93a26 bug 46680 2009-02-17 10:34:10 +00:00
Zoe Slattery
150db492f6 fix tests 2009-02-16 20:08:02 +00:00
Zoe Slattery
d1b12c9a30 exit -1 and exit -2 don't work for all sh. changed to exit 1 2009-02-16 13:15:49 +00:00
Antony Dovgal
0efa5b6d79 fix test 2009-02-15 21:48:07 +00:00
Moriyoshi Koizumi
1e2ad13cfc - Fix tests. 2009-02-15 07:04:59 +00:00
Zoe Slattery
3efea3ac4c splitting array_chunk into smaller tests 2009-02-14 10:29:22 +00:00
Moriyoshi Koizumi
76072c674a - These should be E_WARNING for consistency with strpos() 2009-02-14 06:59:36 +00:00
Andrei Zmievski
b7d4fa920e Revert bogus fix for #47370. 2009-02-13 22:35:18 +00:00
Moriyoshi Koizumi
6db49f953a * Fix bug #47370 (BC breakage of array_unique()) 2009-02-12 18:29:15 +00:00
Dmitry Stogov
85a3b81fb2 Fixed bug #47329 (Crash in garbage collector) 2009-02-09 10:47:19 +00:00
Antony Dovgal
0ba8f49faf fix unicode implementation 2009-02-06 14:38:18 +00:00
Felipe Pena
47114aaa8b - Improve test 2009-02-06 10:40:16 +00:00
Felipe Pena
b72183b595 - New test 2009-02-06 10:18:40 +00:00
Felipe Pena
9054c069b3 - Fixed bug #47322 (sscanf %d does't work) 2009-02-06 10:17:51 +00:00
Nuno Lopes
8e2aa6f979 MFB: fix #46347 2009-02-02 19:25:30 +00:00
andy wharmby
32ea850bde New set_magic_quotes() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:29:29 +00:00
andy wharmby
cf39017ced New php_uname() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:17:46 +00:00
andy wharmby
3a400e979a New get_defined_vars(), get_included_files(), get_magic_quotes() and getmypid() tests. Tested on Winows, Linux and Linux 64 2009-02-01 18:55:24 +00:00
andy wharmby
d1980d9c57 New escapeshellarg() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:39:47 +00:00
andy wharmby
054f6e1075 New floatval() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:32:38 +00:00
andy wharmby
5e6736ac7a Split-ip var_export.phpt and add new error tests. Tested on Windows, Linux and Linux 64 bit 2009-01-26 22:27:06 +00:00
Antony Dovgal
0c6969bfd8 use example.com instead of real domain name 2009-01-25 23:26:30 +00:00
andy wharmby
5d1abfce5c Split is_callable test. Test on Windows, Linux and Linux 64 bit 2009-01-25 22:16:37 +00:00
Ilia Alshanetsky
7264697c34 MFB: Improved fix for bug #47174 & added a test 2009-01-25 18:27:58 +00:00
Zoe Slattery
ecda7b7f77 added INI settings 2009-01-25 11:03:15 +00:00
Antony Dovgal
3d1df9ad31 expect -> expectf 2009-01-24 22:02:13 +00:00
Antony Dovgal
7c6c3a835b fix test 2009-01-24 22:01:24 +00:00
andy wharmby
9fd66a6a57 New get_extension_funcs() and getrusage() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-24 12:47:36 +00:00
andy wharmby
555ff7b176 Make test more robust; avoid hangs if fsockopen() fails. Tested on Windows, Linux and Linux 64 bit 2009-01-23 23:49:40 +00:00
Dave Kelsey
9367eac046 deleted invalid test. 2009-01-23 18:56:55 +00:00
Dave Kelsey
0fe72d9026 added some mail tests. Tested on windows, linux and linux 64bit 2009-01-23 17:12:15 +00:00
Kalle Sommer Nielsen
6776d26fdc Windows support for stream_socket_pair(), by moving the socketpair() implementation from ext/sockets to win32/ 2009-01-23 15:48:58 +00:00
Dave Kelsey
8a81441f6a various network tests. tested on windows, linux, linux 64 bit 2009-01-23 15:34:26 +00:00
andy wharmby
976fe83053 Fix names of new image files. 2009-01-23 11:18:37 +00:00
Zoe Slattery
63276d0402 fix tests 2009-01-23 09:41:48 +00:00
Zoe Slattery
d189ffac79 fix tests 2009-01-23 09:21:25 +00:00
andy wharmby
fcce538d82 New image tests. Tested on WIndows, Linux and Linux 64 bit 2009-01-22 22:59:58 +00:00
Zoe Slattery
3234eeda67 fixed tests 2009-01-22 22:01:04 +00:00
Zoe Slattery
d504b65dd8 Fixed test 2009-01-22 20:51:54 +00:00
Dave Kelsey
e22a0e3daf fstat tests. tested on windows, linux and linux 64 bit 2009-01-22 20:49:48 +00:00
Dmitry Stogov
494f56c870 Fixed realpath() behavior to support "c:dir" as "c:\dir", and "\dir" on UNC CWD 2009-01-21 19:11:50 +00:00
Ilia Alshanetsky
c706c84c7f MFB: Fixed bug #47174 (base64_decode() interprets pad char in mid string as
terminator)
2009-01-21 15:45:45 +00:00
andy wharmby
ff9642d482 Fix SKIPIF logic 2009-01-20 23:19:47 +00:00
andy wharmby
0ce35ae860 New stripcslashes() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 22:54:39 +00:00
Ilia Alshanetsky
22839f881e MFB: Added an E_NOTICE when precision value is truncated 2009-01-20 18:03:33 +00:00
andy wharmby
9c2283fe02 New vfprintf() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 14:19:40 +00:00
Dmitry Stogov
b5c6e15ab8 Removed wrong warning message 2009-01-20 13:22:26 +00:00
Dmitry Stogov
2c2ba5c2c3 Fixed bug #47165 (Possible memory corruption when passing return value by reference) 2009-01-20 11:23:04 +00:00
Pierre Joye
a351279a2f - MFB
- [DOC] add support for fnmatch() on Windows
 - enable tests (pass)
2009-01-20 01:41:19 +00:00
andy wharmby
4fb370c1ff New substr_replace() and unpack() error tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 17:13:17 +00:00
Zoe Slattery
d03ca98d06 fixing the test to expect PHP6 and PHP53 behaviour 2009-01-19 16:15:17 +00:00
andy wharmby
2c593dd95c New vprintf() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 16:03:40 +00:00
andy wharmby
ce85cecb55 New strval() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 15:54:45 +00:00
andy wharmby
8be7bef0a6 New tests for str_pad(), str_shuffle(), stristr() and strlen(). Tested on WIndows, Linux and Linux 64 bit 2009-01-19 15:46:36 +00:00
Antony Dovgal
9ea96c467a fix memleaks in sscanf() 2009-01-19 09:52:14 +00:00
Pierre Joye
0eee659e5a - include php win32's time.h 2009-01-19 02:31:18 +00:00
andy wharmby
be123b0de8 New nl_langinfo(), number_format() and ord() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 22:51:00 +00:00
andy wharmby
310cc4c912 New hebrev() and hebrevc() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 21:59:36 +00:00
andy wharmby
ef6e2c572e New sha1f() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 19:37:43 +00:00
andy wharmby
4786d297ad New sscanf() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:40:25 +00:00
andy wharmby
5235b762e3 New explode() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:34:15 +00:00
andy wharmby
364cf9ae6b New money_format() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 22:52:12 +00:00
Felipe Pena
37a953d466 - Removed XFAIL 2009-01-17 20:42:05 +00:00
Felipe Pena
ca0451c6f9 - Fixed bug #47102 (strripos issues unexpected warning with UNICODE haystack) (Noticed by Andy Wharmby) 2009-01-17 20:36:22 +00:00
Felipe Pena
fd175c9940 - Fixed test 2009-01-17 18:29:17 +00:00
andy wharmby
5fee85753e New trim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 16:40:56 +00:00
andy wharmby
b893cd4b8a New ltrim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 15:47:47 +00:00
Stanislav Malyshev
ba488431f6 build IDs 2009-01-17 02:07:46 +00:00
andy wharmby
98e72a7000 New string tests. Tested on Windows, Linux and Linu 64 bit 2009-01-16 22:45:54 +00:00
Pierre Joye
9ae9f8718c - MFB: fix VC6 build 2009-01-16 15:35:50 +00:00
andy wharmby
32b293cd9c New string function tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-16 12:53:07 +00:00
Pierre Joye
4b9ddc9403 - symlink, hardlink & co support (2/2) & (3/3) 2009-01-16 10:04:29 +00:00
andy wharmby
16c2f5bdff New test for strripos() string function. 3 test fail on PHP6 until #47102 fixed and have XFAIL sections. All tests checked on Windows, Linux and Linux 64 bit. 2009-01-15 13:39:29 +00:00
andy wharmby
a3064e1140 Fixed base64_decode variation tests and new base64_encode test. Tested on Windows, Linux and Linux64 bit 2009-01-14 14:38:29 +00:00
Ilia Alshanetsky
77cbc325f5 MFB:Fixed a bug inside mail() logging code that prevents log file from
existing outside of open_basedir
2009-01-13 21:29:45 +00:00
andy wharmby
5cc4833a95 Fix test. Tested on Windows, Linux and Linux 64 bit 2009-01-13 18:51:24 +00:00
andy wharmby
0fa10114df New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 17:56:09 +00:00
andy wharmby
def5c80e77 Fix Windows tests after #47037 2009-01-12 15:58:41 +00:00
Felipe Pena
a5e405424e - Reverted my previous commit to avoid unnecessary BC.
[DOC] Added new entry to the array returned by dns_get_record(), 'entries', which contains the separated value from TXT value. (so 'txt' kept the concatenated version) (Pierre)

- Unicode++ (Felipe)
2009-01-12 14:53:03 +00:00
andy wharmby
edbf382fcc New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 14:30:30 +00:00
Scott MacVicar
4c66135f5b MFB Add support for the older style bind 8 functions, this adds support for OS X to use all of the dns_* functions. 2009-01-11 23:47:52 +00:00
Felipe Pena
371cecee32 - Improved fix for #47035 (win32 part by Henrique M. Decaria)
[DOC] The TXT part needs be returned as an array of strings.
2009-01-11 18:38:00 +00:00
Antony Dovgal
8763cf64c8 cleanup garbage 2009-01-09 23:16:41 +00:00
Antony Dovgal
ae66becc2b use temp var instead of wrong typecast 2009-01-09 22:50:45 +00:00
Antony Dovgal
fe5b155288 change functions to be consistent between branches 2009-01-09 18:23:45 +00:00
Antony Dovgal
ae6b1d2216 fix ZTS build 2009-01-09 16:33:57 +00:00
Ilia Alshanetsky
968e7af6cf MFB: Added mail logging functionality that allows logging of mail sent via
mail() function
2009-01-09 15:00:36 +00:00
Antony Dovgal
5e51b9529e fix test
use bigger file to be able to see the difference
2009-01-08 21:53:36 +00:00
andy wharmby
685a81b895 New PHPT tests for math functions. Tested on Windows, Linux and Linux 64 bit. 2009-01-08 21:18:37 +00:00
Felipe Pena
2aae851d58 - Fixed tests 2009-01-08 18:46:55 +00:00
Arnaud Le Blanc
6bc39dc96c Fix memleak when a user filter appends a bucket and returns != PSFS_PASS_ON
Improved tests
2009-01-08 18:39:04 +00:00
Felipe Pena
6e860e51d4 - Fixed bug #47035 (dns_get_record returns a garbage byte at the end of a TXT record) 2009-01-08 17:19:08 +00:00
Arnaud Le Blanc
b8708d43f6 Fixed error conditions handling in stream_filter_append() 2009-01-08 17:01:11 +00:00
andy wharmby
4aa3d06632 Fix bogus file tests - addresses 2 failures in PHP GCOV reports. Tested on Windows, Linux and Linux 64 bit 2009-01-08 10:39:50 +00:00
Antony Dovgal
d36dc698dd fix test 2009-01-07 21:23:01 +00:00
Felipe Pena
d540516e1c - Fixed test 2009-01-07 20:32:35 +00:00
Derick Rethans
c1dec4858c - Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject). 2009-01-07 14:35:50 +00:00
Pierre Joye
697931b765 - MFB: declaration and impl match 2009-01-07 13:03:37 +00:00
Pierre Joye
10367ae921 - fix parameter parsing options 2009-01-07 12:59:17 +00:00
Pierre Joye
2dcc8c0393 - MFB: sanity check if we got an A as well (valid too but not desired) 2009-01-07 01:37:01 +00:00
Pierre Joye
34b620d2ff - MFB: fix build for win 2009-01-06 23:51:03 +00:00
Pierre Joye
bc11374533 - [DOC] MFB: VC6 does not have NAPTR 2009-01-06 23:50:30 +00:00
Pierre Joye
91d37ce8f0 - MFB: fix build 2009-01-06 22:00:23 +00:00
Pierre Joye
7844cc3873 - [DOC] add support for all DNS function on Windows
- dns_check_record  (and its alias  checkdnsrr)
  - dns_get_record
   - IPV6 specific info not available yet:
     . AAAA info is available only on vista/2k8 for now
     . A6 info is not available
  - dns_get_mx (and its alias getmxrr)
2009-01-06 20:44:56 +00:00
Felipe Pena
aa6580c0ac - Fixed tests 2009-01-05 19:04:27 +00:00
Felipe Pena
d23d2f358c - Fixed tests 2009-01-05 17:53:53 +00:00
Antony Dovgal
9a76d75803 fix test 2009-01-04 15:21:39 +00:00
Antony Dovgal
3a5b44944f capitalize 2009-01-04 15:19:49 +00:00
Zoe Slattery
3385d8bda0 removing xfail sections as test passes 2008-12-31 20:43:52 +00:00
Antony Dovgal
4c0a9448a9 don't use WRONG_PARAM_COUNT with new param parsing API 2008-12-31 15:48:06 +00:00
Ilia Alshanetsky
15aada4fa2 MFB: Added gethostname() to return the current system host name. 2008-12-31 14:33:41 +00:00
Marcus Boerger
7ce0476dc7 - Fix info output 2008-12-31 13:48:59 +00:00
Marcus Boerger
b83340a8c7 - Do not show core ini entries twice 2008-12-31 12:52:28 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Ant Phillips
c5417157fa Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-31 10:36:13 +00:00
Marcus Boerger
27b684b234 MFB 2008-12-30 19:13:25 +00:00
Marcus Boerger
a4cd3369a4 - Show version and ini entries as default module info. 2008-12-30 19:10:22 +00:00
Ant Phillips
4d3f948495 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-30 16:38:17 +00:00
Felipe Pena
b774947920 - Added missing check for void param. (patch by Kalle) 2008-12-30 12:48:00 +00:00
Felipe Pena
7f74e97e3e - Unicodify (#46687) 2008-12-28 20:16:48 +00:00
Brian Shire
d6a1c7a674 fix explode behavior to respect negative limit when string is empty. 2008-12-27 05:13:30 +00:00
Arnaud Le Blanc
3b0cd9f644 Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists) 2008-12-27 03:06:16 +00:00
Lars Strojny
d2520327a2 Adding test for stream_resolve_include_path() 2008-12-20 16:23:37 +00:00
Etienne Kneuss
b884dddbbf Fix #46636 (segfault in SplFileinfo::fgetcsv()) 2008-12-20 00:51:00 +00:00
Arnaud Le Blanc
c00195e6b5 Fixed test 2008-12-18 16:04:38 +00:00
Steve Seear
433d52facc call_user_func_array() tests 2008-12-15 14:11:35 +00:00
Zoe Slattery
e028ad839f fixed test 2008-12-15 13:16:35 +00:00
Lars Strojny
7611a5d984 MFB: If a wrapper could not be found it is either a typo or a configuration issue. But in both cases it is critical enough to warn the user. [DOC] (?) 2008-12-14 16:27:30 +00:00
Andrei Zmievski
540131adcb Add sort flags parameter to array_unique(). 2008-12-12 19:19:04 +00:00
Hannes Magnusson
effa82043b Fixed bug#46681 (mkdir() fails silently on PHP 5.3) 2008-12-12 12:40:58 +00:00
Pierre Joye
fcbf68fb8c - late MFB (sry): fix VC6 build 2008-12-12 10:33:05 +00:00
Antony Dovgal
475b6bd043 fix test 2008-12-09 14:49:12 +00:00
Hannes Magnusson
0ff6d5f45b MFB5.3: Fix test 2008-12-09 12:56:39 +00:00
Jani Taskinen
001a66ac7c - cat, tail, lift :) 2008-12-09 10:53:29 +00:00
Hannes Magnusson
70bb87687d MFB: Add test for runtime tightening of open_basedir 2008-12-09 10:21:27 +00:00
Stanislav Malyshev
db4f96f255 improve windows version detection 2008-12-08 07:33:41 +00:00
Ant Phillips
4021b612bf Remove duff comment produced by the test generator tool 2008-12-05 14:18:00 +00:00
Ant Phillips
8c0a7983db Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 14:11:03 +00:00
Stanislav Malyshev
b75a707ab1 fix test 2008-12-04 20:22:12 +00:00
Johannes Schlüter
67115cdf6a One more cleanup after running tests 2008-12-03 20:30:35 +00:00
Ant Phillips
95c78609ef Put bug number in the XFAIL section for cross referencing 2008-12-03 12:39:54 +00:00
Johannes Schlüter
3d338dc43b Update credits 2008-12-03 11:44:46 +00:00
Johannes Schlüter
6a270c3bf8 Cleanup after running the tests ... 2008-12-03 11:27:11 +00:00
Christian Seiler
2836cce10b - Implemented http://wiki.php.net/rfc/rounding 2008-12-02 16:25:06 +00:00
Ant Phillips
ba7bc0ace4 Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-02 13:29:17 +00:00
Iain Lewis
f27f49cf96 Adding tests for array_multisort 2008-12-01 17:10:14 +00:00
Stanislav Malyshev
3143bd3bf1 MFB: init BG(page_uid) and BG(page_gid) 2008-11-29 00:47:51 +00:00
Ant Phillips
0920ed8861 Directory tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-27 14:49:14 +00:00
Ant Phillips
977a9400fe File system tests: checked on PHP 6.0 latest snap (Windows, Linux and Linux 64 bit) - there are quite a large number of failing test cases (all marked with an XFAIL section), they wiill have bugs raised to cover the issues real soon now... 2008-11-26 17:48:41 +00:00
Arnaud Le Blanc
c8f24ea5bd Fixed bug #46673 (stream_lock call with wrong paramater) 2008-11-26 04:18:24 +00:00
Arnaud Le Blanc
181c08a32a Missed file from commit for #44181 & #44182 2008-11-26 04:08:07 +00:00
Arnaud Le Blanc
eef1ad9ddf [DOC] Added ENT_IGNORE as a compatibility flag for htmlentities() and
htmlspecialchars() to skip multibyte sequences intead of returning an
empty string (as iconv's //IGNORE). These functions will still never
return an invalid or incomplete multibyte sequence.
Example: htmlspecialchars("...", ENT_QUOTES | ENT_COMPAT, "utf-8");
2008-11-26 02:57:32 +00:00
Arnaud Le Blanc
763a92d7e0 MFB 5.2 2008-11-26 02:43:43 +00:00
Arnaud Le Blanc
9891ad135f Fixed bug #42473 (ob_start php://output and headers) 2008-11-26 01:20:10 +00:00
Arnaud Le Blanc
1064f9721b Fixed bugs #44181 & #44182 (extract() and references)
(robin_fernandes at uk dot ibm dot com)
2008-11-26 00:59:13 +00:00
Arnaud Le Blanc
a8405af732 *** empty log message *** 2008-11-24 19:31:02 +00:00
Stanislav Malyshev
3da4e38bdf MFB: restore BC for arrays 2008-11-24 19:24:09 +00:00
Arnaud Le Blanc
77fed72461 Fixed bug #44075 (strtok misbehaving on unicode string) 2008-11-24 19:21:20 +00:00
Arnaud Le Blanc
7161dcc35b Fixed some conditional jumps depending on uninitialised value 2008-11-24 19:16:51 +00:00
Iain Lewis
e512037ced Adding some tests for array_product 2008-11-24 17:36:44 +00:00
Felipe Pena
3b06b39d54 - Fixed bug #46578 (strip_tags() does not honor end-of-comment when it encounters a single quote) 2008-11-21 19:14:47 +00:00
Felipe Pena
12c2d80194 - Fixed tests 2008-11-19 16:59:17 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Arnaud Le Blanc
e1fcaeef9d Added stream_cast() and stream_set_options() to user-space stream
wrappers, allowing stream_select(), stream_set_blocking(),
stream_set_timeout() and stream_set_write_buffer() to work with user-space
stream wrappers.
Will document.
2008-11-15 12:50:17 +00:00
Arnaud Le Blanc
97c13507db Fix proto line 2008-11-14 06:00:33 +00:00
Stanislav Malyshev
01deabb5cd MFB - Add error_log option to log directly to SAPI 2008-11-13 18:51:21 +00:00
Arnaud Le Blanc
047870a61f MFB: Added header_remove() (chsc at peytz dotdk, Arnaud) 2008-11-13 10:33:08 +00:00
Arnaud Le Blanc
f24bc6f421 Added stream_context_get_params()
[DOC] proto bool stream_context_get_params(resource context|stream)
      Get parameters of a file context (parameters set by
      stream_context_set_params())
2008-11-13 05:46:51 +00:00
Arnaud Le Blanc
fc938b54c7 Fixed stream_get_contents() when using $maxlength and socket is not
closed. indeyets@php.net on #46049.
2008-11-11 01:55:19 +00:00
Arnaud Le Blanc
dec12b2549 Fixed bug #44818 (php://memory writeable when opened read only) 2008-11-11 00:44:36 +00:00
Arnaud Le Blanc
2fe765b5f4 Fixed bug #45585 (fread() return value for EOF inconsistent
between PHP 5 and 6)
2008-11-11 00:40:05 +00:00
Arnaud Le Blanc
c0039b30be Added parse_ini_string() function (grange at lemonde dot fr, Arnaud)
[DOC] new function parse_ini_string()
      proto array parse_ini_string(string ini_string
          [, bool process_sections [, int scanner_mode]])
      Same as parse_ini_file() except that it takes a string instead of a
      filename.
2008-11-05 21:33:19 +00:00
Kalle Sommer Nielsen
bc64ccf1d0 New tests for syslog 2008-11-05 09:58:15 +00:00
Arnaud Le Blanc
0036a09ebe Open STDIN and php://stdin streams with the relevant
wrapper when the file descriptor is a socket (inetd, etc)
Fixes bug #43731
2008-11-04 21:04:28 +00:00
Arnaud Le Blanc
2e32876eaa Fixed stream_get_line() to behave as documented on non-blocking streams 2008-11-04 17:05:17 +00:00
Arnaud Le Blanc
0bb5310a63 Avoids fclose() from complaining that stream_socket_pair() streams
have not been closed
2008-11-04 16:45:42 +00:00
Arnaud Le Blanc
8e6f8fc4dc Fixed bug #46024 (stream_select() doesn't return the correct number) 2008-11-04 00:42:19 +00:00
Arnaud Le Blanc
611d72ad2a cleanup 2008-11-03 23:34:17 +00:00
Arnaud Le Blanc
fc62c1ff0a Fixed bug #44607 (stream_get_line unable to correctly identify the
"ending" in the stream content)
2008-11-03 23:28:45 +00:00
Arnaud Le Blanc
c4c2308fec Fixed bug #45303 (Opening php:// wrapper in append mode results
in a warning)
2008-11-03 16:58:28 +00:00
Arnaud Le Blanc
0bed5602ee Fixed bug #43353 (wrong detection of 'data' wrapper causes notice) 2008-11-03 15:47:05 +00:00
Felipe Pena
46096f5c9d - Fixed bug #42855 (dns_get_record() doesn't return all text from TXT record)
patch by: misc at e2007 dot cynergi dot com
2008-11-03 11:33:32 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
3efabcf22c - New test 2008-11-02 18:20:57 +00:00
Felipe Pena
8bf0a4f64b - New test 2008-10-30 15:50:33 +00:00
Felipe Pena
7b359fa53a - Improved test 2008-10-30 14:31:01 +00:00
Felipe Pena
18467f71d1 - Fix the fix (thanks Hannes!) 2008-10-30 14:30:02 +00:00
Felipe Pena
d140cd1f0b - Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0") 2008-10-30 10:08:01 +00:00
Felix De Vliegher
bf1f64467d Fix typo. 2008-10-29 21:43:30 +00:00
Ilia Alshanetsky
7307d3783b MFB: Fixed bug #42294 (Unified solution for round() based on C99 round). 2008-10-29 20:17:43 +00:00
Sanjay Mantoor
2b1b26bf6d New testcases for array_intersect_uassoc function 2008-10-28 10:21:12 +00:00