Commit Graph

5669 Commits

Author SHA1 Message Date
Robert Nicholson
1d6ac15b3d - MFH compact_variation1.phpt - fix for bug #29044 2008-01-29 08:50:43 +00:00
Antony Dovgal
183ed5b686 MFH: fix #43596 (array_slice(): $length arg ignored when it is 0) 2008-01-29 00:39:46 +00:00
Antony Dovgal
89273e1482 add test 2008-01-28 23:07:45 +00:00
Antony Dovgal
37a607c7f8 fix #43927 (koi8r is missing from html_entity_decode())
patch by andy at demos dot su
2008-01-28 23:07:12 +00:00
Nuno Lopes
500ee29e6c be more strict in the skipif 2008-01-27 16:54:22 +00:00
Nuno Lopes
d16f4cad0a fix a bunch of SKIPIF (check for non available locales) 2008-01-27 16:45:43 +00:00
Scott MacVicar
23e3baf62d Fix html_entity_decode when converting numeric html entities, the numeric values for the extended characters don't correspond to that of windows-1251 and cp866. 2008-01-25 18:10:45 +00:00
Rob Richards
90f168deae MFH: fix zts build 2008-01-25 15:52:48 +00:00
Antony Dovgal
2907ae9d73 MFH: endless loop (and stack overflow) protection in compact() 2008-01-25 13:42:36 +00:00
Ilia Alshanetsky
1a7b75eb11 Adjust new chr() param handling to address chr("") calls 2008-01-25 01:31:10 +00:00
Robert Nicholson
be2ae4e76f - Add a basic test for array_shuffle() 2008-01-25 00:32:22 +00:00
Robert Nicholson
3b8256dce4 - add some basic tests for array diff and intersection functions 2008-01-25 00:13:49 +00:00
Robert Nicholson
c09d8d931f - New tests for compact() 2008-01-24 14:51:20 +00:00
Antony Dovgal
67c8d8d95e MFH: fix #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values)
patch by Felipe
2008-01-23 12:09:52 +00:00
Antony Dovgal
8d2ad5c12b add new test 2008-01-22 15:42:36 +00:00
Ilia Alshanetsky
2be1ae5415 use new param parsing API 2008-01-22 01:34:24 +00:00
David Coallier
a3c09d611c - MFH (lcfirst())
- Initial test for lcfirst
2008-01-19 19:27:22 +00:00
Ilia Alshanetsky
ba3245e12e Fixed bug #43871 (crash inside dns_get_record) 2008-01-17 14:12:12 +00:00
David Coallier
516a9c15d6 - Making sure the tests are not failing after modifications to the new
zend-parsing-parameters in ucfirst()
2008-01-16 12:56:20 +00:00
Antony Dovgal
20b021b209 MFH: fix #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251)
patch by phprus at gmail dot com
2008-01-16 08:34:33 +00:00
David Coallier
d6806d5ead - MFH
- Making sure this is also using the good zend parsing and added
  the php_ucfirst function
2008-01-16 03:11:26 +00:00
Brian Shire
82874e094b MFH: Fix bug #42850 array_walk_recursive() leaves references, refix bug #34982 2008-01-14 22:09:52 +00:00
Greg Beaver
7c1952c863 MFH: clarify error message on why opening a stream wrapper failed for allow_url_include/allow_url_fopen, add test for allow_url_fopen 2008-01-12 15:50:57 +00:00
Brian Shire
8a37504831 - MFH fix truncation of large values on 64-bit systems in http_build_query 2008-01-10 20:29:12 +00:00
Dmitry Stogov
ed8e2fa031 Added missing warning message 2008-01-10 09:38:23 +00:00
Ilia Alshanetsky
8055833fac Fixed bug #43498 (file_exists() on a proftpd server got SIZE not
allowed in ASCII mode).
# Original patch by crrodriguez at suse dot de
2008-01-08 19:08:50 +00:00
Ilia Alshanetsky
016ee0bf39 WS 2008-01-07 15:13:17 +00:00
Raghubansh Kumar
0b26f6fe7e New testcases for array_diff() function 2008-01-04 14:02:27 +00:00
Raghubansh Kumar
7dc36cff7c New testcases for array_diff_assoc() function 2008-01-04 14:01:45 +00:00
Raghubansh Kumar
59558b73cb this testcase has been split into many smaller testcases and committed. 2008-01-03 09:46:00 +00:00
Raghubansh Kumar
4cadbee716 new smaller testcases for array_map() function 2008-01-03 09:43:45 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Jani Taskinen
8a313d8e77 MFH:- This makes no sense with non-ipv6 builds. (and fixes lot of issues with misconfigured servers) 2007-12-29 18:46:27 +00:00
Hannes Magnusson
b9c22f2b1e MFB5.2: Fix test 2007-12-29 11:38:24 +00:00
Antony Dovgal
611bd33689 fix test 2007-12-29 10:32:52 +00:00
Dmitry Stogov
0d88ad9b96 Added 64-bit tests (Serg) 2007-12-27 11:39:01 +00:00
Raghubansh Kumar
a47bf2d36a fix test : do not run when run as root 2007-12-25 16:15:34 +00:00
Dmitry Stogov
ed5a424b4f Additional fix for bug #42868 2007-12-24 18:09:50 +00:00
Raghubansh Kumar
7c75fe7b8c new testcases for dir() function 2007-12-24 05:19:42 +00:00
Raghubansh Kumar
8204525427 fix tests 2007-12-24 04:27:55 +00:00
Dmitry Stogov
d27e5cd152 Fixed test 2007-12-21 09:40:27 +00:00
Raghubansh Kumar
e15fb3853a fix tests 2007-12-20 17:27:13 +00:00
Robert Nicholson
9e8f7a00e3 new tests for array_map usage variations - string keys and references 2007-12-20 11:18:34 +00:00
Raghubansh Kumar
1ccf0ba714 fix test 2007-12-19 10:39:10 +00:00
Derick Rethans
9541a66cb8 - MFH: Fixed var_export() for array keys
- MFH: Fixed broken explode() test
2007-12-18 10:53:39 +00:00
Raghubansh Kumar
f5f92c1940 fix tests 2007-12-17 13:02:27 +00:00
Dmitry Stogov
2b981769a3 Fixed bug #42868 (Floats cast to integer produce unpredicatable results). (Zoe Slattery) 2007-12-17 10:02:13 +00:00
Ilia Alshanetsky
b0d7f9c3ee WS 2007-12-16 17:28:57 +00:00
Antony Dovgal
fc78e491b4 MFH: add workaround for glibc issue 2007-12-13 22:29:48 +00:00
Dmitry Stogov
d8afc7ad37 Fixed test 2007-12-13 07:57:39 +00:00
Ilia Alshanetsky
2199624ad1 WS 2007-12-11 18:30:01 +00:00
Jani Taskinen
14ca778ed9 MFH:- Revert previous patch, it was correct to do this, error is logged if logging is enabled 2007-12-11 12:26:43 +00:00
Jani Taskinen
b984960e81 MFH: fix error displaying 2007-12-11 11:29:09 +00:00
Raghubansh Kumar
b1f1baba4d New testcases for array_walk_recursive() function 2007-12-11 10:45:50 +00:00
Raghubansh Kumar
b2def646b6 New testcases for array_walk() function 2007-12-11 10:45:25 +00:00
Jani Taskinen
9a4de086cb MFH: - Fixed bug #43541 2007-12-11 09:47:21 +00:00
Raghubansh Kumar
5ce6116777 New testcases for array_merge_recursive() function 2007-12-11 09:07:41 +00:00
Ilia Alshanetsky
b9e4413962 Fixed bug #43522 (stream_get_line() eats additional characters) 2007-12-10 14:16:58 +00:00
Derick Rethans
fdafd5cf81 - MFH: Fixed Bug #42272 (var_export() incorrectly escapes char(0)). 2007-12-09 16:54:52 +00:00
Raghubansh Kumar
ccb0f19d1c new testcases for array_unique() function 2007-12-09 14:41:10 +00:00
Ilia Alshanetsky
2352647f1f WS 2007-12-06 15:23:36 +00:00
Ilia Alshanetsky
98bfa2ac74 Fixed bug #43495 (array_merge_recursive() crashes with recursive arrays) 2007-12-05 19:55:31 +00:00
Ilia Alshanetsky
7192e8af15 MFB: Fixed bug #43482 (array_pad() does not warn on very small pad
numbers).
2007-12-03 14:13:27 +00:00
Raghubansh Kumar
b70d00a648 fix tests : better float values 2007-12-03 13:03:31 +00:00
Raghubansh Kumar
6121702d04 New testcases for array_pad() function 2007-12-03 12:51:56 +00:00
Raghubansh Kumar
fdae976d58 fix tests: better float values 2007-12-03 12:02:29 +00:00
Raghubansh Kumar
1eae97fbb9 New testcases for array_chunk() function 2007-12-03 03:54:11 +00:00
Derick Rethans
2ac81c2e6e - MFH: Fixed a segfault when reading from an HTTP stream. 2007-11-29 12:28:15 +00:00
Ilia Alshanetsky
f6853cccbd Fixed tests 2007-11-28 14:49:20 +00:00
Raghubansh Kumar
504e223d83 Marked with defect 2007-11-28 03:44:52 +00:00
Raghubansh Kumar
d5acf6ad81 New testcases for array_combine() function 2007-11-27 15:17:07 +00:00
Raghubansh Kumar
73f3139119 New testcases for array_sum() function 2007-11-27 14:59:30 +00:00
Ilia Alshanetsky
7cf9dcc81c Fixed bug #43386 (array_globals not reset to 0 properly on init) 2007-11-25 15:56:07 +00:00
Stanislav Malyshev
794217eb2f fix proto 2007-11-23 19:48:56 +00:00
Derick Rethans
a6fbf1b083 - MFH: Fixed weights array, which was broken with:
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.80&r2=1.81
  and merged to head with:
  http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.70.2.7.2.5&r2=1.70.2.7.2.5.2.1
2007-11-22 10:20:09 +00:00
Jani Taskinen
685e5d064a MFH: chown bug test 2007-11-21 11:32:16 +00:00
Jani Taskinen
e42bc45c21 MFH: fix crash bug in chown when 2nd parameter != string or int 2007-11-21 11:30:29 +00:00
Hannes Magnusson
024fc2c77a MFH: - Add support for optional values
MFH: - Add support for = as seperator
2007-11-21 10:24:22 +00:00
Johannes Schlüter
cbf466a953 MFH: Add stream_supports_lock() function (Benjamin Schulz) 2007-11-20 22:17:01 +00:00
Raghubansh Kumar
13357b0188 New testcases for sizeof() function 2007-11-16 17:54:31 +00:00
Raghubansh Kumar
3f8200fc79 fix tests: removed values that generate diff. output on Linux64 2007-11-16 17:06:43 +00:00
Dmitry Stogov
117a6d77e1 Fixed crash (Serg) 2007-11-16 14:24:08 +00:00
Antony Dovgal
c199b2f598 MFH: fix test 2007-11-15 22:14:15 +00:00
Hannes Magnusson
0aae13f9d2 MFH: Allow numeric options & tests 2007-11-15 13:13:21 +00:00
Ilia Alshanetsky
07a3423f17 Don't show file names being examined 2007-11-14 23:45:29 +00:00
Raghubansh Kumar
b65ffa0876 New testcases for uasort() function 2007-11-14 17:19:45 +00:00
Raghubansh Kumar
0759fbd8e5 fix test for linux64 - choosing smaller float values 2007-11-14 16:31:45 +00:00
Derick Rethans
7fa84a1260 - MFH: Add a testcase for chgrp() with a NULL as group name, which crashes ATM. 2007-11-14 15:51:56 +00:00
Hannes Magnusson
c692127ff2 Fix test (getopt() works on windows now) 2007-11-14 15:22:11 +00:00
Hannes Magnusson
35ba8020cd Fixed bug#43293 (Multiple segfaults in getopt()) 2007-11-14 14:42:25 +00:00
Jani Taskinen
ea05938263 fix test 2007-11-14 14:08:51 +00:00
Antony Dovgal
afc76bc71f fix typo (nice catch, Nuno!) 2007-11-13 10:31:24 +00:00
Dmitry Stogov
947e73b385 Fixed bug #43248 (backward compatibility break in realpath()) 2007-11-13 09:47:06 +00:00
Ilia Alshanetsky
6a792bed75 Fixed bug #43182 (file_put_contents() LOCK_EX does not work properly on file
truncation).
2007-11-12 18:44:18 +00:00
Raghubansh Kumar
ab9db3e773 New testcases for ksort() function 2007-11-12 15:53:20 +00:00
Raghubansh Kumar
42de41ad4a New testcases for krsort() function 2007-11-12 15:52:25 +00:00
Jani Taskinen
02d966c263 MFH:- Added support for [HOST=www.example.com] special sections
MFH:- Allowed using full path to load modules using "extension" directive
2007-11-09 16:27:43 +00:00
Jani Taskinen
c5776e1a41 MFH: ws + cs + sync 2007-11-09 13:49:15 +00:00
Raghubansh Kumar
4b731b1af0 fix tests 2007-11-09 12:02:42 +00:00
Dmitry Stogov
f95ac18b82 Conditions optimization 2007-11-09 11:08:22 +00:00
Raghubansh Kumar
7ab56f7a43 fix test : better float values 2007-11-09 08:52:27 +00:00
Raghubansh Kumar
54f6189445 fix tests: better float values 2007-11-09 07:19:00 +00:00
Raghubansh Kumar
640f060335 missing testcases - sprintf() function 2007-11-09 04:20:10 +00:00
Antony Dovgal
c8494a81a7 MFH 2007-11-08 13:34:41 +00:00
Dmitry Stogov
1ab7f533ff Fixed bug #43216 (stream_is_local() returns false on "file://") 2007-11-08 13:29:25 +00:00
Antony Dovgal
6aeaa2105a fix tests 2007-11-08 11:19:32 +00:00
Antony Dovgal
91c725bd22 fix test 2007-11-08 10:29:52 +00:00
Antony Dovgal
7f58a508d6 MFH: fix test 2007-11-08 10:20:01 +00:00
Antony Dovgal
f6be2ee565 MFH: fix test 2007-11-08 10:13:33 +00:00
Antony Dovgal
984842e321 fix test 2007-11-08 10:03:52 +00:00
Antony Dovgal
a59a7d5c3c MFH 2007-11-08 08:11:55 +00:00
Antony Dovgal
a670a61951 fix tests 2007-11-07 12:07:16 +00:00
Ilia Alshanetsky
75bbdac25d Fixed tests on 64bit machines 2007-11-07 01:42:51 +00:00
Jani Taskinen
c955f26ab9 MFH: ws + cs 2007-11-06 17:58:53 +00:00
Jani Taskinen
77d2a15a97 MFH: sync 2007-11-06 17:11:57 +00:00
Jani Taskinen
88c66fe540 try #2 2007-11-06 13:43:48 +00:00
Jani Taskinen
b51e9221b1 MFH: sync 2007-11-06 13:38:15 +00:00
Jani Taskinen
7f0ad5c1e9 MFH: - Fixed bug #43196 (array_intersect_assoc() crashes with non-array input) 2007-11-06 13:26:59 +00:00
Jani Taskinen
411d34cba0 fix cleanup 2007-11-06 13:22:16 +00:00
Antony Dovgal
e6e9d845a5 MFH: fix tests, add 64bit versions 2007-11-06 12:54:28 +00:00
Marcus Boerger
5aa7108eb2 - MFH Add glob stream wrapper
[DOC] The glob stream wrapper allows stuff like this:
php -r '$it = new DirectoryIterator("glob://ext/spl/*.c");
        foreach($it as $f) var_dump($f);'
2007-11-06 12:12:58 +00:00
Marcus Boerger
6362476b20 MFH streams stuff 2007-11-06 11:02:36 +00:00
Jani Taskinen
5262157d49 MFH: ws + folding tags 2007-11-06 10:57:10 +00:00
Jani Taskinen
661b7c13e6 MFH 2007-11-06 10:53:01 +00:00
Ilia Alshanetsky
35ab31e7ad Fixed bug #43197 (array_intersect_assoc() does not emit warning messages for
error inputs)
2007-11-05 23:53:23 +00:00
Jani Taskinen
b3a334eaf2 Fix tests (MFH) 2007-11-05 17:43:21 +00:00
Jani Taskinen
43e73a56ab MFH: Sync
[DOC]: note
[DOC] -/* {{{ proto bool copy(string source_file, string destination_file)
[DOC] +/* {{{ proto bool copy(string source_file, string destination_file [, resource context])
[DOC]
[DOC] Apparently this was undocumented so far anyway..
2007-11-05 17:43:04 +00:00
Jani Taskinen
74d1a45590 MFH: sync 2007-11-05 17:30:07 +00:00
Raghubansh Kumar
3374078734 New testcases for asort() function 2007-11-05 16:42:56 +00:00
Raghubansh Kumar
2a72f56b30 fix typo in title 2007-11-05 16:22:37 +00:00
Raghubansh Kumar
c9b73bf23d New testcases for sort() function 2007-11-05 15:30:49 +00:00
Raghubansh Kumar
49785e26ae New testcases for array_intersect_assoc() function 2007-11-05 14:31:40 +00:00
Jani Taskinen
1eb067476f MFH: sync 2007-11-05 14:06:53 +00:00
Jani Taskinen
a0b0d132fe MFH: Sync 2007-11-05 13:42:33 +00:00
Jani Taskinen
108c858a19 MFH 2007-11-05 13:09:44 +00:00
Jani Taskinen
9e235c62ef MFH 2007-11-05 12:44:52 +00:00
Jani Taskinen
910972fc93 - fix oumlaut :) 2007-11-05 12:33:40 +00:00
Jani Taskinen
52cb7350a7 update credits 2007-11-05 12:30:04 +00:00
Jani Taskinen
2501a172fc MFH 2007-11-05 12:27:42 +00:00
Jani Taskinen
44c7a7378f MFH 2007-11-05 12:07:37 +00:00
Jani Taskinen
0903022e29 MFH: ws + cs + folding tags 2007-11-05 11:52:31 +00:00
Sara Golemon
f75ae01f09 MFH: http/ignore_errors context option 2007-11-05 01:00:43 +00:00
Jani Taskinen
c2cfed1b32 - Add missing tests from HEAD 2007-11-02 19:42:51 +00:00
Jani Taskinen
a541bb8078 - Fix tests
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Jani Taskinen
b489251177 - MFH from HEAD:
. Folding tags
  . Parameter parsing
  . SPL debug info
  . array function improvements (not all yet)
  . Improvements to function calling with call_user_* functions
  . Improvements to debugging info in var_dump/print_r
# I propably forgot already something but this all was pretty close tied
# to each other so it wasn't possible to do it in parts.
2007-11-02 19:40:39 +00:00
Raghubansh Kumar
3fbaa4b873 fix tests: proper temp file names 2007-11-02 03:56:02 +00:00
Raghubansh Kumar
790b763be7 fix tests: proper temp file names 2007-11-02 03:14:10 +00:00
Raghubansh Kumar
4c5c88b716 fix tests: better float values 2007-11-02 03:03:26 +00:00
Marcus Boerger
00022a49ff - MFH missing get_debug_info piece 2007-11-01 16:54:43 +00:00
Jani Taskinen
20c86e5afd - Nuke crap 2007-11-01 09:28:00 +00:00
Robert Nicholson
a174f1331d update min_error and max_error testcases to take into account bug fix for bug#43125 2007-11-01 08:42:49 +00:00
Jani Taskinen
2d8dc07e3e MFH: fix typo 2007-10-31 13:39:26 +00:00
Jani Taskinen
f552f91618 MFH: - Fixed bug #43137 (rmdir() and rename() do not clear statcache) 2007-10-31 13:22:45 +00:00
Raghubansh Kumar
a2b4c29ee8 New testcases for shuffle() function 2007-10-27 12:27:49 +00:00
Raghubansh Kumar
dfbaff6539 New testcases for array_intersect() function 2007-10-27 12:15:16 +00:00
Robert Nicholson
250cee6329 Remove unneeded INI sections 2007-10-26 16:09:34 +00:00
Raghubansh Kumar
ed56c6e38c more testcases for array_unshift() function 2007-10-26 11:49:50 +00:00
Robert Nicholson
9e761076b8 new testcases for array_splice 2007-10-26 11:07:13 +00:00
Robert Nicholson
656d0e468b new testcases for max and min 2007-10-26 11:01:35 +00:00
Raghubansh Kumar
b3044c49ed more testcases for array_filter() function 2007-10-22 11:16:03 +00:00
Dmitry Stogov
fa6e5df126 Fixed move_uploaded_file() to always set file permissions of resulting file according to UMASK (Andrew Sitnikov) 2007-10-22 07:37:37 +00:00
Ilia Alshanetsky
7f32916af0 Fixed bug #42944 (test failing due to expectation that /etc/passwd has 0644
permissions).
2007-10-21 15:41:29 +00:00
Raghubansh Kumar
36ca7b94e6 New testcases for array_rand() function 2007-10-19 18:41:13 +00:00
Raghubansh Kumar
dd465b457c New testcases for array_fill() function 2007-10-19 18:31:16 +00:00
Raghubansh Kumar
63b1e9fb86 New testcases for array_filter() function 2007-10-19 18:20:02 +00:00
Raghubansh Kumar
f1187f0fca New testcases for array_unshift() function 2007-10-19 09:16:29 +00:00
Scott MacVicar
3fa7ec8508 Fixed bug #43020 (Warning message is missing with shuffle() and more than one argument) 2007-10-18 14:33:14 +00:00
Dmitry Stogov
cb0991bb85 Fixed bug #42919 (Unserializing of namespaced class object fails) 2007-10-17 10:36:33 +00:00
Raghubansh Kumar
55d0b9780f New testcases for array_flip() function 2007-10-15 06:34:35 +00:00
Raghubansh Kumar
dfae3d3f57 New testcases for array_reverse() function 2007-10-15 06:24:40 +00:00
Scott MacVicar
c76e8e03a1 Added icon file format support to getimagesize 2007-10-13 18:02:22 +00:00
Raghubansh Kumar
26ce8bdade fix test (temp. file name) 2007-10-11 11:52:27 +00:00
Marcus Boerger
8ce1211a62 - MFH debug object helper 2007-10-11 01:03:19 +00:00
Jani Taskinen
3db75dcb84 MFH 2007-10-10 12:58:41 +00:00
Jani Taskinen
13ea8ee05a MFH 2007-10-10 12:44:46 +00:00
Jani Taskinen
e795168a20 - Generated with a bit more recent re2c version 2007-10-10 09:27:13 +00:00
Ilia Alshanetsky
774136736e Fixed bug #42869 (automatic session id insertion adds sessions id to
non-local forms)
2007-10-10 00:34:40 +00:00
Raghubansh Kumar
1d0c11f472 New testcases for strip_tags() function 2007-10-09 12:44:45 +00:00
Raghubansh Kumar
5f24b53cc5 fix tests 2007-10-09 12:17:48 +00:00
Raghubansh Kumar
f567d4c6ad fix tests 2007-10-09 11:04:17 +00:00
Raghubansh Kumar
5e46edd6c3 fix tests 2007-10-09 06:15:39 +00:00
Raghubansh Kumar
705bda6fa6 more tests for fseek(), ftell() & rewind() for win32 2007-10-09 04:56:28 +00:00
Raghubansh Kumar
0289fd1458 fix tests 2007-10-09 04:12:16 +00:00
Raghubansh Kumar
d42d41000d fix test 2007-10-08 16:04:28 +00:00
Raghubansh Kumar
e52c923f68 fix test 2007-10-08 15:45:53 +00:00
Raghubansh Kumar
513f5e5d5f fix tests 2007-10-08 15:37:57 +00:00
Raghubansh Kumar
7ccc5eef20 New testcases for strtr() function 2007-10-08 15:21:36 +00:00
Raghubansh Kumar
f8eacb31c0 New testcases for get_html_translation_table() function 2007-10-08 15:21:13 +00:00
Raghubansh Kumar
aeeafd3b59 fix test 2007-10-08 06:22:13 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Raghubansh Kumar
9f9495a484 New testcases for setlocale() function 2007-10-05 19:32:28 +00:00
Raghubansh Kumar
a458ad89f9 New testcases for nl2br() function 2007-10-05 18:46:02 +00:00
Raghubansh Kumar
8ad09bf445 New testcases for strrpos() function 2007-10-05 18:33:24 +00:00
Raghubansh Kumar
2c63918058 New testcases for str_split() function 2007-10-05 18:18:18 +00:00
Raghubansh Kumar
805a1b9e9c New testcases for vsprintf() function 2007-10-05 18:09:31 +00:00
Jani Taskinen
aa3eee1dce MFH:- Moved the old regex functions to own extension: ereg 2007-10-05 15:00:09 +00:00
Jani Taskinen
3a5817e972 MFH: fix test 2007-10-05 14:57:28 +00:00
David Soria Parra
d4e8fa62c6 MFH: Add an escape parameter to fgetcsv to satisfy rfc4180 and bug #40501.
[DOC] 5th parameter available since PHP 5.3+
2007-10-03 10:44:32 +00:00
Stanislav Malyshev
5840ba0ffe MFB utf test 2007-10-03 05:05:37 +00:00
Stanislav Malyshev
6e1dfff1ed MFB do not accept partial multibyte sequences in html* functions 2007-10-03 05:05:08 +00:00
Antony Dovgal
b380ff014a fix test 2007-10-02 11:21:40 +00:00
Antony Dovgal
1297fa1b8f MF5_2: improved recursion detection in array_walk()
fixes #42752, though the leaks are still there
2007-10-02 10:04:38 +00:00
Johannes Schlüter
32966bb37d - pass the adress not the value 2007-10-01 20:36:01 +00:00
Johannes Schlüter
5f15b1ef7a - Fix test 2007-10-01 15:01:47 +00:00
Jani Taskinen
25be330cd0 - ws + cs + sync HEAD 2007-10-01 13:38:14 +00:00
Jani Taskinen
2bc631fb40 MFH:- Added common getopt implementation to core.
MFH:- Added long-option feature to getopt().
MFH:- Made getopt() available on win32 systems.
MFH:  Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+

# Note: Fixed also tests and synced basic_functions.c with HEAD.
2007-10-01 12:40:54 +00:00
Jani Taskinen
27e8fa0d31 MFH: sync (adds php_prefix_varname() API function) 2007-10-01 12:34:19 +00:00
Jani Taskinen
b34fcd4791 MFH: Fixed bug #42789 2007-10-01 12:05:41 +00:00
Jani Taskinen
1e5ca0a765 - Fix tests (too many dots in error messages :) 2007-09-30 21:35:52 +00:00
Antony Dovgal
cd5b16015e fix test 2007-09-30 14:40:06 +00:00
Antony Dovgal
38c37bb61f fix tests 2007-09-30 14:37:33 +00:00
Jani Taskinen
6723ed1db3 MFH: Nuked ending dots from error messages 2007-09-30 05:49:45 +00:00
Jani Taskinen
adae5131f3 - Nuked ending dots from error messages 2007-09-30 05:40:23 +00:00
Raghubansh Kumar
9645bbbbee smaller tests already exists 2007-09-29 17:19:03 +00:00
Raghubansh Kumar
1aa5830044 New testcases for strrchr() function 2007-09-29 16:59:07 +00:00
Raghubansh Kumar
efc32bacaa New testcases for stripos() function 2007-09-29 16:56:46 +00:00
Raghubansh Kumar
2a22e422ad New testcases for sprintf() function 2007-09-29 16:54:57 +00:00
Raghubansh Kumar
b9ccaf44fb New testcases for join() function 2007-09-29 16:52:54 +00:00
Raghubansh Kumar
3253c3b6dd New testcases for htmlspecialchars_decode() function 2007-09-29 16:51:42 +00:00
Raghubansh Kumar
482eabc6b6 New testcases for chunk_split() function 2007-09-29 16:49:41 +00:00
Nuno Lopes
e029a0ee59 fix a few compiler warnings (mostly use of unitialized values) 2007-09-29 11:18:42 +00:00
Dmitry Stogov
f37e408ed8 Support for namespaces 2007-09-28 19:53:42 +00:00
Jani Taskinen
09b6f37f20 MFH:
- 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)
2007-09-28 02:05:10 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Jani Taskinen
bea9591f47 MFB52: ws+cs 2007-09-27 13:15:40 +00:00
Raghubansh Kumar
2ff92b584e new testcases for strrev() function 2007-09-26 14:40:14 +00:00
Raghubansh Kumar
433d1a5d02 New testcases for crc32() function 2007-09-26 06:03:55 +00:00
Ilia Alshanetsky
24c806c41b Fixed memory leak inside array_intersec (coverity issues #403,#404) 2007-09-22 15:38:00 +00:00
Ilia Alshanetsky
91e8740fe4 Fixed memory leak inside array_diff() (coverity issues #401,#402) 2007-09-22 15:32:11 +00:00
Ilia Alshanetsky
9307163e67 Fixed memory leak inside pack() (coverity issues #398,#399,#400) 2007-09-22 15:25:46 +00:00
Raghubansh Kumar
b17d0085f3 New testcases for strspn() function 2007-09-22 10:51:38 +00:00
Raghubansh Kumar
0aa09167c1 New testcases for strcspn() function 2007-09-22 10:36:15 +00:00
Raghubansh Kumar
eb3f8fda65 New testcases for strtok() function 2007-09-22 07:39:57 +00:00
Raghubansh Kumar
32b432f878 replaced by array_search_variation1.phpt, hence removed. 2007-09-22 06:58:33 +00:00
Raghubansh Kumar
12bc950491 update and split of testcases for functions array_search() and in_array() 2007-09-22 06:53:58 +00:00
Antony Dovgal
074b4e51f0 MFH: check the return value of getgroups() for -1 (coverity issue #390) 2007-09-21 14:05:18 +00:00
Antony Dovgal
43cc8937b2 MFH: plug leak on error (coverity issue #405) 2007-09-21 13:51:49 +00:00
Dmitry Stogov
9ee4848c3f Improved speed of array_diff_key(), array_diff_assoc() and array_udiff_assoc(). 2007-09-21 13:10:59 +00:00
Antony Dovgal
3587185a89 MFH: fix invalid read when opendir over FTP fails (coverity issue #462) 2007-09-21 12:57:38 +00:00
Stanislav Malyshev
cfd8f6d775 add test for dl() with long name 2007-09-20 18:44:24 +00:00
Jani Taskinen
c932082f7b MFH 2007-09-20 13:49:33 +00:00
Ilia Alshanetsky
84d594e4b6 Fixed test for glob() affected by previous patch 2007-09-20 13:29:04 +00:00
Dmitry Stogov
8d377a698a Improved speed of array_intersect_key(), array_intersect_assoc() and array_uintersect_assoc(). (100 times faster on arrays with 100000 elements) 2007-09-20 09:22:59 +00:00
Ilia Alshanetsky
47950d10cf Fixed regression in glob() when enforcing safe_mode/open_basedir checks on
paths containing '*'
2007-09-19 22:37:58 +00:00
Stanislav Malyshev
280e6464e8 limit dl() argument length (patch by Christian Hoffmann) 2007-09-18 20:19:34 +00:00
Raghubansh Kumar
35990e7c5b better output matching/fixes 2007-09-15 07:29:55 +00:00
Raghubansh Kumar
ec3a713fbb Removing from file dir as it was wrongly committed to this dir 2007-09-14 19:03:14 +00:00
Raghubansh Kumar
b59c171e23 New testcases for strncasecmp() 2007-09-14 19:02:07 +00:00
Raghubansh Kumar
6d12620591 New testcases for chop() 2007-09-14 18:58:02 +00:00
Raghubansh Kumar
e1a08e5d55 New testcases for wordwrap() 2007-09-14 18:53:38 +00:00
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