Antony Dovgal
91e066b522
fix build on b0rked OSes (see #41920 )
2007-07-09 18:10:17 +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
c7b6c29857
Fixed custom unserialixe() in unicode mode
2007-07-09 15:58:52 +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
53ad22aec3
wrong condition
2007-07-09 14:32:59 +00:00
Dmitry Stogov
e99224ca66
Fixed deserialization of escaped strings
2007-07-09 13:43:50 +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
Dmitry Stogov
6b6762ea4e
Unicode support
2007-07-02 10:29:49 +00:00
foobar
f730ecf98c
- Fixed bug #41865 (fputcsv(): 2nd parameter is not optional)
2007-07-01 21:26:30 +00:00
Dmitry Stogov
8ff24e8728
ord() must not convert binary data to unicode in unicode mode
2007-06-29 14:53:02 +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
770215e0c7
synchronized range() behaviour in HEAD with 5_2
2007-06-28 16:06:23 +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
dc2cf01212
fix ws & folding
2007-06-26 21:37:14 +00:00
Antony Dovgal
33422dc150
fix ws & folding
2007-06-26 21:29:32 +00:00
Antony Dovgal
1395b88a58
fix ws & folding
2007-06-26 21:21:02 +00:00
Antony Dovgal
c031c5461c
add missing include and fix warning
2007-06-26 12:14:24 +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
e29daf052a
fix #41795 (checkdnsrr does not support DNS_TXT type)
2007-06-26 11:03:42 +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
07d3bf4113
(forgotten part of fix)
2007-06-25 09:42:49 +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
Dmitry Stogov
c8acfd843e
Proper fix for bug #39215 Inappropriate close of stdin/stdout/stderr
2007-06-21 12:42:58 +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
33e5346a5a
Fixed error message
2007-06-18 13:54:59 +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
a4db7a40c5
MTH: Fixed bug #40432 (strip_tags() fails with greater than in attribute).
2007-06-18 11:50:41 +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
Pierre Joye
19738c8848
- MFB: #41321 , read error downgraded to E_NOTICE
2007-06-17 10:39:18 +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
Pierre Joye
a06fbeebc5
- #41609 , file_put_contents is not binary safe when a binary string is
...
given (make it consistent with fwrite&co when unicode=1)
2007-06-14 19:56:35 +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
Scott MacVicar
6168813e43
Fix ZTS build
2007-06-12 13:42:04 +00:00
Ilia Alshanetsky
a78d9e4ca0
MFB: Fixed bug #41655 (open_basedir bypass via glob())
2007-06-12 12:57:43 +00:00
Raghubansh Kumar
f31ae00184
New tests for file handling system functions
2007-06-11 16:40:27 +00:00
foobar
53b43a63cd
- Added php_ini_loaded_file() function which returns the path to the actual
...
php.ini in use.
# there was only a function to return the _additional_ files in use..
2007-06-09 11:42:55 +00:00
Antony Dovgal
f1f0deae4c
php_localtime_r() checks
2007-06-07 09:07:12 +00:00
Antony Dovgal
976a22df16
php_gmtime_r() fixes
2007-06-07 08:58:38 +00:00
Ilia Alshanetsky
60a7d31254
MFB: Added missing format validator to unpack() function
2007-06-06 22:04:47 +00:00
Antony Dovgal
6a67784d22
improve the check
2007-06-06 21:55:18 +00:00
Stanislav Malyshev
b7cf37c3e1
MF5: Fix chunk_split fix - avoid using floats
...
MF5: Fix money_format - don't give strfmon more arguments then supplied
MF5: Fix str[c]spn integer overflow
2007-06-06 20:06:43 +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
Nuno Lopes
e7155d9ce5
fix gcov build..
2007-06-06 12:29:06 +00:00
Ilia Alshanetsky
886cb0c783
MFB: Fixed bug #41600 (url rewriter tags doesn't work with namespaced tags).
2007-06-06 00:01:13 +00:00
Antony Dovgal
43a99cebe2
fix folding
2007-06-05 13:37:05 +00:00
Antony Dovgal
6eb6de0fcf
fix folding
2007-06-05 12:17:15 +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
Brian Shire
35a6ab5a2c
Change printf %u behavior so that it does not truncate numbers at 32-bits. (Reported by Aditya Agarwal.)
2007-06-03 09:11:52 +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
Antony Dovgal
06e3561985
fix folding
2007-05-31 21:36:56 +00:00
Antony Dovgal
f90bb0e967
check length only when it's specified
...
add the same check to fgetss()
2007-05-30 09:16:29 +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
Antony Dovgal
79dc35b71c
more typofixes
2007-05-29 21:24:45 +00:00
Ilia Alshanetsky
e844eaedbb
MFB
2007-05-29 21:06:04 +00:00
Antony Dovgal
7b5215d83a
fix #41516 (fgets() returns a line of text when length parameter is <= 0)
2007-05-29 20:48:38 +00:00
Antony Dovgal
859b4e8d2f
fix typo & build
2007-05-29 20:31:22 +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
Antony Dovgal
572d70706c
fix typo
2007-05-29 08:01:23 +00:00
Ilia Alshanetsky
373ae24839
MFB
2007-05-28 23:52:13 +00:00
Ilia Alshanetsky
de573ba7ff
MFB
2007-05-28 23:14:57 +00:00
Ilia Alshanetsky
66526cee92
MFB
2007-05-28 23:00:25 +00:00
Hannes Magnusson
63052d2a85
Remove weird useless entries
2007-05-28 12:18:26 +00:00
Zoe Slattery
863ee40af2
New tests for file/general_functions/strings
2007-05-25 13:50:06 +00:00
foobar
3bec20159c
MFB
2007-05-24 21:43:56 +00:00
Rasmus Lerdorf
8b1466fdbe
MFB 5_2
2007-05-24 21:31:35 +00:00
Rasmus Lerdorf
5f5563da38
MFB 5_2
2007-05-24 20:56:20 +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
Hannes Magnusson
d4324a5e4b
Philip, the new phpdoc editor \o/
2007-05-22 15:46:27 +00:00
Antony Dovgal
f996452e8b
improve variable name checks
...
add more tests
2007-05-22 14:32:40 +00:00
Antony Dovgal
5b56ff03b4
fix leak and check for < 0 only of the 5th arg was passed
2007-05-18 20:34:07 +00:00
Antony Dovgal
451d4858b3
fix #41432 (extract() does not accept empty prefix)
2007-05-18 14:11:12 +00:00
Rasmus Lerdorf
5e84cb97a0
MFB syscall optimizations
...
# boredom on the plane to China...
2007-05-18 12:15:01 +00:00
Antony Dovgal
eb2240d494
fix #41430 (Fatal error with negative values of maxlen parameter of file_get_contents())
2007-05-18 12:05:55 +00:00
Antony Dovgal
9c99b709a7
zend_make_printable_zval -> zend_make_string_zval
2007-05-17 17:29:09 +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
Hannes Magnusson
2d1f188193
Plug leak
2007-04-23 16:32:37 +00:00
Dmitry Stogov
6db3e71316
64-bit support
2007-04-23 10:21:43 +00:00
Antony Dovgal
b9e9832a85
fix tests
2007-04-22 19:47:08 +00:00
Antony Dovgal
2f9871787e
fix [l]trim() in unicode mode
2007-04-22 19:22:19 +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
Andrey Hristov
91d8e64e11
Update credits line
2007-04-19 09:47:48 +00:00
Dmitry Stogov
fbccef91d7
Fixed tests (win32)
2007-04-18 14:51:47 +00:00
Rob Richards
c88e2b7618
MFB: add file locking under windows
...
change win build to use common clock compat files
2007-04-18 09:48:07 +00:00
Antony Dovgal
cea78baddf
fix putenv("var") (i.e. unset) on BSD systems
...
add test
2007-04-17 20:33:45 +00:00