Commit Graph

5707 Commits

Author SHA1 Message Date
Felix De Vliegher
43e8a59ac7 Basic test for ob_get_length(), testfest.php.net task #132 2008-06-22 12:29:41 +00:00
Felipe Pena
592cecf7d4 - Removed unused variables 2008-06-22 11:36:46 +00:00
Felipe Pena
7e57fd2e6f - Fix segfault 2008-06-21 23:20:40 +00:00
David Coallier
88abc99dc0 - New parsing parameter API cleanups 2008-06-20 20:54:32 +00:00
Stanislav Malyshev
8a65886bb9 fix buglet 2008-06-20 18:10:17 +00:00
Olivier Hill
dc4bcc901b - New parameter parsing API for var.c & tests 2008-06-20 18:05:45 +00:00
Felipe Pena
5fe790929d - New parameter parsing API 2008-06-20 14:53:57 +00:00
Felipe Pena
d4ddc6d890 - New parameter parsing API 2008-06-20 13:02:33 +00:00
Raghubansh Kumar
48b0cc4134 New testcases for vfprintf(), Committed for Felix De Vliegher, TestFest Task No: 124, Tested on RHEL5 -32bit, WinXP-32bit
Added *.txt to .cvsignore
2008-06-20 04:21:58 +00:00
Dmitry Stogov
4961c0c412 Added test for bug #45312 2008-06-19 12:09:44 +00:00
Stanislav Malyshev
5e562853ff fix tests for builtin Zend functions using new parsing API 2008-06-18 23:45:36 +00:00
Philip Olson
31bfce6f19 MFH: updated website team info 2008-06-18 05:20:02 +00:00
Zoe Slattery
f88ab53c3d Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 15:20:04 +00:00
Zoe Slattery
aa8f158276 Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 13:31:18 +00:00
Zoe Slattery
89d3bb2189 Commited for Sanjay, reviewed by Pierre. Testfest task 118. 2008-06-13 13:11:37 +00:00
Lars Strojny
622ac25e81 Testfest: putenv() safe_mode tests by Brian DeShong 2008-06-12 22:36:43 +00:00
Steve Seear
bc29a3874d Filesystem tests. 2008-06-11 12:38:56 +00:00
Dmitry Stogov
99933df5e2 closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:56 +00:00
Antony Dovgal
d7d94aab53 fix typo 2008-06-10 08:14:52 +00:00
Rob Richards
5e60f46159 MFH: rawurlencode now conforms to rfc 3986 (~ is not encoded) [DOC] 2008-06-04 19:35:15 +00:00
Matt Wilmas
572adc05e4 MFH: Initialize with length instead of 0 2008-06-02 11:20:59 +00:00
Antony Dovgal
779769563c fix uninitialized variable 2008-06-02 10:27:55 +00:00
Scott MacVicar
4ae8e34bf4 MFH Fixed bug #43261
(Use ^ as an escape character for Windows escapeshellcmd)
2008-05-30 16:56:57 +00:00
Matt Wilmas
c1126cc5b6 MFH: Only check args once in php_array_diff_key/intersect_key, not on each iteration. This also makes sure ALL args are checked (pre-5.2.5 behavior)
- Also, use new hash_quick_del function where possible
2008-05-30 10:55:14 +00:00
Matt Wilmas
fc6fa44097 Fixed tests on Windows 2008-05-29 07:32:03 +00:00
Pierre Joye
c1d5352069 - c/p evilness 2008-05-27 18:25:59 +00:00
Pierre Joye
3431c2e7c4 - [MFH] Add compiler informations on Windows (will add more info later, like x86 or x64 and makes it available in userland) 2008-05-27 18:23:56 +00:00
Matt Wilmas
88adc05748 Regenerate 2008-05-27 11:28:18 +00:00
Matt Wilmas
7da75d81e7 MFH: Add array_init_size() and use it where array size is known at initialization 2008-05-27 10:29:33 +00:00
Hannes Magnusson
5b398bf78d Remove E_DEPRECATED from get_magic_quotes_*() 2008-05-25 14:06:15 +00:00
Marcus Boerger
3be1a372a6 - MFH Add constants and new test (test from testfest.php.net) 2008-05-24 11:53:55 +00:00
Matt Wilmas
cd62ae78b6 MFH: Fixed Windows build now that HAVE_INET_PTON is defined 2008-05-23 09:40:44 +00:00
Kalle Sommer Nielsen
dd9fb9b0cd [DOC] enable inet_pton() and inet_ntop() on Windows 2008-05-22 22:06:15 +00:00
Pierre Joye
6fefac0c10 - fix test 2008-05-21 19:34:47 +00:00
Pierre Joye
d23a449a36 - fix test 2008-05-21 18:56:05 +00:00
Felipe Pena
d90f689d73 - Making compatible with 64bit plataform 2008-05-18 15:42:09 +00:00
Felipe Pena
04a87d9f63 - Changed 'Z' to 's' (parameter parsing), the code didn't check if the parameter is a string. 2008-05-16 12:44:11 +00:00
Felipe Pena
60cd27b7f6 - MFH: Improved fix (used 's' in parameter parsing) 2008-05-16 12:18:43 +00:00
Felipe Pena
0668fd3328 - Added conversion to string. 2008-05-16 03:01:20 +00:00
Antony Dovgal
b3b5126954 fix test names 2008-05-14 13:04:05 +00:00
Antony Dovgal
ea62779338 MFH: revert patch that causes invalid reads/crashes on Linux 2008-05-12 08:47:01 +00:00
Matt Wilmas
77feabfc71 MFH: Fixed test after fixing bug #44830 2008-05-12 05:08:49 +00:00
Scott MacVicar
96a20f9aed MFH: Fix compile error if _GNU_SOURCE is defined 2008-05-09 12:59:16 +00:00
Ant Phillips
863d975196 Collect all the open_basedir security tests into one place 2008-05-09 08:39:44 +00:00
Felipe Pena
3e56d46fa1 - Use PHP_DEP_FE and PHP_DEP_FALIAS (magic_quotes related functions) 2008-05-08 22:21:19 +00:00
Felipe Pena
1e650ca32d - MFH: Fixed detection of invalid class name 2008-05-08 18:51:28 +00:00
Felipe Pena
3725d115a8 - MFH: Fixed data size 2008-05-08 18:28:25 +00:00
Matt Wilmas
01afb02bad Fix build 2008-05-08 04:23:26 +00:00
Ilia Alshanetsky
f5a90feff0 Fixed bug #44836 (putenv() crashes, avoid direct reference of environ in
POSIX systems)

# Original patch by delphij at FreeBSD dot org
2008-05-06 18:01:32 +00:00
Kalle Sommer Nielsen
ed7e0c0dff * Changed php_*h() to be static
* Changed NEWS entry to be say 'native' insted of 'Windows' (ref. *h())
2008-05-06 10:55:49 +00:00
Antony Dovgal
a00f016648 add atanh() for real 2008-05-05 11:28:11 +00:00
Derick Rethans
af371c9f5e - Fixed build. 2008-05-05 10:09:54 +00:00
Kalle Sommer Nielsen
f61731874a Merge PHP_5_3 - Implemented Windows support for asinh(), acosh(), atanh(), log1p() and expm1()
[DOC] Merge_5_3
2008-05-05 07:29:41 +00:00
Etienne Kneuss
94697acff9 MFH: Fix protos 2008-05-04 21:17:33 +00:00
Antony Dovgal
7633511047 fix compile warnings 2008-05-04 11:26:50 +00:00
Ant Phillips
495ed877fc open_basedir tests for directory functions 2008-05-01 12:36:46 +00:00
Ant Phillips
98e6f9f954 open_basedir tests for directory functions 2008-05-01 11:46:18 +00:00
Ant Phillips
90c2cd0c37 Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:52 +00:00
Dmitry Stogov
2ecf4bb0a7 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:20 +00:00
Jani Taskinen
69e6d23ec5 - Fix test even if safe_mode is forced to be "On" in the binary 2008-04-28 12:30:24 +00:00
Ant Phillips
c173b0454c Extra open_basedir tests 2008-04-24 16:40:54 +00:00
Ant Phillips
2667f76d7b Allow for chmod() to fail on symbolic links 2008-04-24 13:58:26 +00:00
Pierre Joye
9fecb8fa60 - MFH: improve test and remove files on exit 2008-04-24 08:45:35 +00:00
Dmitry Stogov
1303c45e02 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:45:01 +00:00
Ant Phillips
9ae3ae064f open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches) 2008-04-23 14:10:15 +00:00
Ilia Alshanetsky
30437c1241 Fixed error verbiage and free function_name on success 2008-04-21 14:32:57 +00:00
Ilia Alshanetsky
239fa7f79f Fixed a bug #44403 (register_tick_function() does not check for a valid callback) 2008-04-20 15:07:39 +00:00
Ilia Alshanetsky
753529325e MFB: Fixed bug #44034 (FILE_IGNORE_NEW_LINES in file() does not work as
expected when lines end in \r\n)
2008-04-15 15:48:20 +00:00
Jani Taskinen
8401580c37 MFH 2008-04-15 09:02:40 +00:00
Jani Taskinen
85ad3851e9 MFH 2008-04-15 08:44:21 +00:00
Ilia Alshanetsky
f0563a2068 Fixed test 2008-04-14 23:17:30 +00:00
Etienne Kneuss
8664b5dc68 MFH: Fix dns_check_proto (related to #44723) 2008-04-14 16:50:11 +00:00
Hannes Magnusson
f0b7073308 [DOC] Remove config_get_hash() & and add new boolean parameter to ini_get_all()
to list ini entries key=>current_value like config_get_hash() did.
2008-04-14 15:32:42 +00:00
Hannes Magnusson
ef78497f78 MFH: Add "params" argument to stream_context_create() 2008-04-14 08:15:11 +00:00
Antony Dovgal
eb5afe0eda fix ZTS build and sync with HEAD 2008-04-14 07:49:00 +00:00
Hannes Magnusson
5fcd85240b Fixed bug#44712 (stream_context_set_params segfaults on invalid arguments) 2008-04-13 22:35:27 +00:00
Greg Beaver
217b911d0e fix test 2008-04-13 21:27:18 +00:00
Felipe Pena
fce4f9600e MFB: Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument) 2008-04-11 19:06:12 +00:00
Robin Fernandes
ad534b35c1 Fix test parse_url_variation_002.phpt for 64bit platforms. 2008-04-11 14:35:06 +00:00
Robin Fernandes
bcd9a07d6c Adding some tests for ereg and url functions. 2008-04-11 08:57:17 +00:00
Nuno Lopes
93c676992d add SKIPIF
# Patch by Christian Hoffmann
2008-04-10 19:13:59 +00:00
Philip Olson
5b69959a92 MFH: Updated the documentation credits 2008-04-10 05:31:53 +00:00
Jani Taskinen
a27b306d25 MFH: Missing basic single ini file test (bug #44574) 2008-04-08 12:33:54 +00:00
Jani Taskinen
ee42eca5d8 - Generated with re2c 0.13.4 2008-04-08 12:17:04 +00:00
Jani Taskinen
04ea6d79d5 MFH:- Fixed bug #44667 (proc_open does not handle pipes with the mode "wb" correctly) 2008-04-08 08:42:24 +00:00
Etienne Kneuss
a1e0945143 MFH: Implement forward_static_call(_array) to complete LSB. Patch by Mike Lively 2008-04-07 10:44:59 +00:00
Ilia Alshanetsky
8d8e9d273b Fixed bug #44603 (Order issues with Content-Type/Length headers on POST) 2008-04-06 15:21:24 +00:00
Ilia Alshanetsky
f704d2d37d Added a warning message 2008-03-30 15:05:48 +00:00
Felipe Pena
3230a77d89 MFB: Fixed bug #44564 (escapeshellarg removes UTF-8 multi-byte characters) 2008-03-30 12:24:10 +00:00
Felipe Pena
f66f55edc5 MFH: Implemented "jump label" operator (limited "goto")
[DOC]
2008-03-28 14:35:01 +00:00
Antony Dovgal
9d9468e9f4 fix compile warnings 2008-03-28 10:22:12 +00:00
Jani Taskinen
afa42ce453 - Fix test (readdir() does not sort the results..) 2008-03-27 10:45:03 +00:00
Dmitry Stogov
862f9ee3d2 Added ability to use stream wrappers in include_path 2008-03-27 10:33:40 +00:00
Ilia Alshanetsky
17d22a50d9 Fixed bug #44501 (LOCK_EX mode in file_put_contents() is impropertly
handled in combination with url wrappers)
2008-03-26 23:06:47 +00:00
Steve Seear
073b6eac48 Adding tests for gethostbyaddr() and gethostbynamel() 2008-03-26 18:19:31 +00:00
Ilia Alshanetsky
16f6918e0f Fixed test on systems where . and .. order not guaranteed 2008-03-24 18:33:54 +00:00
Dmitry Stogov
2790eebdbc Fixed tests 2008-03-24 10:09:41 +00:00
Dmitry Stogov
0ec1e42e52 Fixed tests (file order is undefined, so we need to sort() them) 2008-03-24 09:00:33 +00:00
Marcus Boerger
736df2fec1 - MFH Add new test 2008-03-21 15:21:38 +00:00
Antony Dovgal
96c2b045ff fix ZTS build 2008-03-21 08:28:24 +00:00
Ilia Alshanetsky
74b5cfdea5 Refine fix for multibyte char hanling inside command names and args 2008-03-20 23:25:31 +00:00
Antony Dovgal
b2af8cac94 MFH 2008-03-20 12:14:06 +00:00
Antony Dovgal
dff9a32350 MFH: fix tests 2008-03-20 08:35:44 +00:00
David Soria Parra
6d66530ae9 MFH: Fix bug #44487 (call_user_method_array issues a warning when throwing an exception). 2008-03-20 00:52:46 +00:00
Steve Seear
5e0afe8eb9 Adding streams tests 2008-03-19 17:38:23 +00:00
Steve Seear
9071a478b5 Adding filesystem tests 2008-03-19 17:25:47 +00:00
Antony Dovgal
e3b672bb23 MFH: make use of zend_atol() 2008-03-19 12:42:16 +00:00
Antony Dovgal
8b5524e2fe fix test 2008-03-19 12:36:09 +00:00
Felipe Pena
47badbe86b Remove accidental change 2008-03-19 03:15:56 +00:00
Felipe Pena
17c7463331 MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:05:35 +00:00
Robin Fernandes
bd9e026951 Adding more tests for serialize() and unserialize(). 2008-03-18 15:11:48 +00:00
Felipe Pena
01dc595706 Fix build 2008-03-18 00:24:21 +00:00
Stanislav Malyshev
085af56710 fix integer overflow in length calculation 2008-03-17 23:06:32 +00:00
Ilia Alshanetsky
9227974ddb Properly address incomplete multibyte chars inside escapeshellcmd() 2008-03-17 23:01:27 +00:00
Nuno Lopes
25e6cd1a38 remove duplicated sections 2008-03-17 17:19:48 +00:00
Antony Dovgal
74bfe1c3fa fix test 2008-03-17 15:35:32 +00:00
Marcus Boerger
af316021e8 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Felipe Pena
766f62f026 Add SKIPIF (32bit platform only) 2008-03-14 23:15:47 +00:00
Felipe Pena
5076296d8c Sync with fix for #44394 2008-03-12 19:34:37 +00:00
Felipe Pena
eea093b47c MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...) 2008-03-12 19:18:42 +00:00
Felipe Pena
e0de453954 Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 02:40:57 +00:00
Josie Messa
e897db28bf - Fix test 2008-03-11 10:17:51 +00:00
Josie Messa
f5d9a8ea42 - Added extra whitespace around error messages in expected output 2008-03-11 10:00:26 +00:00
Felipe Pena
1db52c1c5f Fix tests (new error message for void parameters) 2008-03-10 23:14:11 +00:00
Felipe Pena
9324869ef5 Fix tests (new error message for void parameters) 2008-03-10 22:17:59 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Josie Messa
705435eb9e - New tests for getcwd() function 2008-03-10 15:22:47 +00:00
Josie Messa
1d4f18734f - Modified expected output to allow tests to work on all platforms 2008-03-10 15:10:32 +00:00
Josie Messa
794955ce85 - New tests for scandir() function 2008-03-10 14:12:41 +00:00
Etienne Kneuss
e9a6f0f24a MFH: User error handlers no longer catch supressed errors 2008-03-08 22:12:32 +00:00
Greg Beaver
2801e87a55 fix tests if allow_url_fopen is disabled in php.ini 2008-03-08 19:12:34 +00:00
Greg Beaver
b6d53c51e8 fix test if allow_url_fopen is disabled in php.ini 2008-03-08 19:08:25 +00:00
Josie Messa
8e3192aed8 - Tests awaiting fix of bug #44246 2008-03-07 16:20:16 +00:00
Josie Messa
d19f3990e3 - New tests for rewinddir() function 2008-03-07 16:12:03 +00:00
Josie Messa
37ca3ca2b5 - New tests for closedir() function 2008-03-07 16:00:24 +00:00
Antony Dovgal
184173fccc fix build 2008-03-07 08:56:38 +00:00
Greg Beaver
1dac2d21a8 test was failing because I had a file named 1 in the checkout directory
# note to tests writers: never assume anything about directory
# contents.
2008-03-07 04:14:53 +00:00
Stanislav Malyshev
507a7840ed improve seed calculation
# better solution would be to port mt's multi-value seed procedure
2008-03-07 03:36:58 +00:00
Robin Fernandes
ee0f7bc0ac Add new tests for class/object functions and features. 2008-03-06 11:02:37 +00:00
Jani Taskinen
33af2eb4dc - Fix tests (allow_call_time_pass_reference might be off for properly configured sites.. :) 2008-03-05 15:37:48 +00:00
Jani Taskinen
f6406ae6e9 - Fix test when register_globals=On in php.ini 2008-03-05 12:12:09 +00:00
Antony Dovgal
d4fd7c1059 MFH: apply better fix 2008-03-05 12:10:02 +00:00
Antony Dovgal
391da778fb MFH: fix memory corruption due to double destruction of default dir handle 2008-03-05 09:29:25 +00:00
Josie Messa
08d2ac2ea6 - new tests for readdir() function 2008-03-04 17:09:24 +00:00
Antony Dovgal
14ec6f623b MFH 2008-03-04 11:16:31 +00:00
Josie Messa
99defe9f52 - new tests for opendir() function 2008-03-04 10:40:36 +00:00
Ilia Alshanetsky
a9146c60cb Fixed bug #44306 (Better detection of MIPS processors on Windows) 2008-03-02 15:35:05 +00:00
Dmitry Stogov
4cdbb5b060 We don't nave to change request shutdown sequence if dl() was failed 2008-02-28 16:59:10 +00:00
Felipe Pena
57f73fa8fc MFB: Improved fix for #44242 2008-02-27 01:19:05 +00:00
Felipe Pena
3f40f96c50 Fixed tests 2008-02-26 13:38:43 +00:00