Commit Graph

5319 Commits

Author SHA1 Message Date
Raghubansh Kumar
4799047e07 New testcases for strncasecmp() function 2007-09-14 18:26:44 +00:00
Raghubansh Kumar
aafdc266bf New testscases for chop() function 2007-09-14 18:24:47 +00:00
Zoe Slattery
619b218e9a Changing to use %a to match recent run-tests.php patch 2007-09-14 16:28:54 +00:00
Nuno Lopes
40085b06f2 changes to run-tests.php:
- change %s to %a
- make %s = [^\r\n]+
- fix tests accordingly
2007-09-14 15:28:03 +00:00
Nuno Lopes
b121ffae92 fix expected output 2007-09-14 15:04:19 +00:00
Raghubansh Kumar
0cb6cfcd87 better comments 2007-09-14 14:31:55 +00:00
Raghubansh Kumar
f22626ba5a New testcases for wordwrap() function 2007-09-14 14:14:48 +00:00
Raghubansh Kumar
4903f48eaa fix test 2007-09-14 09:38:13 +00:00
Nuno Lopes
b0e393e543 attemp to set locale if it exists. fix skip condition 2007-09-13 19:51:34 +00:00
Nuno Lopes
e3e2a62d44 fix test expected output 2007-09-13 18:55:28 +00:00
Nuno Lopes
69fbaf7d10 fix skip reasons. the word 'skip' should be followed by a single space and doesnt need any \n at the end 2007-09-13 18:24:26 +00:00
Ilia Alshanetsky
2cfdcd265d Added a note indicating that the tests may fail to due libc implementation 2007-09-13 15:36:37 +00:00
Jani Taskinen
859a017f95 MFH: cs/ws 2007-09-13 07:42:12 +00:00
Stanislav Malyshev
f39d5a2f21 docs say dl() parameter can be filename only - enforce it 2007-09-13 00:56:31 +00:00
Nuno Lopes
b24d4ddac9 fix bug #39651: proc_open() append mode doesnt work on windows 2007-09-12 11:42:43 +00:00
Raghubansh Kumar
99c6da86f3 marked with Bug #42038 2007-09-12 09:47:35 +00:00
Raghubansh Kumar
5e6724b122 marked with Bug# 42638 2007-09-12 08:27:35 +00:00
Jani Taskinen
3327653e19 - Fix tests (we are not interested what the old value was for the ini option) 2007-09-11 10:23:04 +00:00
Raghubansh Kumar
b33ea59337 fix test 2007-09-11 05:21:40 +00:00
Antony Dovgal
a09eadc95b fix tests 2007-09-10 10:28:54 +00:00
Antony Dovgal
99695744ac split one more ten-in-one test
and fix \v\f stuff while we're here..
2007-09-09 22:28:06 +00:00
Pierre Joye
793956a0e1 - #42592, remove ending dot in warning msg 2007-09-07 18:23:58 +00:00
Raghubansh Kumar
a14ef42c0c New testcases for ucwords() function 2007-09-07 14:44:52 +00:00
Raghubansh Kumar
67b4492c47 New testcases for strncmp() function 2007-09-07 14:20:12 +00:00
Raghubansh Kumar
cf2121887c New testcases for stripslashes() function 2007-09-07 13:51:26 +00:00
Zoe Slattery
b7a47a439b fixing error in expected output 2007-09-07 10:28:03 +00:00
Ilia Alshanetsky
022d4fc0b6 Added missing safety checks for 2nd parameter of setlocale() function 2007-09-07 02:28:42 +00:00
Derick Rethans
e280715150 - MFH: Add a comment why not ~0 or -1. 2007-09-06 13:28:05 +00:00
Raghubansh Kumar
af40765f8f New testcases for addslashes() function 2007-09-06 04:01:25 +00:00
Ilia Alshanetsky
72f910c012 Fixed possible buffer overflows inside the fnmatch() and glob() functions 2007-09-04 12:51:49 +00:00
Zoe Slattery
b78b25a336 Test cases for sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh. 2007-09-04 09:01:02 +00:00
Raghubansh Kumar
5096c8d232 fix tests 2007-09-04 08:37:51 +00:00
Ilia Alshanetsky
09cad322fa Fixed bug #42468 (Write lock on file_get_contents fails when using a
compression stream).
2007-09-03 02:53:56 +00:00
Derick Rethans
152d379950 - MFH: Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
64-bit PHP).
2007-09-01 18:38:39 +00:00
Jani Taskinen
cac7e107c6 MFH: ws + protos 2007-08-31 10:46:19 +00:00
Jani Taskinen
cd0cfdfc39 MFH 2007-08-31 07:42:05 +00:00
Raghubansh Kumar
5081b960e5 fix test: do not run when noatime set 2007-08-30 04:04:58 +00:00
Raghubansh Kumar
16980248cc fix test: do not run on MACOS 2007-08-29 10:11:40 +00:00
Raghubansh Kumar
3b32190c91 fix test, do not run on macos 2007-08-29 04:38:09 +00:00
Zoe Slattery
9dfb01d3b1 adding check for rc1 to version-compare test 2007-08-24 14:47:50 +00:00
Derick Rethans
80b4ee9f44 - MFH: Make version_compare() also understand the lower case variant of "RC". 2007-08-23 18:38:42 +00:00
Raghubansh Kumar
ede06426ee fix tests 2007-08-23 09:32:37 +00:00
Jani Taskinen
8ab9984707 MFH:- Fixed bug #42365 (glob() crashes with invalid flags) 2007-08-22 14:59:45 +00:00
Raghubansh Kumar
857aae2bd7 fix test : skip if user is root 2007-08-20 04:07:02 +00:00
Raghubansh Kumar
7f0be4f49d fix tests 2007-08-20 03:37:39 +00:00
Raghubansh Kumar
b1080faf44 fix test: skip if user is root 2007-08-20 03:12:36 +00:00
Jani Taskinen
b27d339ddb MFH:- Fixed bug #41904 (proc_open with empty env array) 2007-08-17 10:42:30 +00:00
Jani Taskinen
eb4a23c5ca - Check the length too (just like in HEAD) 2007-08-16 23:05:43 +00:00
Jani Taskinen
a3e6f47ea1 MFH:- Fix bug #41946 (ip2long("") should return FALSE) 2007-08-16 22:17:10 +00:00
Raghubansh Kumar
f2038206cc fix tests 2007-08-16 16:31:25 +00:00
Raghubansh Kumar
33f46cfe00 Fix tests 2007-08-14 14:07:46 +00:00
Raghubansh Kumar
5c98effea0 New testcase for clearstatcache() function 2007-08-13 11:40:57 +00:00
Raghubansh Kumar
4ed53a6dce New testcase for parse_ini_file() function 2007-08-13 11:34:42 +00:00
Ilia Alshanetsky
fb8e3abe88 Fixed copy test as well as the directory check inside copy() function 2007-08-12 17:09:59 +00:00
Ilia Alshanetsky
df9fbb6a73 Fixed test 2007-08-12 16:29:43 +00:00
Ilia Alshanetsky
69c00b75bb WS 2007-08-12 16:28:07 +00:00
Raghubansh Kumar
b6e86f054c New testcases for fgetss() function 2007-08-12 06:53:04 +00:00
Raghubansh Kumar
6aa6434abf More new testcases for fopen() & fclose() functions 2007-08-12 05:16:19 +00:00
Antony Dovgal
ba1cfb71ae MFH 2007-08-11 22:42:29 +00:00
Antony Dovgal
5c3fb1ec46 MFH: fix tests 2007-08-11 22:18:45 +00:00
Rui Hirokawa
e2a13a5c50 fixed compilation error: S_ISDIR is undefined. 2007-08-11 04:34:59 +00:00
Raghubansh Kumar
ceeeed9d19 New testcases for fscanf() function 2007-08-10 17:54:48 +00:00
Raghubansh Kumar
7893178d8d New testcases for htmlentities() and htmlspecialchars() 2007-08-10 15:06:17 +00:00
Antony Dovgal
e2a79ed73e .. and remove the original one 2007-08-10 12:30:21 +00:00
Antony Dovgal
296147ea6e split the test 2007-08-10 12:30:09 +00:00
Jani Taskinen
c4be8ab831 - Fix the fix for bug #42233 2007-08-10 12:17:26 +00:00
Antony Dovgal
e87a7388b7 fix tests 2007-08-10 12:11:46 +00:00
Antony Dovgal
7fbcb745ab nuke the dot 2007-08-10 08:58:44 +00:00
Raghubansh Kumar
9bdaf6ab55 more new testcases for tempnam() function 2007-08-10 03:31:56 +00:00
Raghubansh Kumar
270414f3b5 New testcases for strtolower() and strtoupper() functions 2007-08-10 03:03:49 +00:00
Raghubansh Kumar
40f54b6c21 More new testcases for copy() function 2007-08-10 02:57:30 +00:00
Ilia Alshanetsky
e9b8f37341 Fixed bug #42243 (copy() does not ouput an error when the first arg is a
dir).
2007-08-10 00:36:57 +00:00
Raghubansh Kumar
f852cf4c91 New testcases for tempnam() function 2007-08-09 03:34:00 +00:00
Antony Dovgal
08286bcb9f fix ws & folding 2007-08-08 22:32:24 +00:00
Raghubansh Kumar
9bd0045359 New Testcases for fgetcsv() function 2007-08-08 13:13:18 +00:00
Raghubansh Kumar
af3de070e5 More testcases for fputcsv() function 2007-08-08 13:08:17 +00:00
Jani Taskinen
0d5dd8829b - Fixed bug #42233 (Problems with æøå in extract()). 2007-08-08 07:41:09 +00:00
Raghubansh Kumar
83928238c2 New testcases for fputcsv() function 2007-08-08 03:53:07 +00:00
Jani Taskinen
c07aeab868 Touch generated file 2007-08-06 18:33:29 +00:00
Jani Taskinen
6bd9f53a63 - fix ws 2007-08-06 18:23:16 +00:00
Ilia Alshanetsky
57f3c5b343 Fixed compiler warning 2007-08-06 16:45:23 +00:00
Ilia Alshanetsky
cd32b4e2bb Fixed bug #42208 (substr_replace() crashes when the same array is passed
more than once)
2007-08-05 14:47:42 +00:00
Sara Golemon
6f25b84a3a MFH(r-1.49)Bugfix#36492 Userfilters can leak buckets 2007-08-04 07:53:00 +00:00
Antony Dovgal
d78c7c9421 fix test 2007-07-31 07:09:08 +00:00
Ilia Alshanetsky
f8217712a4 Fixed bug #42142 (substr_replace() returns FALSE when length > string
length).

[doc] Adjust length validation check inside substr_replace() to be similar
to that inside substr() so that excessive length is truncated to string
length.
2007-07-30 14:22:06 +00:00
Jani Taskinen
68b823564d MFH: - Fixed bug #42107 (sscanf broken when using %2$s type format parameters) 2007-07-26 15:24:06 +00:00
Jani Taskinen
9fe59f509c MFH: cs + ws fixes 2007-07-26 14:30:22 +00:00
Raghubansh Kumar
dcc62b53bf 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:38:24 +00:00
Dmitry Stogov
2d3d745bd9 Fixed EOF handling in case of reading from file opened in write only mode. 2007-07-25 16:34:06 +00:00
Dmitry Stogov
af0e8612af Fixed test 2007-07-24 20:08:33 +00:00
Ilia Alshanetsky
5cdae5bdbb Fixed bug #42072 (No warning message for clearstatcache() with arguments). 2007-07-23 23:03:09 +00:00
Antony Dovgal
48f4ea9fba fix test 2007-07-23 22:14:47 +00:00
Antony Dovgal
a13e153942 remove the tests, they've been splitted into smaller ones 2007-07-23 19:19:09 +00:00
Jani Taskinen
e8fcd7477c MFH: Fixed str_pad() when passed huge negative pad length. 2007-07-23 13:27:59 +00:00
Jani Taskinen
0dd60dd1cd MFH: fix descriptions 2007-07-23 10:47:13 +00:00
Antony Dovgal
ecb986892c more tests 2007-07-23 09:14:34 +00:00
Dmitry Stogov
1f5310747e Fixed wrong expectation 2007-07-23 08:58:17 +00:00
Raghubansh Kumar
e4bf2268bf more testcases for glob() function 2007-07-23 07:32:08 +00:00
Raghubansh Kumar
6e8d7aa85d New testcases for glob() function 2007-07-23 05:22:59 +00:00
Raghubansh Kumar
8c01bf9ffb More new testcases for fread() function 2007-07-22 17:41:25 +00:00
Raghubansh Kumar
58bae48bf4 New testcases for fread() functions 2007-07-22 17:27:35 +00:00
Ilia Alshanetsky
3fea65b0dc Fixed "Floating point exception" inside wordwrap() 2007-07-22 15:55:16 +00:00
Raghubansh Kumar
a6278717f5 New testcases for stat() function on windows 2007-07-22 12:37:09 +00:00
Raghubansh Kumar
66e901b9d5 New testcases for ftruncate() function 2007-07-22 12:35:03 +00:00
Raghubansh Kumar
6b81cef355 fix tests 2007-07-22 12:26:18 +00:00
Raghubansh Kumar
5b83920434 New testcases for umask() function 2007-07-21 18:16:17 +00:00
Raghubansh Kumar
1797c6870e New testcases for lstat() and stat() functions 2007-07-21 17:35:37 +00:00
Raghubansh Kumar
a47f464e6e New testcases for is_file() function 2007-07-21 17:34:03 +00:00
Raghubansh Kumar
7cefd7792c New testcases for is_dir() function 2007-07-21 17:31:42 +00:00
Raghubansh Kumar
0e6b39f515 New testcases for fseek(), ftell() and rewind() functions 2007-07-21 17:30:23 +00:00
Raghubansh Kumar
ff2a77b1d3 New testcases for fflush() function 2007-07-21 17:14:50 +00:00
Raghubansh Kumar
0b4fc7c768 New testcases for fgetc() and fgets() functions 2007-07-21 07:55:07 +00:00
Jani Taskinen
a22a6711ad MFH: Fixed compile warnings 2007-07-21 01:24:26 +00:00
Raghubansh Kumar
d62163292f Fix for fill_file() in file.inc
New testcases for readfile() and umask() functions
2007-07-20 18:07:02 +00:00
Antony Dovgal
93af1c1f84 MFH: fix #41989 (move_uploaded_file() & relative path in ZTS mode) 2007-07-19 15:49:45 +00:00
Antony Dovgal
a091268eef MFH 2007-07-19 15:15:26 +00:00
Antony Dovgal
0806c6c804 add new tests from HEAD 2007-07-19 15:04:15 +00:00
Antony Dovgal
297f069eb6 MFH 2007-07-19 12:16:30 +00:00
Raghubansh Kumar
9d7e023e37 New testcases for filesystem handling function : unlink() 2007-07-18 04:59:46 +00:00
Antony Dovgal
aaa16ad82b initialize glob struct 2007-07-16 20:29:21 +00:00
Raghubansh Kumar
38002b9f7f fix tests 2007-07-16 17:55:39 +00:00
Raghubansh Kumar
c9aedbdda1 New testcases 2007-07-16 17:34:44 +00:00
Antony Dovgal
2399b208db MFH: split test 2007-07-16 10:59:17 +00:00
Antony Dovgal
241e66a708 MFH: split the test 2007-07-13 16:47:39 +00:00
Zoe Slattery
a7b240b337 Assert test cases 2007-07-13 15:20:12 +00:00
Jani Taskinen
28a2fe07b4 MFH: close file handles 2007-07-12 11:14:22 +00:00
Jani Taskinen
efe310579e MFH: - Fixed bug #41815 (Concurrent read/write fails when EOF is reached) 2007-07-12 11:03:46 +00:00
Antony Dovgal
9069dde1a4 fix test 2007-07-12 09:26:42 +00:00
Johannes Schlüter
dc8d09bbbd - MFH: Always enable mail() function 2007-07-11 17:36:56 +00:00
Jani Taskinen
3067f6a937 MFH: Nuked unnecessary AC_MSG_CHECKING 2007-07-11 11:56:03 +00:00
Jani Taskinen
a0a2b24df5 MFH: cleanup, removed unnecessary macro definitions 2007-07-11 11:50:37 +00:00
Raghubansh Kumar
f0a8003c23 better check for skip 2007-07-11 09:13:47 +00:00
Stanislav Malyshev
37781a5a84 Escape mail.force_extra_parameters value 2007-07-10 20:21:24 +00:00
Dmitry Stogov
ca854215db Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode 2007-07-10 13:21:11 +00:00
Raghubansh Kumar
c5254dbc1d These testcases are now split into smaller testcases, hence being deleted 2007-07-09 17:55:34 +00:00
Raghubansh Kumar
f159642284 Fix and smaller testcases for mkdir_rmdir_variation.phpt, popen_pclose_error.phpt, readlink_realpath_basic.phpt, readlink_realpath_error.phpt & readlink_realpath_variation.phpt 2007-07-09 17:38:33 +00:00
Dmitry Stogov
539f67ed8f 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-09 17:27:24 +00:00
Dmitry Stogov
fe9a826605 Proper fix for MOPB-29 2007-07-09 14:31:56 +00:00
Raghubansh Kumar
a1fdbe88a6 These files are now split into one or more smaller testcases, hence being deleted. 2007-07-08 12:41:44 +00:00
Raghubansh Kumar
0affea112a Run only on 32-bit OS 2007-07-08 05:01:11 +00:00
Raghubansh Kumar
fda3f33554 Fix and smaller testcases for is_readable_variation.phpt, is_executable_variation.phpt & is_writable_variation.phpt 2007-07-06 18:30:46 +00:00
Raghubansh Kumar
28b73af90f better check for root user 2007-07-06 03:40:31 +00:00
Raghubansh Kumar
87b2a52a16 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:53:34 +00:00
Raghubansh Kumar
9beffb1971 Smaller testcases for 006_variation.phpt, file_get_contents_file_put_contents_variation.pht, 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:10:01 +00:00
foobar
320a41603e MFH: - Fixed bug #41865 (fputcsv(): 2nd parameter is not optional) 2007-07-01 21:28:16 +00:00
Antony Dovgal
e4450111cc divide the test into smaller tests 2007-06-29 12:56:49 +00:00
Antony Dovgal
030252067e MFH 2007-06-28 16:07:12 +00:00
Antony Dovgal
4948afff78 MFH 2007-06-28 15:27:09 +00:00
Antony Dovgal
93dfce49ca remove 32bit restriction 2007-06-28 15:10:57 +00:00
Antony Dovgal
6b75f7bb82 more smaller tests 2007-06-28 15:04:47 +00:00
Antony Dovgal
b4e74fe9b5 MFH 2007-06-28 14:51:35 +00:00
Antony Dovgal
ce22f44493 MFH: fix #41445 (parse_ini_file() has a problem with certain types of integer as sections) 2007-06-26 12:10:08 +00:00
Antony Dovgal
7210ab5695 fix ws 2007-06-26 11:51:14 +00:00
Antony Dovgal
58ac8d559d MFH: fix #41795 (checkdnsrr does not support DNS_TXT type)
patch by lucas at facebook dot com
2007-06-26 11:04:55 +00:00
Antony Dovgal
76cf8c0636 fix test 2007-06-25 21:24:44 +00:00
Antony Dovgal
5daef5cd4a fix #41773 (php_strip_whitespace sends headers with errors suppressed)
MFB is not needed, output buffering in HEAD handles this situation correctly
2007-06-25 21:12:47 +00:00
Antony Dovgal
be9e02fd74 fix test 2007-06-25 17:10:14 +00:00
Dmitry Stogov
48658c2512 Fixed tests 2007-06-25 09:01:53 +00:00
Dmitry Stogov
506bd484dc Better fix for bug #41655 2007-06-25 08:40:20 +00:00
Ilia Alshanetsky
67a2cca930 Fixed bug #41685 (array_push() fails to warn when next index is already
occupied).
2007-06-24 17:37:01 +00:00
Zoe Slattery
4d503a8807 Reverting test to original after dicsussion with Raghu. Will open bugzilla for Linux/VMware behaviour 2007-06-22 19:18:37 +00:00
Zoe Slattery
3725bf6d5f Changed expected output so that this runs on Linux under VMWare as well as Linux. 2007-06-22 14:46:18 +00:00
Pierre Joye
1b894c90e7 - MFB: add test cases for #41655 2007-06-22 12:35:41 +00:00
Raghubansh Kumar
7a1b48eeff New tests for file system handling functions 2007-06-22 08:11:45 +00:00
Raghubansh Kumar
e647140a82 New tests for file system handling functions 2007-06-21 21:12:18 +00:00
Raghubansh Kumar
993b689a2e New functons to compare stat array 2007-06-21 21:06:47 +00:00
Dmitry Stogov
70105187db Proper fix for bug #39215 Inappropriate close of stdin/stdout/stderr 2007-06-21 12:42:36 +00:00
Derick Rethans
3b481cef64 - MFH: Added the H modifier to create non-locale-aware non-fixed-precision
float representations.
- MFH: 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:20:50 +00:00
Raghubansh Kumar
210f091022 New tests for file system handling functions 2007-06-18 19:45:53 +00:00
Ilia Alshanetsky
24bdf0e368 Fixed bug #41686 (Omitting length param in array_slice not possible). 2007-06-18 16:53:09 +00:00
Dmitry Stogov
738ff1277a Fixed yet another realpath cache bug and wrong tests 2007-06-18 09:50:40 +00:00
Dmitry Stogov
1fe8fded5f Fixed test 2007-06-15 08:16:11 +00:00
Dmitry Stogov
a81b0b5d62 Prevent memory overflow 2007-06-15 08:04:59 +00:00
Ilia Alshanetsky
bab1ce1429 Fixed bug #41693 (scandir() allows empty directory names). 2007-06-14 23:28:06 +00:00
Raghubansh Kumar
788ac84cf4 New tests for file system handling functions 2007-06-14 20:12:58 +00:00
Zoe Slattery
c73237b7b9 Tests are not valid if run by root - adding check to skip is user is root. 2007-06-14 15:40:06 +00:00
Raghubansh Kumar
ed39fac5d2 New tests for file handling system functions 2007-06-13 22:38:49 +00:00
Scott MacVicar
34d1d2eed0 Fix ZTS build 2007-06-12 13:42:32 +00:00
Ilia Alshanetsky
06b4c66f02 Fixed bug #41655 (open_basedir bypass via glob()) 2007-06-12 12:53:08 +00:00
Raghubansh Kumar
648aaf250a New tests for file handling system functions 2007-06-11 16:14:59 +00:00
foobar
f7d22b60f0 MFH:- Added php_ini_loaded_file() function which returns the path to the actual
php.ini in use.
2007-06-09 11:44:08 +00:00
Antony Dovgal
074b58b7f1 MFH: php_localtime_r() checks 2007-06-07 09:07:36 +00:00
Antony Dovgal
d042fd0675 MFH: php_gmtime_r() fixes 2007-06-07 08:59:00 +00:00
Stanislav Malyshev
b6ddf71381 revert - already have unpack.phpt 2007-06-06 22:25:08 +00:00
Stanislav Malyshev
bc35767b46 add edge case test 2007-06-06 22:21:59 +00:00
Ilia Alshanetsky
717e94c67a Added missing format validator to unpack() function 2007-06-06 22:04:05 +00:00
Antony Dovgal
2041566a12 MFH 2007-06-06 21:53:54 +00:00
Stanislav Malyshev
d114d0b0c8 fix the chunks fix 2007-06-06 18:15:41 +00:00
Stanislav Malyshev
29b9d79c2f Fix chunk_split fix - avoid using floats
Fix money_format - don't give strfmon more arguments then supplied
Fix str[c]spn integer overflow
2007-06-06 17:59:07 +00:00
Stanislav Malyshev
2e15dda50e fix test format 2007-06-06 17:46:17 +00:00
Stanislav Malyshev
8b5a2d38c4 add some edge cases 2007-06-06 17:12:40 +00:00
Stanislav Malyshev
e001e11009 add test for moneyformat 2007-06-06 17:11:59 +00:00
Zoe Slattery
860c643448 New tests for file handling 2007-06-06 12:53:58 +00:00
Zoe Slattery
7a7c447a17 fixed file permission for new empty file 2007-06-06 12:53:17 +00:00
Nuno Lopes
0997342dff fix gcov build for the 100th time.. 2007-06-06 12:27:24 +00:00
Ilia Alshanetsky
c38ad55e8e Fixed bug #41600 (url rewriter tags doesn't work with namespaced tags). 2007-06-06 00:00:28 +00:00
Antony Dovgal
ceef5840ad fix folding 2007-06-05 13:35:26 +00:00
Antony Dovgal
03b0a479dd fix folding 2007-06-05 12:12:55 +00:00
Zoe Slattery
7a03838430 Fixing incorrect comment in test cases fileinode_variation and filetype_variation 2007-06-05 11:35:04 +00:00
Zoe Slattery
22c68a8155 new test cases for general functions 2007-06-05 09:12:34 +00:00
Zoe Slattery
ce71724def New test cases for file system functions 2007-06-05 09:10:50 +00:00
Zoe Slattery
d5d297d461 Added fill_buffer() function 2007-06-05 08:02:17 +00:00
Antony Dovgal
31ce08253c MFH 2007-06-04 17:18:51 +00:00
Brian Shire
55b5b89ef7 fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix)
# just made these EXPECTREGEX expressions, if there's a prefered way to comply with both 32/64 bit let me know.
2007-06-04 01:23:07 +00:00
Ilia Alshanetsky
405a15043f Corrected fix for CVE-2007-2872 2007-06-03 18:47:10 +00:00
Brian Shire
79e3c88352 MFH: Change printf %u behavior so that it does not truncate numbers at 32-bits. (Reported by Aditya Agarwal.) 2007-06-03 09:12:04 +00:00
Antony Dovgal
8e3eee385e MFH: fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) 2007-06-01 13:35:23 +00:00
Ilia Alshanetsky
9282d4add6 Fixed an interger overflow inside chunk_split(), identified by Gerhard
Wagner
2007-05-30 00:33:13 +00:00
Antony Dovgal
f7ec7197f7 fix tests 2007-05-29 10:25:33 +00:00
Hannes Magnusson
c0dd1f4d0b MFH 2007-05-28 12:19:41 +00:00
Ilia Alshanetsky
6f61e84727 Fixed bug #41492 (open_basedir/safe_mode bypass inside realpath()). 2007-05-27 17:33:39 +00:00
Nuno Lopes
2c5368c013 fix handling of && by htmlentities 'no-double-encode'
expand the test cases
2007-05-27 15:57:11 +00:00
Nuno Lopes
452524fe3a fix the new 'no-double-encoding' feature of htmlspecialchars() (the length for char search was wrong. this could lead to crashes..) 2007-05-27 15:45:18 +00:00
Nuno Lopes
8931a76101 make make_digest() output a 16-byte string so that it wont break the internal PHP API (it was breaking the SOAP extension) 2007-05-27 15:29:38 +00:00
foobar
8588db4b46 - Fixed bug #41511 (Compile failure under IRIX 6.5.30 building md5.c) 2007-05-27 14:50:09 +00:00
Antony Dovgal
bac779d6b6 check for required func 2007-05-27 14:39:21 +00:00
Antony Dovgal
060589090d fix test 2007-05-27 14:30:06 +00:00
Hannes Magnusson
df03be1a3b Allow skipping hint_charset (fixes ext/standard/tests/strings/htmlentities18.phpt) 2007-05-25 14:09:02 +00:00
Zoe Slattery
eb0f324f70 New testcaes for file/strings/general_functions 2007-05-25 13:44:23 +00:00
foobar
efcdcd80b6 - Allow build without flex/bison installed (fixes builddir != srcdir build
when using distributed sources which inlude pre-generated bison/flex
  output. See bug #38762 for more..)
2007-05-24 21:40:41 +00:00
Rasmus Lerdorf
2fba3bf13b Uh, only meant to remove the null check, not the assignment 2007-05-24 21:29:27 +00:00
Rasmus Lerdorf
61b06f1527 Avoid running off the end of a non-null terminated string. Not that we
should have any of those, but a mistake in an extension could hit this
and the check doesn't actually make any sense as far as I am concerned.
2007-05-24 20:53:05 +00:00
Ilia Alshanetsky
6f694fab9a Simplify code 2007-05-23 15:01:00 +00:00
Antony Dovgal
9a37c5588c fix tests 2007-05-22 16:58:33 +00:00
Antony Dovgal
d14d148f66 fix test 2007-05-22 16:52:58 +00:00
Raghubansh Kumar
17a6ac36da New version of gettype_settype_variation1.phpt gettype_settype_variation6.phpt
gettype_settype_variation2.phpt  gettype_settype_variation7.phpt      gettype_settype_variation3.phpt  gettype_settype_variation8.phpt
gettype_settype_basic.phpt  gettype_settype_variation4.phpt
gettype_settype_error.phpt  gettype_settype_variation5.phpt
2007-05-22 16:01:59 +00:00
Raghubansh Kumar
9f5016ef7b New version of basename_basic.phpt, basename_error.phpt, basename_variation.phpt 2007-05-22 15:59:04 +00:00
Hannes Magnusson
13feaf3620 Ladies and gentelmens,
I bring you our new documentation editor....
Philip Olson!
2007-05-22 15:44:11 +00:00
Hannes Magnusson
cdd37424a8 Update proto&arginfo for double_encode in htmlspecialchars()&htmlentities() 2007-05-22 15:38:27 +00:00
Antony Dovgal
a69e6e2c79 MFH: improve variable name checks
add more tests
2007-05-22 14:34:23 +00:00
Ilia Alshanetsky
c98cbb6020 [DOC] Added a 4th parameter flag to htmlspecialchars() and htmlentities()
that makes the function not encode existing html entities. The feature is
disabled by default and can be activated by passing FALSE as the 4th param
2007-05-22 12:37:00 +00:00
Ilia Alshanetsky
b828d1939f Optimized digest generation in md5() and sha1() functions by using code
from ext/hash. This makes the functions 20-50% faster on short strings.
2007-05-19 20:30:35 +00:00
Antony Dovgal
6434290092 fix test
add separate test for 64bit
2007-05-18 20:45:50 +00:00
Antony Dovgal
7e80ad9407 fix leak and check for < 0 only of the 5th arg was passed 2007-05-18 20:34:13 +00:00
Antony Dovgal
6d41d020df MFH: fix #41430 (Fatal error with negative values of maxlen parameter of file_get_contents()) 2007-05-18 12:06:44 +00:00
Antony Dovgal
ff514e208e fix tests 2007-05-18 11:47:58 +00:00
Rasmus Lerdorf
7e5f0a8380 Get rid of a stray time() syscall in tsrm and clean up lcg rinit 2007-05-18 11:36:55 +00:00
Antony Dovgal
ffd09c0961 fix tests 2007-05-18 11:29:55 +00:00
Rasmus Lerdorf
52c2d6c235 Get rid of a useless RINIT and an empty RSHUTDOWN on non-Windows 2007-05-17 06:38:13 +00:00
Zoe Slattery
8f06575c23 Updated range() test 2007-05-16 21:07:33 +00:00
Antony Dovgal
e72d044f9f fix tests 2007-05-15 14:25:21 +00:00
Antony Dovgal
a640896685 fix test 2007-05-14 16:18:02 +00:00
Antony Dovgal
725260ea0f fix CS 2007-05-14 11:33:34 +00:00
Antony Dovgal
2274c18cc6 remove floats, their text representation varies depending on many factors 2007-05-14 11:10:30 +00:00
Antony Dovgal
9100e9efde add 64bit tests 2007-05-14 11:04:30 +00:00
Antony Dovgal
83df9beca2 fix precision 2007-05-14 11:04:08 +00:00
Antony Dovgal
b33de5d0aa fix tests - make them 32bit only, 64bit version will be later
add --INI-- section
remove recursive arrays, that thing should be in a separate test
2007-05-14 10:57:04 +00:00
Raghubansh Kumar
c5c162d182 New version of debug_zval_dump_b.phpt, is_array.phpt, is_null.phpt, is_string.phpt, debug_zval_dump_e.phpt, is_bool.phpt, is_numeric.phpt, print_r.phpt, debug_zval_dump_o.phpt, is_float.phpt is_object.phpt, strval.phpt,
debug_zval_dump_v.phpt, is_int.phpt, is_scalar.phpt, var_dump.phpt
2007-05-12 10:28:00 +00:00
Raghubansh Kumar
3a97c49489 New version of addcslashes.phpt, md5_file.phpt, str_replace.phpt, substr.phpt, chr_ord.phpt, strpos.phpt, strstr.phpt, trim1.phpt, implode1.phpt, str_repeat.phpt, substr_count.phpt 2007-05-12 10:15:02 +00:00
Raghubansh Kumar
42ae6b508e New version of 005.phpt, array_change_key_case.phpt, array_key_exists.phpt, array_keys.phpt, array_map.phpt, array_pop.phpt, array_search.phpt, array_values.phpt, each.phpt, end.phpt, extract.phpt 2007-05-12 09:53:30 +00:00