Commit Graph

1551 Commits

Author SHA1 Message Date
Raghubansh Kumar
fa61cf8a31 New testcases for chunk_split() function 2007-09-29 12:57:06 +00:00
Raghubansh Kumar
272cedd5d2 New testcases for strrchr() function 2007-09-29 09:24:27 +00:00
Raghubansh Kumar
46700e7a47 New testcases for stripos() function 2007-09-29 09:22:42 +00:00
Raghubansh Kumar
03d6500fb0 New testcases for join() function 2007-09-29 09:08:24 +00:00
Raghubansh Kumar
a40e2c843c New testcases for htmlspecialchars_decode() function 2007-09-29 09:03:22 +00:00
Nuno Lopes
f044c95b3c fix expected output 2007-09-28 22:40:23 +00:00
Jani Taskinen
f964370a35 - Added ".htaccess" style user-defined php.ini files support for
CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
  in php.ini. All directives set in these sections will not be able to be
  overridden in user-defined ini-files or during runtime in the specified
  path.

- Improved php.ini handling:
  . Added better error reporting for syntax errors in php.ini files
  . Allowed "ini-variables" to be used almost everywhere ini php.ini files
  . Allowed using alphanumeric/variable indexes in "array" ini options
  . Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
  characters)

@DOC Pierre promised to handle the manual part of this :D
2007-09-28 02:04:28 +00:00
Raghubansh Kumar
ed72c6c50b new testcases for strrev() function 2007-09-26 14:42:15 +00:00
Raghubansh Kumar
38d1ab072f New testcases for crc32() function 2007-09-26 06:11:28 +00:00
Raghubansh Kumar
360f022c1a New testcases for strspn() function 2007-09-22 10:49:49 +00:00
Raghubansh Kumar
8a44a00593 New testcases for strcspn() function 2007-09-22 10:37:46 +00:00
Raghubansh Kumar
53569976d4 New testcases for strtok() function 2007-09-22 07:41:14 +00:00
Raghubansh Kumar
db756ffc96 replaced by array_search_variation1.phpt, hence removed. 2007-09-22 06:57:42 +00:00
Raghubansh Kumar
1c35a6365e update and split of testcases for functions array_search() and in_array() 2007-09-22 06:55:59 +00:00
Antony Dovgal
cd519f058c plug leak on error (coverity issue #405) 2007-09-21 13:50:47 +00:00
Stanislav Malyshev
3a5dc95ae4 add test for dl() with long name 2007-09-20 18:45:03 +00:00
Jani Taskinen
b11587f988 - Fix test descriptions to be in sync 2007-09-20 13:39:04 +00:00
Ilia Alshanetsky
c55bf5fc80 MFB: Fixed test for glob() affected by previous patch 2007-09-20 13:29:22 +00:00
Raghubansh Kumar
adb9c195f5 better output matching/fixes 2007-09-15 07:32:16 +00:00
Raghubansh Kumar
59d3bd8544 New testcase for strncasecmp() 2007-09-14 19:17:08 +00:00
Raghubansh Kumar
78fdb30718 New testcases for chop() 2007-09-14 19:14:52 +00:00
Raghubansh Kumar
35405b401a Removing from file dir as it was wrongly committed to this dir 2007-09-14 19:10:04 +00:00
Raghubansh Kumar
3aae429b88 New testcases for wordwrap() 2007-09-14 19:09:11 +00:00
Zoe Slattery
05da39cb03 Changing to use %a to match recent run-tests.php patch 2007-09-14 16:56:34 +00:00
Nuno Lopes
db5f5d6bd7 MFB: change run-tests.php to add %a 2007-09-14 15:36:29 +00:00
Nuno Lopes
619ddc2679 MFB: fix expected output 2007-09-14 15:04:46 +00:00
Raghubansh Kumar
c0a64e0cba better comments 2007-09-14 14:28:42 +00:00
Raghubansh Kumar
0bbb0489ec New testcases for wordwrap() 2007-09-14 14:17:22 +00:00
Raghubansh Kumar
798aa19de7 fix test 2007-09-14 09:44:02 +00:00
Nuno Lopes
bd6f705895 MFB 2007-09-13 19:52:45 +00:00
Nuno Lopes
fbd1076132 MFB: fix expected output 2007-09-13 18:56:21 +00:00
Nuno Lopes
7ee5d8c6c9 MFB: fix skip reasons 2007-09-13 18:26:12 +00:00
Ilia Alshanetsky
7877150f49 MFB: Added a note indicating that the tests may fail to due libc
implementation
2007-09-13 15:36:50 +00:00
Raghubansh Kumar
9aaf21fc0f marked with Bug #42038 2007-09-12 09:49:25 +00:00
Raghubansh Kumar
5a69a2341e marked with bug#42638 2007-09-12 08:29:34 +00:00
Raghubansh Kumar
957f3ddd71 fix test 2007-09-11 05:23:45 +00:00
Antony Dovgal
1d42952da9 fix tests 2007-09-10 10:33:00 +00:00
Antony Dovgal
2c354acaf7 remove the original 2007-09-09 22:47:47 +00:00
Antony Dovgal
b9faefee14 MFB: split test 2007-09-09 22:47:23 +00:00
Raghubansh Kumar
fdf0a9e6a1 New testcases for ucwords() function 2007-09-07 14:43:24 +00:00
Raghubansh Kumar
e47194d4dc New testcases for strncmp() function 2007-09-07 14:22:56 +00:00
Raghubansh Kumar
aecb1354e3 New testcases for stripslashes() function 2007-09-07 14:03:33 +00:00
Zoe Slattery
1c99d1b141 made equivalent (to php5 test) changes to the expected output. Although this test did originally have the right EXP section 2007-09-07 11:06:48 +00:00
Raghubansh Kumar
87632ef25c New testcases for addslashes() function 2007-09-06 04:02:56 +00:00
Zoe Slattery
8e59bf05cb Test cases for sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh. 2007-09-04 11:18:35 +00:00
Raghubansh Kumar
81313aed39 fix tests 2007-09-04 08:39:40 +00:00
Derick Rethans
773fe3adc7 - Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
64-bit PHP).
2007-09-01 18:37:27 +00:00
Raghubansh Kumar
668d2d59c2 fix tests: do not run when noatime set 2007-08-30 04:02:57 +00:00
Raghubansh Kumar
57bc6ad6bb fix tests: do not run on MACOS 2007-08-29 10:13:25 +00:00
Raghubansh Kumar
ae2808fdb8 fix test, do not run on macos 2007-08-29 04:37:17 +00:00
Zoe Slattery
b2c5bdfd98 adding check for rc1 to version-compare test 2007-08-24 14:46:34 +00:00
Raghubansh Kumar
6ff029a37d fix tests 2007-08-23 09:34:15 +00:00
Raghubansh Kumar
1419d23f6a fix test: skip if user is root 2007-08-20 04:08:15 +00:00
Raghubansh Kumar
66fe5012a2 fix tests 2007-08-20 03:40:41 +00:00
Raghubansh Kumar
1aad43dc22 fix test: skip if user is root 2007-08-20 03:14:58 +00:00
Raghubansh Kumar
4669c2d40a fix test 2007-08-16 16:33:16 +00:00
Raghubansh Kumar
ae5dcdccf2 fix tests 2007-08-14 14:10:31 +00:00
Raghubansh Kumar
1514977352 New testcase for clearstatcache() function 2007-08-13 11:50:47 +00:00
Raghubansh Kumar
c0ebb17904 New testcase for parse_ini_file() function 2007-08-13 11:37:11 +00:00
Jani Taskinen
bdd54e7c9b MFB: Fix tests + directory check inside copy() function 2007-08-13 08:14:03 +00:00
Raghubansh Kumar
721e2ab3a7 New testcases for fgetss() function 2007-08-12 06:55:52 +00:00
Raghubansh Kumar
c7d2d62a02 More new testcases for fopen() & fclose() functions 2007-08-12 05:14:13 +00:00
Antony Dovgal
ceb482dfb1 more fixed tests 2007-08-11 22:42:19 +00:00
Antony Dovgal
44d8314d9c fix tests failing on 64bit 2007-08-11 22:18:33 +00:00
Raghubansh Kumar
30a08a895b New testcases for fscanf() function 2007-08-10 17:56:45 +00:00
Raghubansh Kumar
fb3c7a7250 New testcases for htmlentities() & htmlspecialchars() 2007-08-10 15:08:45 +00:00
Antony Dovgal
ee8851dfda split the test 2007-08-10 13:27:05 +00:00
Jani Taskinen
28cf1788a9 MFB: Fixed the fix for bug #42233 and added test for it. 2007-08-10 12:23:16 +00:00
Antony Dovgal
edb216d3dc fix tests 2007-08-10 12:10:19 +00:00
Raghubansh Kumar
96fc4edc59 more new testcases for tempnam() function 2007-08-10 03:33:00 +00:00
Raghubansh Kumar
b71984f4bc New testcases for strtolower() and strtoupper() functions 2007-08-10 03:05:00 +00:00
Raghubansh Kumar
752ead40e2 More new testcases for copy() function 2007-08-10 02:58:50 +00:00
Raghubansh Kumar
6cb89102e7 New testcases for tempnam() function 2007-08-09 03:35:22 +00:00
Raghubansh Kumar
8d87a8cf70 New testcases for fgetcsv() function 2007-08-08 13:15:01 +00:00
Raghubansh Kumar
34a7853c49 More testcases for fputcsv() function 2007-08-08 13:09:42 +00:00
Raghubansh Kumar
e2d9b55057 New testcases for fputcsv() function 2007-08-08 03:55:05 +00:00
Jani Taskinen
def23a6e7d MFB: Test for bug #42208. Fix is not needed in HEAD, zend_parse_parameters is used here 2007-08-05 19:54:42 +00:00
Jani Taskinen
b0b1438882 - Fixed bug #42107 (sscanf broken when using %2$s type format parameters) 2007-07-26 15:23:31 +00:00
Raghubansh Kumar
6842c58737 file.inc : Added dumping of stat array in functions (compare_self_stat() & compare_stats() )
Smaller testcases for lstat_stat_variation[1-7].phpt files
2007-07-26 13:55:42 +00:00
Dmitry Stogov
11c5577116 Fixed EOF handling in case of reading from file opened in write only mode. 2007-07-25 16:34:27 +00:00
Dmitry Stogov
cb27d5dbae Fixed test 2007-07-24 20:03:30 +00:00
Antony Dovgal
adf53be4ed fix test 2007-07-23 22:14:41 +00:00
Jani Taskinen
8eaa978e97 - Fixed str_pad() when passed huge negative pad_length 2007-07-23 13:27:34 +00:00
Jani Taskinen
7bfd857fa1 MFB: Fixed "Floating point exception" inside wordwrap() 2007-07-23 11:47:44 +00:00
Jani Taskinen
6b7c17e222 fix descriptions 2007-07-23 10:45:53 +00:00
Raghubansh Kumar
d4b7248e8a More new testcases for glob() 2007-07-23 10:45:11 +00:00
Jani Taskinen
0a625249c3 fix test descriptions 2007-07-23 10:44:04 +00:00
Antony Dovgal
9f46c89c3b more tests 2007-07-23 09:14:28 +00:00
Dmitry Stogov
16fa4dcbf7 Fixed wrong expectation 2007-07-23 08:57:47 +00:00
Raghubansh Kumar
c06a7d5ffd New testcases for glob() function 2007-07-23 05:25:19 +00:00
Raghubansh Kumar
e5a2101c2a More new testcases for fread() function 2007-07-22 17:38:48 +00:00
Raghubansh Kumar
00ecf433a6 New testcases for fread() functions 2007-07-22 17:30:27 +00:00
Raghubansh Kumar
7c205bb294 smaller testcases for stat() function on Windows 2007-07-22 12:32:45 +00:00
Raghubansh Kumar
3f04550eea New testcases for ftruncate() function 2007-07-22 12:30:53 +00:00
Raghubansh Kumar
995caaf5ba fix tests 2007-07-22 12:28:31 +00:00
Raghubansh Kumar
c4e10a6be1 New testcases for umask() function 2007-07-21 18:18:23 +00:00
Raghubansh Kumar
aeac0426f5 New testcases for lstat() and stat() functions 2007-07-21 17:27:45 +00:00
Raghubansh Kumar
cde94cb7b1 New testcases for is_file() function 2007-07-21 17:25:59 +00:00
Raghubansh Kumar
e889f297f3 New testcases for is_dir() function 2007-07-21 17:24:29 +00:00
Raghubansh Kumar
e41c15f71e New testcases for fseek(), ftell() & rewind() functions 2007-07-21 17:22:32 +00:00
Raghubansh Kumar
edad34bd15 New testcases for fflush() function 2007-07-21 17:19:27 +00:00
Raghubansh Kumar
75ad7fa7db New testcases for fwrite(), fgetc() and fgets() functions 2007-07-21 08:01:25 +00:00
Raghubansh Kumar
c61fda5b94 Fix for fill_file() function in file.inc
New testcases for readfile() and umask() functions
2007-07-20 18:09:11 +00:00
Antony Dovgal
44df63c8ae fix tests, add 64bit versions 2007-07-19 15:15:15 +00:00
Antony Dovgal
383a8264e9 split the test 2007-07-19 15:04:05 +00:00
Antony Dovgal
bbf8afc3a4 make sure the cache is flushed when doing stat calls 2007-07-19 12:16:24 +00:00
Raghubansh Kumar
dc721705af New testcases for filesystem handling function : unlink() 2007-07-18 04:57:25 +00:00
Raghubansh Kumar
eadb9f96c1 fix tests 2007-07-16 18:02:11 +00:00
Raghubansh Kumar
b4c1b36999 New testcases 2007-07-16 17:36:33 +00:00
Jani Taskinen
d7e208a6c6 - Use explode instead of split (ereg goes bye bye..) 2007-07-16 12:35:33 +00:00
Antony Dovgal
febe567acb split test 2007-07-16 10:59:07 +00:00
Antony Dovgal
b28ea6b885 fix test 2007-07-16 10:39:34 +00:00
Jani Taskinen
41c6375840 - Moved the old regex functions to it's own extension: ereg 2007-07-15 19:50:07 +00:00
Antony Dovgal
44d1ccca25 fix test 2007-07-13 17:15:12 +00:00
Antony Dovgal
6e5c6bbd26 add key values to the output 2007-07-13 17:07:33 +00:00
Antony Dovgal
d8354fe6ff add 64bit version 2007-07-13 16:42:42 +00:00
Antony Dovgal
38283545ee split one more huge test into several smaller ones 2007-07-13 16:39:55 +00:00
Antony Dovgal
2c0bd79e91 fix test, add 64bit version 2007-07-13 16:07:42 +00:00
Antony Dovgal
c601b252a0 fix %u in Unicode mode 2007-07-13 15:52:38 +00:00
Zoe Slattery
052e62c4cf Assert test cases 2007-07-13 15:17:28 +00:00
Zoe Slattery
84686c5b8f Assert test 2007-07-13 14:57:32 +00:00
Antony Dovgal
71148ce268 fix test 2007-07-13 09:13:58 +00:00
Jani Taskinen
261c38876a fix test 2007-07-12 17:43:34 +00:00
Jani Taskinen
08c67fa3c4 - Added test for bug #41815 2007-07-12 11:07:29 +00:00
Antony Dovgal
469e93ef35 fix test 2007-07-12 09:26:28 +00:00
Antony Dovgal
86c819cede fix #41970 (call_user_func_*() leaks on failure) 2007-07-12 09:19:04 +00:00
Johannes Schlüter
c853428779 Fix test for unicode mode 2007-07-11 15:46:20 +00:00
Dmitry Stogov
89aef801cf Fixed tests 2007-07-11 12:57:55 +00:00
Dmitry Stogov
e51458cd76 Fixed test 2007-07-10 15:19:13 +00:00
Dmitry Stogov
644c0c6a51 Fixed limit warnings in non-unicode mode 2007-07-10 14:16:40 +00:00
Dmitry Stogov
1f8c608320 Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode 2007-07-10 13:21:31 +00:00
Raghubansh Kumar
056130b3dd fix and new test for sunos 2007-07-10 07:26:31 +00:00
Raghubansh Kumar
2de2f8facd These testcases are now split into smaller testcases, hence being deleted 2007-07-09 17:52:42 +00:00
Raghubansh Kumar
7757829df0 Fix and smaller testcases for mkdir_rmdir_variation.phpt, readlink_realpath_basic.phpt, readlink_realpath_error.phpt & readlink_realpath_variation.phpt 2007-07-09 17:40:16 +00:00
Dmitry Stogov
18f8b258b9 Fixed test 2007-07-09 15:27:58 +00:00
Dmitry Stogov
d71bcb658c Proper fix for MOPB-29 2007-07-09 14:33:37 +00:00
Dmitry Stogov
204f671029 Fixed tests 2007-07-09 11:38:34 +00:00
Raghubansh Kumar
985df6212e These files are now split into one or more smaller testcases, hence being deleted. 2007-07-08 12:51:03 +00:00
Raghubansh Kumar
343f87658b Fix and smaller testcases for is_executable_variation.phpt, is_readable_variation.phpt & is_writable_variation.phpt 2007-07-06 18:28:33 +00:00
Raghubansh Kumar
301b356568 Better check for root user 2007-07-06 03:24:27 +00:00
Raghubansh Kumar
6c081bba9b fix test: 006_error.phpt & filegroup_basic.phpt
fix and smaller tests for symlink_link_linkinfo_is_link[basic|error|variation].phpt
2007-07-05 18:59:20 +00:00
Dmitry Stogov
f766275b7a Added ability to create local or remote (URL) user streams
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
  of type long. This time only one flag is implemented - STREAM_IS_URL, that
  means that userstream wrapper is remote (URL). By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
  stream is local or remote (URL)
]
2007-07-03 10:22:55 +00:00
Raghubansh Kumar
070632248f Smaller testcases for 006_variation.phpt, file_get_contents_file_put_contents_variation.phpt, filesize_variation.phpt, filesize_variation-win32.phpt, fwrite_variation.phpt, fwrite_variation-win32.phpt.
Fix for filesize_variation to match filesize using %d
2007-07-03 07:13:04 +00:00
Antony Dovgal
c27fff27be cleanup tmp files 2007-06-29 12:56:08 +00:00
Antony Dovgal
06f739c018 divide the test into smaller ones 2007-06-29 12:54:06 +00:00
Antony Dovgal
d4dcb545a7 more smaller tests 2007-06-28 16:05:51 +00:00
Antony Dovgal
3fcda7c0a7 divide array_search.phpt into several smaller tests 2007-06-28 15:26:55 +00:00
Antony Dovgal
0f47d4b28c MFB 2007-06-28 15:11:13 +00:00
Antony Dovgal
d6940afe0b more smaller tests 2007-06-28 15:04:16 +00:00
Antony Dovgal
03c8220ecc divide the test into several smaller ones 2007-06-28 14:51:25 +00:00
Antony Dovgal
b3c372210b fix #41445 (parse_ini_file() has a problem with certain types of integer as sections) 2007-06-26 12:08:50 +00:00
Antony Dovgal
6437c3ba3a fix test 2007-06-25 21:24:37 +00:00
Antony Dovgal
d58b7c8921 fix test 2007-06-25 17:10:07 +00:00
Dmitry Stogov
0caea15ec7 Fixed tests 2007-06-25 09:02:07 +00:00
Dmitry Stogov
5b29e664b4 Better fix for bug #41655 2007-06-25 08:40:36 +00:00
Pierre Joye
fef59c06bd - MFB: add test cases for #41655 2007-06-22 12:36:55 +00:00
Raghubansh Kumar
b96915cd5c New tests for file system handling functions 2007-06-22 08:14:16 +00:00
Raghubansh Kumar
35f3b30d64 New tests for file system handling functions 2007-06-21 21:14:21 +00:00
Raghubansh Kumar
96ced8a39a New functons to compare stat array 2007-06-21 21:08:38 +00:00
Derick Rethans
ad8eca0b05 - Added the H modifier to create non-locale-aware non-fixed-precision float
representations.
- Fixed var_export() to use the new H modifier so that it can generate
  parsable PHP code for floats again, independent of the locale.
2007-06-19 12:19:27 +00:00
Raghubansh Kumar
0465ee4006 New tests for file system handling functions 2007-06-18 19:51:11 +00:00
Dmitry Stogov
af598946f1 Fixed crash in substr_compare()
Fixed error messages
2007-06-18 13:39:02 +00:00
Dmitry Stogov
d4ef7f0f75 Fixed test 2007-06-18 11:54:02 +00:00
Dmitry Stogov
48012d80e1 Fixed yet another realpath cache bug and wrong tests 2007-06-18 09:51:03 +00:00
Dmitry Stogov
f5b083dc3d Fixed test 2007-06-18 07:45:24 +00:00
Dmitry Stogov
44249ed376 Fixed test 2007-06-15 08:16:23 +00:00
Dmitry Stogov
455cb3e672 Prevent memory overflow 2007-06-15 08:05:15 +00:00
Raghubansh Kumar
6e14524d5e New tests for file system handling functions 2007-06-14 20:30:16 +00:00
Zoe Slattery
affcaa4cb5 Tests are not valid if run by root - adding check to skip is user is root. 2007-06-14 16:15:50 +00:00
Raghubansh Kumar
d827201d8c New tests for file system handling functions 2007-06-13 22:46:37 +00:00
Raghubansh Kumar
f31ae00184 New tests for file handling system functions 2007-06-11 16:40:27 +00:00
Ilia Alshanetsky
60a7d31254 MFB: Added missing format validator to unpack() function 2007-06-06 22:04:47 +00:00
Stanislav Malyshev
f011c37849 fix test format 2007-06-06 17:47:15 +00:00
Stanislav Malyshev
56773a566a add some edge cases 2007-06-06 17:14:59 +00:00
Stanislav Malyshev
32d94ed6cd add moneyformat test 2007-06-06 17:13:18 +00:00
Zoe Slattery
a6ac3f8c20 New tests for file handling 2007-06-06 12:50:06 +00:00
Zoe Slattery
4f38742d2f fixed file permission for new empty file 2007-06-06 12:48:13 +00:00
Zoe Slattery
ce111057a4 Fixing incorrect comment in test cases fileinode_variation and filetype_variation 2007-06-05 11:32:45 +00:00
Zoe Slattery
484e14354e new test cases for general functions 2007-06-05 09:21:54 +00:00
Zoe Slattery
bdc7acb0d4 New test cases for file system functions 2007-06-05 09:20:17 +00:00
Zoe Slattery
c7590816d5 Updated test output in line with changes to file.inc 2007-06-05 07:57:48 +00:00
Zoe Slattery
bcb5c46495 Added fill_buffer() and fixed file_fill() to write binary data only 2007-06-05 07:54:58 +00:00
Antony Dovgal
b90fc7e0e4 clean up temp file 2007-06-04 17:18:28 +00:00
Zoe Slattery
3ee8de4afb missing ?> in skipif section 2007-06-04 17:00:44 +00:00
Brian Shire
5361f1838b MFB: fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix) 2007-06-04 01:23:22 +00:00
Ilia Alshanetsky
9cfd000ba3 MFB: Corrected fix for CVE-2007-2872 2007-06-03 18:53:51 +00:00
Antony Dovgal
cd7750e4ba fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) 2007-06-01 13:33:48 +00:00
Ilia Alshanetsky
8cd0541be1 MFB: Fixed an interger overflow inside chunk_split(), identified by
Gerhard Wagner
2007-05-30 00:38:00 +00:00
Ilia Alshanetsky
16c9af1c7d MFB 2007-05-29 20:11:23 +00:00
Antony Dovgal
fb2ebbf23e fix tests, add 64bit versions 2007-05-29 12:42:19 +00:00
Antony Dovgal
28747bebc9 fix tests 2007-05-29 12:26:59 +00:00
Antony Dovgal
deba560f57 fix test 2007-05-29 12:17:37 +00:00
Antony Dovgal
857834365b fix tests in unicode mode 2007-05-29 12:10:20 +00:00
Antony Dovgal
f243356f5e fix tests 2007-05-29 10:25:21 +00:00
Zoe Slattery
863ee40af2 New tests for file/general_functions/strings 2007-05-25 13:50:06 +00:00
Antony Dovgal
6af0020d9c fix test 2007-05-22 16:57:18 +00:00
Antony Dovgal
60afeec652 fix tests 2007-05-22 16:56:47 +00:00
Raghubansh Kumar
b609c75148 New version of gettype_settype_basic.phpt, gettype_settype_variation3.phpt, gettype_settype_variation7.phpt, gettype_settype_error.phpt, gettype_settype_variation4.phpt, gettype_settype_variation8.phpt, gettype_settype_variation1.phpt, gettype_settype_variation5.phpt, gettype_settype_variation2.phpt, gettype_settype_variation6.phpt 2007-05-22 16:06:44 +00:00
Raghubansh Kumar
6d36305465 New version of basename_basic.phpt basename_error.phpt basename_variation.phpt 2007-05-22 16:03:57 +00:00
Antony Dovgal
f996452e8b improve variable name checks
add more tests
2007-05-22 14:32:40 +00:00
Zoe Slattery
36de378220 Updated range() test 2007-05-16 21:10:57 +00:00
Antony Dovgal
326ee7c499 fix test 2007-05-15 14:25:50 +00:00
Scott MacVicar
ecab534aa8 MFB: Fixed bug #41347 (checkdnsrr() segfaults on empty hostname). 2007-05-14 14:38:29 +00:00
Antony Dovgal
5955f884b9 fix tests, add UEXPECTF 2007-05-14 13:05:29 +00:00
Raghubansh Kumar
1e657336cf New version of debug_zval_dump_b.phpt, debug_zval_dump_v.phpt, is_float.phpt, is_numeric.phpt, is_string.phpt, var_dump.phpt, debug_zval_dump_e.phpt, is_array.phpt, is_int.phpt, is_object.phpt, print_r.phpt,
debug_zval_dump_o.phpt, is_bool.phpt, is_null.phpt, is_scalar.phpt, strval.phpt
2007-05-12 12:18:13 +00:00
Raghubansh Kumar
8be498b45e New version of addcslashes.phpt, implode1.phpt, strpos.phpt, str_replace.phpt, substr_count.phpt, trim1.phpt, chr_ord.phpt, md5_file.phpt, str_repeat.phpt, strstr.phpt, substr.phpt 2007-05-12 12:12:26 +00:00
Raghubansh Kumar
c7cec34d11 New version of 005.phpt, array_keys.phpt, array_values.phpt, extract.phpt, 009.phpt, array_map.phpt, each.phpt, array_change_key_case.phpt, array_pop.phpt, end.phpt, array_key_exists.phpt, array_search.phpt, extract.php 2007-05-12 11:20:52 +00:00
Antony Dovgal
483c3034bc fix segfault in strripos() when offset == INT_MAX+1
identified and repoted by Joxean Koret
2007-05-10 22:08:35 +00:00
Antony Dovgal
764b33ef79 flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 16:27:16 +00:00
Antony Dovgal
3d980a73cf cleanup temp test data 2007-05-10 12:22:49 +00:00
Antony Dovgal
806ebfb3f5 fix segfault in iptcembed() 2007-05-10 12:21:42 +00:00
Antony Dovgal
2d087e6deb fix tests 2007-05-07 22:33:39 +00:00
Antony Dovgal
57a1dc0757 fix test 2007-05-07 21:38:35 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Antony Dovgal
8d9be0338b fix test names 2007-05-07 16:50:40 +00:00
Hannes Magnusson
be57963e00 Fix test
# pcre is required for the test suite so no need to check for it
# reflection can however be disabled
2007-05-06 13:11:11 +00:00
Dmitry Stogov
b890450e84 Fixed test 2007-05-02 07:27:52 +00:00
Antony Dovgal
419c5b3db1 fix tests
add test for yet not merged fix
2007-04-26 23:42:36 +00:00
Antony Dovgal
47d3276cd7 removed unused highlight.bg ini option 2007-04-26 09:39:03 +00:00
Antony Dovgal
b9e9832a85 fix tests 2007-04-22 19:47:08 +00:00
Johannes Schlüter
968608f8db - Fix test 2007-04-21 02:46:29 +00:00
Antony Dovgal
a09d5573f7 fix tests 2007-04-20 21:37:31 +00:00
Antony Dovgal
714e348b9f open the file in text mode and avoid downcoding 2007-04-20 21:17:37 +00:00
Antony Dovgal
65e565a08e fix tests 2007-04-20 21:13:45 +00:00
Dmitry Stogov
fbccef91d7 Fixed tests (win32) 2007-04-18 14:51:47 +00:00
Antony Dovgal
cea78baddf fix putenv("var") (i.e. unset) on BSD systems
add test
2007-04-17 20:33:45 +00:00
Zoe Slattery
33c9394112 Updated testcase ltrim() 2007-04-17 11:55:39 +00:00
Antony Dovgal
18b3919675 fix test 2007-04-16 08:14:27 +00:00
Brian Shire
be3064577d MFB: reverting incorrect changes to pack test
# only a problem on darwin, latest gcc-4.2 branch works as expected.
2007-04-13 02:15:12 +00:00
Zoe Slattery
904042bb83 new tests: array_merge, array_push, fprintf. modified tests: count_recursive, md5. 2007-04-11 11:44:37 +00:00
Antony Dovgal
5c2b931d6f skip this test on MacOS 2007-04-10 21:20:33 +00:00
Antony Dovgal
8667be3e5d fix #41037 (unregister_tick_function() inside the tick function crash PHP) 2007-04-10 09:36:10 +00:00
Antony Dovgal
c711d41f1f fix test 2007-04-06 19:35:06 +00:00
Brian Shire
c1104b0262 MFB: correction for previous fix to bug #38770 (pack/unpack is broken on 64bit)
fix pack test, correct space to tabs
2007-04-03 19:50:43 +00:00
foobar
7da784c5f7 MFB- 64bit test 2007-04-02 15:12:55 +00:00
foobar
573028aff2 MFB:- Make this 32bit only test. (will add 64bit version next) 2007-04-02 15:02:22 +00:00
Zoe Slattery
dfaf949f2f New tests for ltrim, rtrim, str_pad 2007-03-28 10:31:13 +00:00
Zoe Slattery
61ccbdee7e New ucfirst() test. 2007-03-28 09:54:31 +00:00
Zoe Slattery
f9596816cc new test for printf 2007-03-28 09:41:55 +00:00
Antony Dovgal
c9b1ff5080 fix #40915 (addcslashes unexpected behavior with binary input) 2007-03-26 10:23:50 +00:00
Stanislav Malyshev
638a8c9e07 MFB: fix MOPB-29 - unserialize modifier S does not calculate length correctly 2007-03-23 20:34:11 +00:00
Zoe Slattery
cc3795cd6f Fixing %i - > %d, previously changed in error 2007-03-16 23:18:01 +00:00
Stanislav Malyshev
023531f76c Fix UMR in array_user_key_compare() (MOPB24 by Stefan Esser) 2007-03-16 20:16:05 +00:00
Zoe Slattery
6503645079 Changed %d to %i in EXPECTF 2007-03-16 13:35:47 +00:00
Zoe Slattery
7f5832323c new test cases for string functions 2007-03-16 12:55:38 +00:00
Antony Dovgal
ebb2fc5b1b fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array) 2007-03-08 00:43:06 +00:00
Zoe Slattery
16507b73cd New test case for array_slice 2007-03-07 13:22:26 +00:00
Antony Dovgal
702c31844b fix tests 2007-03-06 20:53:11 +00:00
Antony Dovgal
d5a9eab2e7 fix tests 2007-03-06 20:45:15 +00:00
Antony Dovgal
fdae6875ea fix segfault in import_request_variables() and its test
I'm not completely sure it's correct to import numeric vars like _POST["1"] etc.
2007-03-06 19:59:13 +00:00
Nuno Lopes
65f3544a3c MFB 2007-03-02 18:54:41 +00:00
Antony Dovgal
6a8829137e new test 2007-02-26 09:57:54 +00:00
Nuno Lopes
c0c9d8b164 MFB 2007-02-22 11:49:23 +00:00
Antony Dovgal
2edcbcbbd5 minor improvements 2007-02-21 22:08:00 +00:00
Antony Dovgal
c4b38c3af0 fix test on FreeBSD 2007-02-21 19:57:08 +00:00
Nuno Lopes
48f1b8cc77 MFB 2007-02-21 16:27:12 +00:00
Nuno Lopes
d5ec5c9807 fix a few tests in unicode mode 2007-02-14 19:29:33 +00:00
Nuno Lopes
9bb808dc35 MFB 2007-02-14 19:20:15 +00:00
Nuno Lopes
5615e79140 MFB 2007-02-13 19:56:42 +00:00
Antony Dovgal
c212923e29 new/improved tests 2007-02-13 13:01:18 +00:00
Antony Dovgal
d8179ac018 fix tests 2007-02-12 14:48:52 +00:00
Antony Dovgal
25992400a5 add separate IPv6 test 2007-02-12 14:42:25 +00:00
Antony Dovgal
c22ccc1492 new test 2007-02-11 20:56:17 +00:00
Antony Dovgal
834c79180c fix test 2007-02-11 20:06:05 +00:00
Marcus Boerger
9c0b73f9c4 - Simplify call_user_func/call_user_func_array implementation
- Allow call_user_func/call_user_func_array to return reference
2007-02-08 15:31:01 +00:00
Marcus Boerger
8e5f95d199 - Add new test 2007-02-08 08:44:28 +00:00
Antony Dovgal
32b3917098 add test 2007-02-07 21:12:48 +00:00
Dmitry Stogov
7d1110a3fb Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:32:55 +00:00
Antony Dovgal
131a79ea25 add skipif 2007-01-22 08:21:45 +00:00
Antony Dovgal
d181d3a0b3 fix #40191 (use of array_unique() with objects triggers segfault) 2007-01-22 08:16:36 +00:00
Sara Golemon
73cd7bf543 Remaining unicode updates for user filters 2007-01-07 06:29:40 +00:00
Hannes Magnusson
1175652bef MFB: Fix tests 2007-01-05 15:28:41 +00:00
Ilia Alshanetsky
fb392210ee MFB: Mark test as being 32bit only 2006-12-30 02:01:09 +00:00
Antony Dovgal
5498386f63 fix tests 2006-12-27 19:17:02 +00:00
Antony Dovgal
1857da91b4 fix *scanf() tests 2006-12-27 15:26:13 +00:00
Nuno Lopes
1511cee1a0 MFB 2006-12-27 15:18:15 +00:00
Ilia Alshanetsky
0b145dcb90 MFB: Fixed test for 64bit systems 2006-12-25 21:08:10 +00:00
Antony Dovgal
a5ca775c02 fix test 2006-12-25 14:27:44 +00:00
Antony Dovgal
524eb56503 fix tests 2006-12-25 11:16:05 +00:00
Ilia Alshanetsky
2e5e31c6b8 MFB: Fixed bug #36392 (wrong number of decimal digits with %e specifier in
sprintf).
2006-12-22 15:30:18 +00:00
Ilia Alshanetsky
3eadc2ad58 MFB: Fixed bug #39873 (number_format() breaks with locale & decimal points). 2006-12-22 04:03:35 +00:00
Hannes Magnusson
2d0d09830c Fix tests 2006-12-22 01:20:24 +00:00
Marcus Boerger
c130110b05 - Make custom serializing work with zstr (as discussed with andrei) 2006-12-22 00:47:27 +00:00
Andrei Zmievski
20e8a1ac55 Fix serialization test. 2006-12-22 00:37:20 +00:00
Antony Dovgal
5a11f3b174 fix serialize tests after s: -> S: change 2006-12-19 12:45:03 +00:00
Dmitry Stogov
938f3d6efa Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 08:59:26 +00:00
Brian Shire
3b4c2e0458 -Fixed bug #30074 (apparent symbol table error with extract($blah, EXTR_REFS))
# appoligies, I did this in reverse (applied to PHP_5_2) I should have MFH.
2006-12-19 08:02:48 +00:00
Antony Dovgal
5e105ec732 fix test names 2006-12-18 11:12:41 +00:00
Hannes Magnusson
44693bbf85 - make %f locale aware again
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
2006-12-18 09:25:32 +00:00
Antony Dovgal
e07f11c421 add new tests by <zoe dot slattery at googlemail dot co dot uk> 2006-12-08 14:38:53 +00:00
Antony Dovgal
e0a37e4cf6 MFB test 2006-12-07 23:10:58 +00:00
Antony Dovgal
7ea07ff6dc MFB tests (they still fail though)
fix BC in fgetss()
2006-12-07 23:00:45 +00:00
Antony Dovgal
e7d6927ed6 fix tests 2006-12-06 13:21:48 +00:00
Antony Dovgal
8f98226510 fix tests 2006-12-06 13:11:02 +00:00
Antony Dovgal
4789badd3a use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:50:28 +00:00
Antony Dovgal
024d8f4376 cosmetic improvements 2006-12-05 23:03:42 +00:00
Sara Golemon
78f65cc451 Unicode upgrade for fgetcsv() 2006-12-05 04:13:47 +00:00
Antony Dovgal
9ed4f515d1 fix #39673 (file_get_contents causes bus error on certain offsets) 2006-11-29 11:10:49 +00:00
Antony Dovgal
a1f6c395cf fix #39621 (str_replace() is not binary safe on strings with equal length) 2006-11-24 21:57:31 +00:00
Nuno Lopes
2eef6c8793 more tests 2006-11-24 20:20:51 +00:00
Pierre Joye
19abc4b507 - #39538, fgetcsv can't handle starting newlines and trailing odd
number of backslashes (David Soria Parra, Pierre)
2006-11-22 12:56:26 +00:00
Antony Dovgal
5f29b8e40e fix #39576 (array_walk() doesn't separate userdata zval) 2006-11-22 10:58:11 +00:00
Antony Dovgal
ee8e633e8b remove redundant error message
add test by <zoe dot slattery at googlemail dot com>
2006-11-21 17:40:38 +00:00
Antony Dovgal
8373efc9b9 fix #39551 (Segfault with stream_bucket_new in user filter)
also fixes several segfaults and leaks
add test
2006-11-21 15:47:44 +00:00
Antony Dovgal
90afd8b5b8 improve test 2006-11-20 20:54:52 +00:00
Antony Dovgal
b198d2d028 fix test on Solaris 2006-11-20 16:28:14 +00:00
Ilia Alshanetsky
75f45d8458 MFB: pack()/unpack() tests 2006-11-19 18:31:22 +00:00
Ilia Alshanetsky
316e7a5b2d MFB: Fixed bug #38770 (unpack() broken with longs on 64 bit machines). 2006-11-19 18:21:50 +00:00
Derick Rethans
7e56771f94 - Add the strtr implementation for unicode for the case where there are
characters with a code point value >= 256.
2006-11-16 20:33:44 +00:00
Antony Dovgal
c41f14297c fix tests (add missing SKIPIF sections and a fix for FreeBSD) 2006-11-16 13:49:01 +00:00
Antony Dovgal
107229611b more new tests, yikes! 2006-11-16 13:00:03 +00:00
Antony Dovgal
1063fa6a90 add new tests 2006-11-15 22:42:28 +00:00
Antony Dovgal
37754b437f fix memory leak and typo in zend_parse_parameters(), which caused segfault
add test
2006-11-15 22:09:25 +00:00
Antony Dovgal
7c08c95070 fix leak appearing when converting object to NULL
add test
2006-11-15 17:28:56 +00:00
Antony Dovgal
bbc854a4bd add new tests 2006-11-15 17:26:54 +00:00
Antony Dovgal
a92ccf9ab1 fix test on AIX 2006-11-15 12:11:07 +00:00
Antony Dovgal
f9847c0d0e fix test 2006-11-15 11:27:10 +00:00
Antony Dovgal
af43feda28 fix test 2006-11-15 10:48:30 +00:00
Antony Dovgal
f9d4063fed one more test 2006-11-14 22:23:23 +00:00
Antony Dovgal
41bb09b30d add new tests 2006-11-14 21:59:02 +00:00
Antony Dovgal
49a2ae60d0 fix leaks in get_meta_tags() when used with b0rked HTML
add test
2006-11-13 20:17:05 +00:00
Hannes Magnusson
6d22129d9b Fixed bug#36975 (natcasesort() causes array_pop() to misbehave) 2006-11-12 01:11:58 +00:00
Dmitry Stogov
edad4f460c Fixed tests 2006-11-09 08:29:37 +00:00
Antony Dovgal
3fb2cb298b fix more tests 2006-11-09 01:16:48 +00:00
Antony Dovgal
a6132def32 fix test 2006-11-09 01:07:31 +00:00
Antony Dovgal
8c5c0ce29c fix test and prevent endless loop 2006-11-09 00:33:54 +00:00
Ilia Alshanetsky
7ebb315ea9 MFB: fixed tests 2006-11-07 20:26:35 +00:00
Hannes Magnusson
5e9c0be4f8 Remove SKIPIF 2006-11-03 14:17:17 +00:00
Antony Dovgal
7bf64871c9 add new test by Pierre 2006-10-19 12:06:57 +00:00
Hannes Magnusson
9116acf89f Fix test 2006-10-15 13:44:41 +00:00
Antony Dovgal
7154dd7b87 add test 2006-10-11 14:57:38 +00:00
Antony Dovgal
721ade4f41 fix test on 64bit 2006-10-11 13:18:18 +00:00
Antony Dovgal
527cc7bd37 avoid reading str[-1], add warning when invalid format specified
add test
2006-10-11 13:14:08 +00:00
Antony Dovgal
729ed6eafc fix crash when parsing invalid hostnames/IPs 2006-10-11 12:53:38 +00:00
Ilia Alshanetsky
e8ccee4873 MFB: Fixed bug #37262 (var_export() does not escape \0 character). 2006-10-09 18:09:42 +00:00
Hannes Magnusson
6d5c5bce5a Fix test 2006-10-08 20:06:04 +00:00
Antony Dovgal
373098b296 add test 2006-10-05 19:49:20 +00:00
Antony Dovgal
88e893b50a fix #39032 (strcspn() stops on null character) 2006-10-04 11:12:21 +00:00
Antony Dovgal
f17a799f86 fix test name 2006-09-28 22:01:46 +00:00
Ilia Alshanetsky
7d3e03b2a7 MFB: Fixed bug #38859 (parse_url() fails if passing '@' in passwd). 2006-09-28 14:52:55 +00:00
Sara Golemon
1aa537ebd4 Update (most of) the functions in streamsfuncs.c
This commit also includes a change to tests/file/stream_rfc2397_002.phpt
which doesn't entirely pass in unicode mode yet, however that's a unicode
issue in the data:// wrapper that needs fixing, not a problem with the
streams layer itself.
2006-09-21 19:53:10 +00:00
Antony Dovgal
591477b143 support objects in array_walk*()
add new tests, fix old ones
2006-09-19 09:33:02 +00:00
Antony Dovgal
cb7a7995b6 fix #34066 (recursive array_walk causes segfault)
add tests
2006-09-19 09:02:39 +00:00
Antony Dovgal
c912fa4a90 fix leak when call to shutdown function fails 2006-09-15 09:11:31 +00:00
Antony Dovgal
e264e460a4 fix double free(), add test 2006-09-15 07:26:19 +00:00
Antony Dovgal
ffe419fefc add new tests, increase code coverage 2006-09-07 11:47:57 +00:00
Ilia Alshanetsky
803b3f4d77 MFB: Fixed bug #38464 (array_count_values() mishandles numeric strings). 2006-09-06 17:31:47 +00:00
Antony Dovgal
8d28cf264a fix tests 2006-08-28 19:52:01 +00:00
Hannes Magnusson
089b2ab93f Register missing math constants (been missing since 4.0.2!)
Remove M_PI from math.c (its defined in php_math.h)
2006-08-27 18:20:39 +00:00
Hannes Magnusson
ea2891fa9d Fix tests on freebsd 2006-08-27 15:06:15 +00:00
Antony Dovgal
1fbee1aee3 tm_yday may be 0 (Solaris) 2006-08-24 11:27:06 +00:00
Antony Dovgal
2fdd51a1a0 add test 2006-08-22 19:51:34 +00:00
Ilia Alshanetsky
285e5f69d6 MFB: Fixed bug #38524 (strptime() does not initialize the internal date
storage structure).
2006-08-20 18:20:59 +00:00
Antony Dovgal
c1b3a17034 new tests 2006-08-15 08:53:55 +00:00
Antony Dovgal
3cf1565d90 typos in comments and other minor improvements 2006-08-10 13:44:00 +00:00
Antony Dovgal
6ca1ce9986 fix test 2006-08-09 20:34:00 +00:00
Antony Dovgal
fddbbb0831 fix test 2006-08-08 22:05:20 +00:00
Antony Dovgal
f56a71c63c fix tests to be able to run just .phpt's 2006-08-08 22:01:24 +00:00
Antony Dovgal
6b2273b905 fix tests 2006-08-08 20:24:13 +00:00
Antony Dovgal
9c125e6911 fix tests 2006-08-08 20:17:31 +00:00
Antony Dovgal
664ed4959e fix test 2006-08-08 20:13:27 +00:00
Antony Dovgal
af688c3394 add new test 2006-08-08 09:50:54 +00:00
Antony Dovgal
9cc9f2da3e use memrchr/zend_memrchr instead of strrchr
fix wrong test
2006-08-08 09:48:08 +00:00
Antony Dovgal
9e8c4eb56d fix test 2006-08-08 09:23:11 +00:00
Antony Dovgal
5f50f4ac84 fix test in unicode mode 2006-08-07 22:16:09 +00:00
Antony Dovgal
d8cef5a15d fix test 2006-08-07 22:14:15 +00:00
Antony Dovgal
fa6d24b330 add new test 2006-08-04 15:01:29 +00:00
Antony Dovgal
20b0975a43 fix test
I really hope there are no systems where /dev is a symlink
2006-07-28 13:47:41 +00:00
Antony Dovgal
688000ca74 fix access to freed memory in pathinfo()
add test
2006-07-17 06:44:45 +00:00
Antony Dovgal
50242cd8c5 3+1 != 3 =) 2006-07-16 15:59:02 +00:00
Marcus Boerger
5544029699 - Fixed Bug #29538 number_format and problem with 0 2006-07-16 10:49:06 +00:00
Marcus Boerger
92a47b44b4 - Pathinfo allows to get filename (Toby S, Christian S) 2006-07-16 10:34:32 +00:00
Marcus Boerger
adc5a7f087 - Update array_fill_keys, better unicode support, use new param parsing API 2006-07-15 12:06:10 +00:00
Marcus Boerger
da5c076100 - Add array_fill_keys() (Matt W, php_lists at realplain com) 2006-07-15 10:10:47 +00:00
Andrei Zmievski
246585490b Add test for compact(). 2006-07-14 23:04:58 +00:00
Antony Dovgal
12f44c2b2b fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length) 2006-07-13 11:58:42 +00:00
Antony Dovgal
9de18e2ca2 don't try to compare strings if haystack is "" or shorter than needle
add test
2006-07-12 12:33:04 +00:00
Antony Dovgal
8db69d4005 add new tests by Ligaya Turmelle 2006-07-11 21:28:07 +00:00
Antony Dovgal
f41a4f4546 /tmp is often a symlink, use /bin instead 2006-07-11 21:19:56 +00:00
Dmitry Stogov
14a10f441d Fixed bug #37947 (zend_ptr_stack reallocation problem) 2006-07-10 14:02:54 +00:00
Hannes Magnusson
8f1d44beea make everyone happy 2006-07-03 22:41:46 +00:00
Hannes Magnusson
302deb04d8 fix tests 2006-07-03 16:03:39 +00:00
Nuno Lopes
ec2b150da0 MFB5.2: fix assert() problems 2006-07-01 12:29:38 +00:00
Hannes Magnusson
d03ba9cdc5 fix test 2006-06-29 14:53:31 +00:00
Antony Dovgal
bfceaaf1d1 unicode_semantics -> unicode.semantics 2006-06-28 15:07:14 +00:00
Hannes Magnusson
0cce3777ea MFB: bug #37244 (base64_decode violates RFC 3548)
-Add test
2006-06-26 22:17:43 +00:00
Hannes Magnusson
f4ea75f240 Added argument info
(forces user-space filters to register correct arguments)
Added tests
2006-06-25 22:51:55 +00:00
Antony Dovgal
361c7da159 MFB: improve test 2006-06-25 21:23:38 +00:00
Hannes Magnusson
3f2f258517 Enabled image_type_to_extension() which has been in cvs for 2,5 years now..
Added test
2006-06-25 20:52:34 +00:00
Nuno Lopes
b5fda0101c MFB 5.2 2006-06-20 21:58:03 +00:00
Antony Dovgal
016fe711f9 fix tests 2006-06-20 19:49:44 +00:00
Hannes Magnusson
1cb807ab63 Renamed file to bug37864.phpt 2006-06-20 19:31:04 +00:00
Hannes Magnusson
2c87f890bc Test for bug #37864 (file_get_contents() leaks on empty file) 2006-06-20 19:30:19 +00:00
Antony Dovgal
3d0e1456e4 fix test 2006-06-20 19:12:12 +00:00
Antony Dovgal
bc5a9692cb don't leave garbage in tmp dir 2006-06-20 18:55:37 +00:00
Hannes Magnusson
f3334c8df3 add test for file_get_contents() leaking on empty file 2006-06-20 18:46:14 +00:00
Antony Dovgal
f59302fe60 fix test to work on all platforms 2006-06-20 13:14:20 +00:00
Hannes Magnusson
a24552497f Fixed test 2006-06-14 19:47:30 +00:00
Antony Dovgal
12a2d02b99 fix tests 2006-06-01 13:04:10 +00:00
Sara Golemon
a8ca40564c Minor fixes (bjori) 2006-05-30 19:05:21 +00:00
Antony Dovgal
11b66c6cec add test 2006-05-29 10:42:37 +00:00
Marcus Boerger
875caa4870 - MFB 2006-05-25 10:50:53 +00:00
Marcus Boerger
c627a4819b - Add more tests from Ligaya Turmelle 2006-05-23 23:45:39 +00:00
Marcus Boerger
47343620cb - Add new test 2006-05-23 22:26:55 +00:00
Marcus Boerger
a4d6c5a6f0 - Handle corrupt base64 data in data: url 2006-05-21 13:35:06 +00:00
Antony Dovgal
bd6125c312 add new tests by Ligaya Turmelle 2006-05-19 07:44:58 +00:00
Antony Dovgal
17c98844d5 new mkdir tests 2006-05-16 13:07:07 +00:00
Marcus Boerger
3856d8da6d - Add strict compliant RFC2397 support (no //) 2006-05-14 18:35:40 +00:00
Marcus Boerger
3b66ab74f9 - RFC2397 add decoding
# done (need to decide whether all examples shouldl work or specs are
# followed)
2006-05-14 01:39:24 +00:00
Marcus Boerger
73069100fd - Change to use dedicated stream ops 2006-05-14 00:45:27 +00:00
Marcus Boerger
4f29479a22 - RFC 2397 meta data handling 2006-05-14 00:40:53 +00:00
Marcus Boerger
29c0f5bede - Initial RFC2397 support
# decoding is missing right now
2006-05-13 17:53:01 +00:00
Antony Dovgal
cf31c2f51a remove nonexistent tag 2006-04-25 12:50:14 +00:00
Antony Dovgal
7bde7e87eb MF51: fix possible substr_compare() crash
add new tests
2006-04-25 12:49:04 +00:00
Antony Dovgal
8a434f5df0 merge fix for #37158 into HEAD
add test
2006-04-22 23:49:39 +00:00
Antony Dovgal
8c086bcf8d make this test to work on all systems 2006-04-14 20:30:47 +00:00
Antony Dovgal
a44fe39f40 fix test title 2006-04-12 22:21:13 +00:00
Ilia Alshanetsky
490609ffc4 MFB51: fixed test 2006-04-10 23:48:38 +00:00
foobar
6af3218f81 more cleanup (lingering ini settings which do not exist anymore, etc.) 2006-04-10 15:09:15 +00:00
Sara Golemon
b6f62cabff Silence false positives on test results 2006-04-06 20:03:27 +00:00
Sara Golemon
78d1f7ea40 Silence false positives in test failures 2006-04-06 19:51:36 +00:00
Antony Dovgal
4e85f445f0 add test 2006-04-05 12:29:35 +00:00
Sara Golemon
53450fae8a Update tests for working with unicode 2006-04-03 05:57:40 +00:00
Dmitry Stogov
d1d9ce8fed Test for strtr() with non-ascii encoding 2006-03-27 14:37:14 +00:00
Dmitry Stogov
9d9adb2f35 Unicode support 2006-03-27 14:19:18 +00:00
Dmitry Stogov
c744d73d04 Unicode support 2006-03-27 13:37:47 +00:00
Dmitry Stogov
06cfa710b4 Fixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed test 2006-03-27 10:15:02 +00:00
Derick Rethans
3df5f17231 - Commit intermediate work so that I can hack on it on some plane. 2006-03-26 02:15:47 +00:00
Antony Dovgal
a4c6a19335 use set_time_limit(), this test takes forever on AIX 2006-03-22 19:27:28 +00:00
Antony Dovgal
1df7e13f48 fix #36741 (userstreams testcase have off-by-one error on fseek()) 2006-03-20 22:08:59 +00:00
Derick Rethans
2ffc93140d - Fixed bug in ucfirst() implementation. If the tmp_len = 0 then it will not
write the uppercased character to the buffer, but only returns the length of
  the uppercased letter as per
  http://icu.sourceforge.net/apiref/icu4c/ustring_8h.html#a50.
- Updated is_string():
  If Unicode semantics is turned on, return "true" for Unicode strings only.
  If Unicode semantics is turned off, return "true" for native strings only.
- Added is_binary() function that returns "true" for native strings only.
- Added first implementation of upgraded strtr function. It works except if
  combining sequences or surrogates are used in the non-array method of calling
  this function.
2006-03-17 14:29:05 +00:00
Dmitry Stogov
9d7ca01c8b Dropped allow_call_time_pass_reference, the error is maden E_STRICT. 2006-03-16 11:32:00 +00:00
Pierre Joye
bb1ec86f9d - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Dmitry Stogov
b029407078 fixed test file 2006-02-22 12:24:02 +00:00
Dmitry Stogov
36002f16c3 Fixed test file 2006-02-22 12:22:07 +00:00
Ilia Alshanetsky
a605fd39c4 More safe_mode nuking 2006-02-19 18:20:51 +00:00
Ilia Alshanetsky
2fb6ce838b MFB51: Fixed bug #36351 (parse_url() does not parse numeric paths properly). 2006-02-12 16:40:34 +00:00
Pierre Joye
154bb7c6a7 - MFB:
- revert last fix
- ensure that we are in 32bit
- do not try to compare the decimal values but hex, php does not have
  unsigned integer
2006-02-09 15:48:18 +00:00
Pierre Joye
6a158cf60d - MFB: #36306, crc32() result differs on 32-bit and 64-bit platforms 2006-02-07 00:24:56 +00:00
Ilia Alshanetsky
b031ac3fe4 MFB51: Fixed bug #36148 (unpack("H*hex", $data) is adding an extra
character to the end of the string).
2006-01-26 15:48:15 +00:00
Antony Dovgal
04ad1d1462 fix test 2006-01-19 21:27:15 +00:00
Dmitry Stogov
227295a4f1 Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Antony Dovgal
38b7befa2e fix typo 2006-01-16 20:41:00 +00:00
Marcus Boerger
2fe859febb - Fixed bug #36011 2006-01-14 15:22:19 +00:00
Ilia Alshanetsky
d2397a9301 MFB51: Fixed bug #35916 (Duplicate calls to stream_bucket_append() lead to
a crash).
2006-01-10 16:14:45 +00:00
Ilia Alshanetsky
0618bc66e8 MFB51: Fixed test 2006-01-10 03:18:52 +00:00
Antony Dovgal
0b9213d82b fix tests 2006-01-06 21:21:09 +00:00
Derick Rethans
648e20c1b6 - New implementation of the sunset algorithm. Fixes bugs #33789, #33671, #32820
and #30937.
#- Didn't add it to news yet, as we'll merge this to PHP 5.1.x (just need to
#  wait for Ilia to approve it for 5.1.2).
2006-01-04 12:57:04 +00:00
Ilia Alshanetsky
821e0586df MFB51: Fixed bug #35817 (unpack() does not decode odd number of hexadecimal
values)
2005-12-28 20:56:22 +00:00
Antony Dovgal
38722a19c1 add test for #35821 2005-12-27 22:35:18 +00:00
Antony Dovgal
fbe210b8b5 add new test 2005-12-26 15:15:10 +00:00
Antony Dovgal
1c7661a301 MFB: fix #35781 (stream_filter_append() can cause segfault) 2005-12-23 15:05:42 +00:00
Antony Dovgal
8f5f3d8408 MFB: add test for #35740 2005-12-20 09:52:05 +00:00
Marcus Boerger
25052ff3af - MFB 2005-12-16 23:21:38 +00:00
Antony Dovgal
f39eed623d MF51: fix test, add new one 2005-12-16 15:52:54 +00:00
Dmitry Stogov
ce89a8831e Fixed tests 2005-12-07 15:19:30 +00:00
Dmitry Stogov
25d6294650 Fixed test 2005-12-07 14:32:42 +00:00
Ilia Alshanetsky
5e2bdfcfcc MFB51: Added tests for new parse_url() and http_build_query() functionality. 2005-12-04 17:58:53 +00:00
Ilia Alshanetsky
7f66777bbf MFB51: Fixed bug #35427 (str_word_count() handles '-' incorrectly). 2005-11-29 16:14:47 +00:00
Dmitry Stogov
4192685b64 Fixed bug #35393 (changing static protected members from outside the class, one more reference issue) 2005-11-28 14:33:44 +00:00
Dmitry Stogov
376d30f441 Fixed bug #35229 (call_user_func() crashes when arguement_stack is nearly full) 2005-11-16 09:43:56 +00:00
foobar
aeb5830c20 MFB: fixed test 2005-11-01 22:42:03 +00:00
Ilia Alshanetsky
61c8e857e4 MFB51: Fixed bug #35022, #35019 (Regression in the behavior of key/current
functions).
2005-10-30 18:04:20 +00:00
Ilia Alshanetsky
1321658d91 MFB51: Fixed bug #35014 (array_product() always returns 0). 2005-10-30 13:46:34 +00:00
Dmitry Stogov
6ca72e6ea5 Fixed bug #34982 (array_walk_recursive() modifies elements outside function scope) 2005-10-28 10:06:53 +00:00
Dmitry Stogov
47893ed920 Reverted fix for bug #34934. The bug marked as bogus. 2005-10-24 07:01:43 +00:00
Dmitry Stogov
02090106d8 Fixed bug #34934 (offsetExists is not called from array_key_exists) 2005-10-21 15:20:30 +00:00
Dmitry Stogov
45699741e1 Fixed fgetcsv() and fputcsv() inconsistency. 2005-10-21 12:14:11 +00:00
Derick Rethans
194e2dd081 - MF51: Fixed bug #29361 (var_export() producing invalid code). 2005-10-17 15:03:12 +00:00
Antony Dovgal
2cf16cf942 fix test 2005-10-05 09:00:14 +00:00
Dmitry Stogov
7f89924239 Unicode support 2005-10-04 07:59:14 +00:00
Derick Rethans
161777af26 - Reimplement SORT_LOCALE_STRING with ICU locales. 2005-09-12 09:53:23 +00:00
Dmitry Stogov
b0b0f8147d Fixed craches in substr_replace() 2005-09-08 12:40:01 +00:00
Dmitry Stogov
176a76dbec MFH 2005-09-01 13:03:48 +00:00
Dmitry Stogov
cbd1c89e81 Fixed bug #34277 (array_filter() crashes with references and objects) 2005-09-01 11:58:41 +00:00
foobar
36ee721519 Test for bug #34214 2005-08-23 21:39:39 +00:00
Dmitry Stogov
8f6f97a77d Unicode support 2005-08-23 12:53:31 +00:00
Dmitry Stogov
641e6f11e4 Now fread() returns bool(false) on error instead of empty string 2005-08-22 16:42:39 +00:00
Dmitry Stogov
704b4d7b61 Fixed tests 2005-08-18 06:32:39 +00:00
Dmitry Stogov
263d919a20 Unicode support for range() 2005-08-17 15:12:03 +00:00
Dmitry Stogov
6d62ccc769 Unicode support 2005-08-17 14:01:06 +00:00
Dmitry Stogov
8c63822f0d Fixed implode() bugs 2005-08-17 07:59:31 +00:00
Ilia Alshanetsky
b3d7ae9399 Fixed bug #34148 (+,- and . not supported as parts of scheme). 2005-08-16 14:10:13 +00:00
Dmitry Stogov
f79fed6286 Unicode support 2005-08-16 10:18:43 +00:00
Dmitry Stogov
7b7a4aac86 Unicode support 2005-08-16 09:25:04 +00:00
Dmitry Stogov
238a40418b Unicode support 2005-08-16 09:11:00 +00:00
Dmitry Stogov
08fe0d1da3 Test engine is improved to support unicode mode 2005-08-15 14:37:55 +00:00
Dmitry Stogov
0bdfac1169 Tests are fixed according to new var_dump()/pront_r() format (to pass in non-unicode mode) 2005-08-15 07:55:41 +00:00
foobar
8429f174b8 fix test 2005-08-11 23:50:04 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00
Dmitry Stogov
b03e53836e Fixed bug #33940 (array_map() fails to pass by reference when called recursively) 2005-08-10 08:23:39 +00:00
Dmitry Stogov
655e19326d Fixed bug #29253 (array_diff with $GLOBALS argument fails) 2005-08-10 07:43:16 +00:00
Johannes Schlüter
69303b58a4 - Added option to strstr() and stristr() to get a particular haystack component 2005-08-09 20:49:19 +00:00
foobar
3982f722c2 Skip test on solaris 2005-08-05 09:19:43 +00:00
Dmitry Stogov
98e70ab585 Fixed bug #33989 (extract($GLOBALS,EXTR_REFS) crashes PHP) 2005-08-04 10:34:39 +00:00
foobar
be10050d8f Added test for bug #25359 2005-07-30 13:37:57 +00:00
Ilia Alshanetsky
29bf2d3a09 Fixed bug in str_word_count() when charlist if specified and "word" starts
with a character found inside the charlist.
2005-07-23 19:44:13 +00:00
Ilia Alshanetsky
c933634253 Fixed crash inside stream_get_line() when length parameter equals 0. 2005-07-05 19:24:07 +00:00
Dmitry Stogov
1d33a3e95e Fixed bug #31158 (array_splice on $GLOBALS crashes) 2005-07-04 10:01:10 +00:00
Derick Rethans
d3c83378eb - Move mktime/gmmktime related tests from ext/standard to ext/date. 2005-07-03 14:36:59 +00:00
Derick Rethans
ed02f202f0 - Fixed bug #30096 (gmmktime does not return the corrent time).
- Re-implemented mktime and gmmktime with new date time library.
- Added testcase for bug #30096, updated test cases for E_STRICT warning of
  is_dst parameter usage for mktime/gmmktime.
2005-07-03 14:27:31 +00:00
Derick Rethans
e155585e6e - Reimplemented date and gmdate with new timelib code.
- Removed old date/gmdate implementations.
- Moved date() related testcases to ext/date/tests.
- Implemented bug #33452.
- Fixed testcase for bug #27719 - there is no timezone called "EST5DST".
2005-06-30 21:38:06 +00:00
Ilia Alshanetsky
49c233212b Fixed bug #32160 (copying a file into itself leads to data loss). 2005-06-22 16:13:47 +00:00
foobar
8566f52297 "64M should be enough for everyone." -- Jani, 2005 :) 2005-06-22 12:54:04 +00:00
Ilia Alshanetsky
67ea97dfdf Added offset & length parameters to substr_count() function. 2005-06-18 18:23:12 +00:00
foobar
a104447d46 Make sure $_ENV is populated 2005-06-18 02:24:37 +00:00
foobar
f2ddefcc56 - This is no bug. 2005-06-18 02:06:31 +00:00
Antony Dovgal
8d2dd7901c add news entry and test for bug #33382 2005-06-17 10:53:15 +00:00
Derick Rethans
b7ea5dc5f4 - Move strtotime() related testcases to ext/date/tests. 2005-06-16 17:35:08 +00:00
Derick Rethans
4fb4cac65c - Add my new timelib and ext/date. For now only strtotime() makes use of this. 2005-06-14 21:32:29 +00:00
foobar
7101cd821a - It is nice to close the script with ?>.. 2005-06-07 21:39:54 +00:00
foobar
b185ee0315 - Fixed bug with unserialize() with "exotic" letters in class names
# Patch by: Christian Schneider <cschneid@cschneid.com>
2005-05-31 09:41:36 +00:00
Antony Dovgal
4ce95ef1ea fix bug #33076 (str_ireplace() incorrectly counts result string length and may cause segfault)
add test
2005-05-20 14:23:42 +00:00
Andrey Hristov
0e459321bf move math_standard_deviation and math_variance to the stats PECL extension 2005-05-13 10:11:19 +00:00
Wez Furlong
867e619154 add test for bug 27508 2005-05-11 02:01:44 +00:00
Andrey Hristov
0c268fa0f7 fix the test too 2005-05-10 15:27:49 +00:00
Andrey Hristov
2c0959689b add possibility to calculate the standard deviation and the variance
on a sample - the formulae are slightly different.
2005-05-02 12:29:38 +00:00
Andrey Hristov
7a4eb25870 add also math_variance() which uses the same calculation as math_std_dev() 2005-05-02 12:12:04 +00:00
Andrey Hristov
6141c5690d fix division by zero. throw an warning if the array is empty. 2005-05-02 11:01:14 +00:00
Andrey Hristov
fb0c19da1c add math_std_dev() 2005-05-02 09:17:49 +00:00
Ilia Alshanetsky
8281f41f3e Fixed bug #32813 (parse_url() does not handle scheme-only urls properly). 2005-04-25 23:47:37 +00:00
foobar
e6a70fd0d3 Added test for bug #32647 2005-04-21 14:17:52 +00:00
foobar
714080f10f bug => Bug 2005-04-21 14:04:12 +00:00
foobar
e5697cc0ad Add some more cases 2005-04-15 22:25:03 +00:00
foobar
5efe7cf99a Added test for strval() function 2005-04-15 22:19:53 +00:00
Antony Dovgal
36d13eb7c9 add testcase for bug #30833 2005-04-13 08:23:39 +00:00
Marcus Boerger
58d45bfe2e - Add new test 2005-04-05 09:23:14 +00:00
foobar
2887f89075 remove empty lines 2005-04-04 18:14:27 +00:00
foobar
28b13f50e6 Added testcase for bug #30362 2005-04-04 18:06:16 +00:00
Ilia Alshanetsky
ca10457a58 Fixed bug #32530 (chunk_split() does not append endstr if chunklen is
longer then the original string).
2005-04-03 18:08:40 +00:00
foobar
a075b651be Added SKIPIF 2005-03-22 16:03:10 +00:00
foobar
77910ec63f Addded test for locale aware sort 2005-03-22 15:38:25 +00:00
Marcus Boerger
e38141478a - Check another incarnation of bug #30266 2005-03-19 14:24:17 +00:00
Ilia Alshanetsky
f56e5c045c A more performance friendly version of Andrey's patch. 2005-03-12 17:51:19 +00:00
Andrey Hristov
f15c24d44c added an optional third parameter to str_word_count(), which is used as
a list of characters which are considerd "is_alpha()". Thus V14GR4 can
be extracted as one word if the user supplies "14" as charlist.
FR #31560
# Nuno, are you wishing to document this one too? :)
2005-03-12 14:41:20 +00:00
Andrey Hristov
cc39b51d2d add a test file 2005-03-12 12:59:53 +00:00
Marcus Boerger
1d85c3fe80 - Times have changed - php 5 relevant version now 2005-03-11 00:22:28 +00:00
Marcus Boerger
04a08c757a - Allow to work under php 5 2005-03-11 00:11:35 +00:00
Derick Rethans
ff1687731d - Fixed bug #32021: Crash caused by range('', 'z') 2005-02-18 13:37:23 +00:00
Ilia Alshanetsky
cd0435b15a Fixed test. 2005-02-13 19:23:53 +00:00
foobar
71b9c41a6b fix test 2005-02-04 23:23:34 +00:00
Ilia Alshanetsky
42155f6028 Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar) 2005-01-27 16:37:34 +00:00
foobar
197711bb7d Add test for bug #31402 2005-01-18 11:36:44 +00:00
Dmitry Stogov
ea6ea21939 Fixed bug #31190 (exceptions in call_user_func_array()) 2005-01-18 10:38:04 +00:00
Moriyoshi Koizumi
ee18958f98 - Fix htmlentities() / html_decode_entity() UTF-8 related bugs
initially reported by Kamesh Jayachandran
2005-01-11 20:44:04 +00:00
foobar
32d86482cc update test to include negative floats as strings too 2005-01-10 16:00:08 +00:00
Marcus Boerger
5516915115 - Add new test 2005-01-08 13:47:05 +00:00
Marcus Boerger
344d2210c2 - Unify 2005-01-08 13:46:18 +00:00
Moriyoshi Koizumi
88ce94a3c2 - Add testcases for bug #29493 and #31213. 2005-01-02 06:51:03 +00:00
Magnus M��tt�
774a978ea9 Fix test so it doesn't hang make test on HP-UX. 2004-12-21 04:34:22 +00:00
Derick Rethans
13c2cbb515 - MF43: Fixed bug #31072 (var_export() does not output an array element with an
empty string key). (Derick)
2004-12-17 14:40:39 +00:00
foobar
ce742b08b0 - Fix typo (avaliable -> available). (bug #28725) 2004-12-16 12:34:32 +00:00
Ilia Alshanetsky
cc17322c14 MFB: test fix. 2004-12-14 17:43:53 +00:00
Antony Dovgal
b6b8bf0010 fix array_walk_recursive() so it doesn't reuse cached fci between calls
and add test for it
2004-12-03 17:43:23 +00:00
Derick Rethans
b6f9b5c693 - Added testcase for bug #30695 2004-11-29 10:15:03 +00:00
Dmitry Stogov
5ece0ecdfb Test was fixed. 2004-11-23 17:21:33 +00:00
Derick Rethans
a6ded1178e - Added test for bug #28599 2004-11-23 09:40:07 +00:00
Marcus Boerger
bb77132391 - Add new test 2004-10-04 17:53:55 +00:00
Ilia Alshanetsky
52ee529ef4 Make test more generic.
# Thanks Marcus.
2004-09-27 17:52:25 +00:00
Marcus Boerger
32e478b9fc - Add fputcsv() (David Sklar) 2004-09-26 21:55:22 +00:00
Ilia Alshanetsky
d6501f756a fixed test output. 2004-09-26 19:12:06 +00:00
Marcus Boerger
3cdd2bcb01 - Add more tests 2004-09-26 18:28:07 +00:00
foobar
36a76f403a Test for bug #30069 2004-09-15 13:54:16 +00:00
Marcus Boerger
91af7f394f - Add some checks when unserializing data to prevent buffer overflows 2004-09-05 16:29:05 +00:00
Marcus Boerger
94c4feef12 Fix test 2004-09-02 18:24:58 +00:00
Andi Gutmans
d1b29ad4c2 - There's no reason why gettimeofday() shouldn''t return the same time in
successive calls; this test fails spuriously on Linux/x86_64 (which has
a particularly fast gettimeofday() implementation).
- Joe Orton <jorton@redhat>
2004-07-23 21:53:16 +00:00
Andrey Hristov
5e5d2640fb add array_:
intersect_key()
intersect_ukey()
diff_key()
diff_ukey()
The first two by a patch of Cristiano Duarte. The second two were
implemented in almost the same way except one small difference.
2004-07-21 21:17:56 +00:00
Moriyoshi Koizumi
5ff410efdf - Fix test name 2004-07-19 18:49:20 +00:00
Moriyoshi Koizumi
fae637021d - Oops, actual PR # is 29119, not 29199... 2004-07-19 17:51:41 +00:00
Moriyoshi Koizumi
46bc2c5ae2 - Fix bug #29199 (html_entity_decode() misbehaves with UTF-8) 2004-07-19 17:46:30 +00:00
Ilia Alshanetsky
8840191d91 Fixed bug #28633 (sprintf incorrectly adding padding to floats). 2004-07-18 17:27:49 +00:00
Andrey Hristov
96f5c697dd Add support for negative values of limit of explode(). If limit is negative
then all components are returned except the last abs(limit) ones.
2004-07-18 11:34:28 +00:00
Ilia Alshanetsky
a75608c1de Fixed Bug #29075 (strnatcmp() incorrectly handles whitespace).
# Original Patch by: curt@php.net
2004-07-15 01:26:03 +00:00
Andrey Hristov
0eef82a733 fixing bug #28974 : overflow in array_slice()
The same kind of overflow appeared in array_splice(), substr() and
substr_replace()
2004-07-11 21:15:04 +00:00
Andrey Hristov
268d3d7ba3 fixing bug #28739
array_*diff() and array_*intersect() not clearing the fci cache before work.
FCI call cache was introduced in HEAD. All functions that perform sorting
of arrays clear the fci cache before work. array_*diff() and\ array_*intersect()
were somehow missed to be updated.
2004-07-11 19:20:05 +00:00
Andrey Hristov
bc69bdb01a fixing the name of the test 2004-07-11 18:19:43 +00:00
Andrey Hristov
7af08c0c34 fixing bug 29038:
EXTR_PREFIX_SAME is prevented from creating a new variable when the key
is a empty string. EXTR_PREFIX_ALL is also prevented from doing that,
but works for numbers.
2004-07-11 18:18:05 +00:00
Moriyoshi Koizumi
8989a96789 - Add test for bug #28325. 2004-07-05 07:53:41 +00:00
Andrey Hristov
44de5a0e8e fixing the tests so to work with the new var_dump() (dumping private and
protected member variables)
2004-05-20 21:13:14 +00:00
Marcus Boerger
29cfd6d24f - Remove unused blocks 2004-05-19 08:56:50 +00:00
Marcus Boerger
d94136fc30 - Remove unused blocks 2004-05-19 08:45:46 +00:00
Ilia Alshanetsky
0a38683b14 Correct output. 2004-05-17 20:58:57 +00:00
Marcus Boerger
ed5ce047db - Add new test 2004-05-16 14:48:45 +00:00
Ilia Alshanetsky
d24465ba8a Fixed bug #28386 (wordwrap() wraps lines 1 character too soon). 2004-05-13 17:44:23 +00:00
Ilia Alshanetsky
91e9545f4f Fixed bug #28228 (number_format() does not allow empty decimal separator). 2004-04-30 13:26:01 +00:00
Derick Rethans
b91a947d5e - Added test and not the diff ;-) 2004-04-08 16:17:35 +00:00
foobar
5d3900a2e9 remove crap 2004-04-08 15:58:35 +00:00
Derick Rethans
9d4f01a8af - Test case for bug #20382 2004-04-08 14:18:23 +00:00
Derick Rethans
f1141d79c6 - Fixed comment and double 0 2004-04-04 12:45:02 +00:00
Derick Rethans
794846e5c5 - One more test for a date/time related bug. 2004-04-04 12:42:13 +00:00
Ilia Alshanetsky
c85843aec1 MFB: Revert patch for bug #27782. 2004-04-01 22:07:42 +00:00
Derick Rethans
b2ed70e4e0 - MFB: Fixed bug #27780 (strtotime(+1 xxx) returns a wrong date/time) 2004-04-01 21:40:56 +00:00
Derick Rethans
88c17817a9 - Fixed bug #27822 (is_resource() returns TRUE for closed resources) 2004-04-01 08:54:44 +00:00
Sara Golemon
72616e6eae BugFix#27619
Filters not applied to pre-buffered stream data.
(esp. http:// streams)
2004-03-31 23:48:59 +00:00
Ard Biesheuvel
81cfb1b312 Make time tests more robust against differences in implementation
# FreeBSD mktime() returns -1 if is_dst==1 and no DST timezone is set
2004-03-31 01:00:55 +00:00
Ilia Alshanetsky
ec4655f864 Fixed bug #27782 (Wrong behaviour of next(), prev() and each()). 2004-03-30 19:08:43 +00:00
Ard Biesheuvel
04d178f79c Prevent test from failing on least significant digit 2004-03-30 12:36:44 +00:00
Ilia Alshanetsky
f7fd3a7dcc Removed extra spaces that cause the test to fail. 2004-03-29 21:57:29 +00:00
Rasmus Lerdorf
1ece5eb5ad MFB test case for bug #27719 and improve comments in this tricky DST code 2004-03-28 15:03:56 +00:00
Marcus Boerger
bc0373b880 Portable solution for bug #27646 that works correct on Windows, too 2004-03-27 00:50:41 +00:00