1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +02:00
Commit Graph

6244 Commits

Author SHA1 Message Date
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
Felipe Pena 912470c7d8 - Fixed bug #46388 (stream_notification_callback inside of object destroys object variables) 2008-10-26 13:22:00 +00:00
Felipe Pena 7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Felipe Pena 6849171a2d - Removed unnecessary check for array (#46273, noticed by serovov at gmail dot com) 2008-10-24 10:27:54 +00:00
Sanjay Mantoor 4d65d65ce7 New PHP testcases for array_diff_ukey function 2008-10-22 05:51:52 +00:00
Arnaud Le Blanc 5ef7ecafc1 initialize optional vars 2008-10-21 22:06:49 +00:00
Alexey Zakhlestin 374086f172 MFB: skip tests on systems without fnmatch() function (f.e.: old darwin) 2008-10-21 13:38:57 +00:00
Alexey Zakhlestin d8393b570c MFB: these tests work just fine on macos-x 2008-10-21 12:48:37 +00:00
Felipe Pena 4443f9d90f - Revert 2008-10-16 13:04:30 +00:00
Alexey Zakhlestin 2b7351c0e4 MFB: Fixed compilation warnings: tsrm_ls is not used here (anymore?) 2008-10-16 12:21:27 +00:00
Kalle Sommer Nielsen e667c25403 [DOC] Remove define_syslog_variables() and define_syslog_variables ini option 2008-10-15 18:41:18 +00:00
Arnaud Le Blanc d4cb99a976 Fixed #46164 (stream_filter_remove() closes the stream) 2008-10-05 01:40:02 +00:00
Mikko Koppanen 723b88f964 Adds signal handling around popen/pclose in mail.c.
Related information on bugs #8992 and #14032
Original patch by D. Parthey
2008-10-03 13:31:21 +00:00
Antony Dovgal 746aa4485e use HashPosition to prevent race condition in multithreaded env 2008-10-02 08:46:04 +00:00
Scott MacVicar fb3d413bf0 Remove license condition that is no longer required. 2008-10-01 11:01:26 +00:00
Sanjay Mantoor 497e58ebf5 New testcases for array_diff_uassoc() function 2008-09-26 11:57:41 +00:00
Nuno Lopes 2c49010756 MFB: clean some dead code 2008-09-23 15:22:05 +00:00
Antony Dovgal 22802419ba fix segfault with serialize(new __PHP_Incomplete_Class) found by Felipe
add test
2008-09-16 14:36:10 +00:00
Dmitry Stogov f9f69a5373 Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:27 +00:00
Arnaud Le Blanc c2f830ca21 MFB / fix tests 2008-09-14 14:57:26 +00:00
Arnaud Le Blanc 8225d21a2d Fix str len in stripos when $offset argument is given 2008-09-14 14:56:34 +00:00
Arnaud Le Blanc 35fad44b7b Fix leak in fgetc() 2008-09-14 14:55:50 +00:00
Antony Dovgal 63ffff111c fix typo
test before commit!
2008-09-12 10:30:18 +00:00
Felipe Pena a26fab9f6b - Fixed unexpected zval changes 2008-09-12 01:10:56 +00:00
Lars Strojny 7949c4d771 prev()-tests by Iain Lewis <ilewis@uk.ibm.com> 2008-09-11 18:21:24 +00:00
Sanjay Mantoor 5190b089be New testcases for array_intersect_key() function 2008-09-11 10:41:01 +00:00
Stanislav Malyshev 3a55154b6b add some windows-style INI entries to tests 2008-09-11 00:50:08 +00:00
Felipe Pena 1ae8e8b94e - Fixed some wrong format parameters 2008-09-08 01:30:55 +00:00