Commit Graph

781 Commits

Author SHA1 Message Date
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
Raghubansh Kumar
648aaf250a New tests for file handling system functions 2007-06-11 16:14:59 +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
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
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
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
Nuno Lopes
2c5368c013 fix handling of && by htmlentities 'no-double-encode'
expand the test cases
2007-05-27 15:57:11 +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
Zoe Slattery
eb0f324f70 New testcaes for file/strings/general_functions 2007-05-25 13:44:23 +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
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
Antony Dovgal
6434290092 fix test
add separate test for 64bit
2007-05-18 20:45:50 +00:00
Antony Dovgal
ff514e208e fix tests 2007-05-18 11:47:58 +00:00
Antony Dovgal
ffd09c0961 fix tests 2007-05-18 11:29:55 +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
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
Raghubansh Kumar
02dd014013 New version of 009.phpt 2007-05-12 09:50:40 +00:00
Antony Dovgal
8de1ecef64 MFH: fix segfault in strripos() when offset == INT_MAX+1
identified and repoted by Joxean Koret
2007-05-10 22:10:43 +00:00
Antony Dovgal
7efde494d7 MFH: flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 16:28:11 +00:00
Scott MacVicar
e7577d57cd Fixed bug #41347 (checkdnsrr() segfaults on empty hostname). 2007-05-10 13:16:54 +00:00