Commit Graph

5380 Commits

Author SHA1 Message Date
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