Commit Graph

5906 Commits

Author SHA1 Message Date
Arnaud Le Blanc
f11ae4d440 MFH: Fix test: use canonical name to avoid problems with domain search path 2008-07-23 08:27:17 +00:00
Scott MacVicar
8d3bfaa01f Fix windows build error. 2008-07-22 21:53:53 +00:00
Scott MacVicar
d8d69652dd MFH: Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:21:16 +00:00
Felipe Pena
fdfbfb96a1 - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:09:24 +00:00
Scott MacVicar
6c48a01f40 MFH: Fix integer oveflow in strrpos() 2008-07-22 01:10:58 +00:00
Jani Taskinen
1ca8daaafb MFH: sync 2008-07-21 16:16:30 +00:00
Hannes Magnusson
ee40f557a7 Fix tests (patch by Lars) 2008-07-21 12:23:38 +00:00
Jani Taskinen
89935d6f7e - Forward compatibility.
# @DOC@, [DOC], *DOC*: Added FILE_TEXT and FILE_BINARY constants for forward compatibility.
2008-07-21 11:46:18 +00:00
Kalle Sommer Nielsen
769cb023fb MFH 2008-07-21 11:09:36 +00:00
Kalle Sommer Nielsen
f204fdddb1 Fix test on Windows 2008-07-21 09:32:56 +00:00
Dmitry Stogov
331a4e46a4 Fixed test 2008-07-20 16:20:02 +00:00
Felipe Pena
b22f47ee30 - Added arginfo 2008-07-20 14:28:41 +00:00
Felipe Pena
c3453925c5 - Deprecate ticks 2008-07-17 19:29:34 +00:00
Rui Hirokawa
db88da985e fixed win32 build when ext/mbstring is enabled. 2008-07-17 14:10:53 +00:00
Dmitry Stogov
833a2295d1 Support for closures 2008-07-17 09:53:42 +00:00
Scott MacVicar
a9d60c014b MFH: Fix bug when < is used within attribute. 2008-07-15 14:46:12 +00:00
Felix De Vliegher
0adb8c0b10 Tests for strpbrk(), testfest.php.net task #91 and #92. 2008-07-15 11:14:42 +00:00
Josie Messa
be5633612a - Tests from TestFest
- Have slightly modified similar_text_error.phpt from original file
2008-07-14 15:27:19 +00:00
Jani Taskinen
4db24954fb - Update credits: Whenever some extension is removed/added, remember to run scripts/dev/credits and commit ext/standards/credits* !! 2008-07-14 08:57:10 +00:00
Felipe Pena
8cbd7cc7b9 - MFB: Fixed bug #45449 (filesize() regression using ftp wrapper) (patch by crrodriguez at suse dot de) 2008-07-11 18:33:35 +00:00
Felipe Pena
8ea5ae6c9a - MFB: Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:25:38 +00:00
Antony Dovgal
cf7e15c3a0 MFH: manage references of stream context properly 2008-07-11 10:25:15 +00:00
Antony Dovgal
46f41aded1 MFH 2008-07-11 09:17:10 +00:00
Antony Dovgal
0c8d3ebe9c MFH 2008-07-11 09:15:44 +00:00
David Soria Parra
f41c78ddbb PHP Testfest. Tests done by Felix De Vliegher 2008-07-10 23:46:49 +00:00
Etienne Kneuss
8ceb0b6fd3 MFH: Fix resolution rule of count vs. handler 2008-07-09 21:29:52 +00:00
Antony Dovgal
8eeaf9df95 capitalize multibyte support 2008-07-08 08:37:56 +00:00
Jani Taskinen
4345a82661 - Update credits 2008-07-07 10:36:50 +00:00
Steph Fox
005c6c8f04 - Don't do stuff twice over
@Jani: pick up mail!
2008-07-07 01:25:53 +00:00
Olivier Hill
e360ff7476 New parameter parsing API 2008-07-03 20:19:26 +00:00
Antony Dovgal
b691365e7b size_t -> int 2008-07-03 14:00:20 +00:00
Antony Dovgal
bd07572494 fix test 2008-07-03 09:46:10 +00:00
Antony Dovgal
9ed8580b54 fix test 2008-07-03 09:22:17 +00:00
Antony Dovgal
449979cbd0 add a line to phpinfo() to indicate whether multibyte support is On or Off 2008-07-03 08:06:55 +00:00
Antony Dovgal
63d6d67aa7 fix tests 2008-07-03 07:41:58 +00:00
Felipe Pena
2a35fb373f - Removed unused variables 2008-07-01 11:27:05 +00:00
Dmitry Stogov
f7938051d4 Use new parameter parsing API 2008-07-01 10:01:09 +00:00
Antony Dovgal
c125461de1 "l" is long, that's why it is "l", not "i" 2008-06-30 10:39:34 +00:00
Antony Dovgal
b763c47e4e int -> long 2008-06-30 10:10:44 +00:00
Felipe Pena
d7f5edd988 - Fixed tests 2008-06-26 11:15:48 +00:00
Felix De Vliegher
4f7961b31a Tests for lchown(), testfest.php.net task number 129. 2008-06-26 09:10:54 +00:00
Olivier Hill
c5ec48e858 New parameter parsing API 2008-06-25 12:16:17 +00:00
David Coallier
624c8f2f66 Reverted zpp API Cleanup patch - memory troubles? 2008-06-25 10:16:52 +00:00
David Coallier
c1f8b9b7de - Hackish but working parameter parsing, no longer using
zend_get* at least
2008-06-25 08:56:42 +00:00
David Coallier
8c394f4955 - New parsing parameter API
- Tests have been adjusted, if you have something else failing
  let me know now! All tests seem to pass fine at the moment.
2008-06-24 22:53:01 +00:00
David Coallier
0674689940 - Tests for parsing parameter api 2008-06-24 22:51:57 +00:00
Felix De Vliegher
048736a907 Tests for ob_get_flush(), testfest task number #131. 2008-06-24 10:31:02 +00:00
Dmitry Stogov
273ee49acb Fixed strtolower/strtoupper to not modify the passed argument 2008-06-24 06:07:08 +00:00
Olivier Hill
906b5b80df New parameter parsing API for string, part I 2008-06-22 19:22:41 +00:00
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
Josie Messa
40a4cf4fea - committed chdir() tests in wrong directory 2008-02-26 09:34:29 +00:00
Josie Messa
f13562aa66 - New tests for chdir() function 2008-02-26 09:34:28 +00:00
Felipe Pena
a9f5ad7e87 MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP) 2008-02-25 22:54:57 +00:00
Steve Seear
ad3af52712 Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:31:17 +00:00
Felipe Pena
e947263bda Removed internal warning 2008-02-24 11:45:55 +00:00
Felipe Pena
afd2623ee7 Fixed test 2008-02-24 11:27:26 +00:00
Marcus Boerger
d3e5026564 - MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Felipe Pena
f7078d469c Fixed Bug #44212 (array_diff_assoc not reporting missing arguments) 2008-02-22 13:28:40 +00:00
Robert Nicholson
6ca51e664d - bug #44212 array_diff_assoc_error.phpt should expect warnings for missing parameters 2008-02-22 12:14:58 +00:00
Josie Messa
116ae80376 - New tests for reset() function 2008-02-22 09:19:56 +00:00
Rasmus Lerdorf
92cd32246b No point in echoeing the raw value back here in the error message 2008-02-22 05:13:20 +00:00
Felipe Pena
9139e74a60 New parameter parsing [DOC] 2008-02-21 17:50:03 +00:00
Felipe Pena
d44f4cb17b Fix test (new parameter parsing) 2008-02-21 17:47:33 +00:00
Josie Messa
2151ce6ba9 - New tests for end() and next() function 2008-02-21 16:39:02 +00:00
Josie Messa
e864044411 - New tests for key() function 2008-02-21 14:34:41 +00:00
Antony Dovgal
fe4e73238a ws->tab fixes 2008-02-21 11:53:34 +00:00
Ilia Alshanetsky
d3158cdc15 Fixed a possible crash with syslog logging on ZTS builds 2008-02-20 15:27:30 +00:00
Josie Messa
21324e9a69 - New tests for current() function 2008-02-20 14:20:31 +00:00
Josie Messa
f4dc0f293d - New tests for each() function 2008-02-19 17:02:27 +00:00
Josie Messa
23e18f966b - New tests for natcasesort() function 2008-02-19 10:53:10 +00:00
Felipe Pena
41c95c7d15 Fix the fix 2008-02-17 01:11:04 +00:00
Felipe Pena
8d914d4bcd Fix test 2008-02-17 01:03:19 +00:00
Felipe Pena
f3b2a87691 Fix test 2008-02-16 16:35:39 +00:00
Josie Messa
73004ae4b0 - New tests for rsort() function 2008-02-15 16:06:38 +00:00
Antony Dovgal
2fb4ea9c4f MFH 2008-02-15 09:35:53 +00:00
Antony Dovgal
0970b9f5e9 MFH: recursion protection in count() 2008-02-15 09:33:09 +00:00
Josie Messa
0430464b11 - New tests for count() function 2008-02-14 16:49:58 +00:00
Ilia Alshanetsky
e2c5bdae51 Fixed test on 64bit machines 2008-02-14 16:29:45 +00:00
Josie Messa
d972e43b1d - New tests for array_values() function 2008-02-14 14:22:43 +00:00
Felipe Pena
aefe056911 MFB: Fixed Bug #42838 (Wrong results in array_diff_uassoc) 2008-02-14 14:08:22 +00:00
Felipe Pena
fcb243f6e7 New test 2008-02-14 13:50:36 +00:00
Josie Messa
786746cb07 - New tests for array_slice() function 2008-02-14 11:17:36 +00:00
Dmitry Stogov
4de1e20fbb Fixed memory leak 2008-02-14 08:46:25 +00:00
Etienne Kneuss
12bd169f24 MFH: Fix inconcistencies between substr and substr_compare 2008-02-13 17:02:16 +00:00
Josie Messa
a74685ea0d - New tests for array_shift() function 2008-02-13 16:42:17 +00:00
Josie Messa
f32e65988c - New tests for array_push() function 2008-02-13 16:12:48 +00:00
Josie Messa
4546084866 - committing tests for array_merge() function 2008-02-13 14:20:58 +00:00
Josie Messa
6b522fdd50 - committing tests for array_key_exists() function 2008-02-13 13:16:21 +00:00
Hannes Magnusson
59498c8c5a Fix test 2008-02-12 20:05:29 +00:00
Josie Messa
b46602c028 - committing array_change_key_case variation tests 2008-02-12 17:44:50 +00:00
Zoe Slattery
5932b49990 Fixing 44092 2008-02-12 07:15:40 +00:00
Felipe Pena
ea3a6ed11f array_slice() - Fixed behavior when NULL is given in third parameter (BC) 2008-02-12 01:31:12 +00:00
Felipe Pena
d4dbddd2be New test 2008-02-12 01:19:48 +00:00
Stanislav Malyshev
fd597dce1b [DOC] Add compile-time __DIR__ constant which implements dirname(__FILE__) 2008-02-12 00:21:15 +00:00
Ilia Alshanetsky
70e913bdad Fixed test on 64bit machines 2008-02-11 16:02:46 +00:00
Antony Dovgal
038696fed1 MFH 2008-02-11 13:34:41 +00:00
Johannes Schlüter
5054799bd2 MFH: The exact message differs on different systems 2008-02-10 23:37:03 +00:00
Dmitry Stogov
3ea9c13c4b Improved md5() implementation (Solar Designer) 2008-02-08 09:11:17 +00:00
Jani Taskinen
7e00a410b3 fix test 2008-02-07 13:44:50 +00:00
Marcus Boerger
b7b41a6612 - MFH Fix missing check and tests 2008-02-06 20:40:19 +00:00
Zoe Slattery
a6fe8d8ca7 Fixing 32 bit specific 2008-02-06 09:36:58 +00:00
Zoe Slattery
a111cabedc Tests for assorted Maths functions 2008-02-06 08:44:24 +00:00
Marcus Boerger
f23526528e - MFH Add new test 2008-02-05 19:08:42 +00:00
Ilia Alshanetsky
6e9ef8e316 Fixed bug #44046 (crash inside array_slice() function with an invalid
by-ref offset).
2008-02-05 15:58:27 +00:00
Robert Nicholson
178839f667 - fix arsort_variation3.phpt which was missing its EXPECT section 2008-02-05 11:19:17 +00:00
Jani Taskinen
8a70a554d6 MFH: - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too 2008-02-04 20:45:20 +00:00
Robert Nicholson
a9418da4fc - added some new tests for arsort 2008-02-04 00:05:24 +00:00
Ilia Alshanetsky
c466f232bc Fixed bug #44028 (crash inside stream_socket_enable_crypto() when enabling
encryption without crypto type)
2008-02-03 16:14:16 +00:00
Marcus Boerger
f3d7570197 - MFH Rename it again
[DOC]
- MFH Add config_get_hash()
2008-02-03 14:45:00 +00:00
Marcus Boerger
fa94dabd97 - MFH Rename dump_config_hash() to get_config_hash() as it doesn't dump 2008-02-03 14:35:59 +00:00
Felipe Pena
e2c7b27130 Fixed reference problem (variable were converted) 2008-02-03 14:30:25 +00:00
Marcus Boerger
1cc463b88a - Fix tests 2008-02-02 15:19:06 +00:00
Marcus Boerger
02b13cdd8a - Fix the expectations. Tests still fails because of something else. 2008-02-02 14:37:29 +00:00
Marcus Boerger
f3c1a9fa02 - It appears HEAD needs to be MFB'ed and this needs another fix now 2008-02-02 14:03:13 +00:00
Marcus Boerger
14b087192c - MFH Use new parameter parsing API 2008-02-02 13:58:31 +00:00
Marcus Boerger
30eb2dcabf - MFH Fix tests 2008-02-02 13:33:41 +00:00
Rasmus Lerdorf
0530f9e327 Countable requires SPL 2008-02-02 09:53:44 +00:00
Felipe Pena
5b0a79cfba Fix tests (new error message) 2008-02-02 03:15:46 +00:00
Felipe Pena
e88c5b082b Fix tests (new error message) 2008-02-02 03:00:57 +00:00
Felipe Pena
d34f0a08f8 Fix tests (new error message) 2008-02-02 02:45:44 +00:00
Felipe Pena
8241db1b21 Fix tests (new error message) 2008-02-02 02:36:08 +00:00
Felipe Pena
0588ddce2a Fix tests (new error message) 2008-02-02 02:29:27 +00:00
Rasmus Lerdorf
c075476810 Another batch of fixed tests 2008-02-02 01:51:17 +00:00
Felipe Pena
17e1a396c1 Ops, fix the fix 2008-02-02 01:48:29 +00:00
Felipe Pena
315f534c02 Fix tests (new error message) 2008-02-02 01:40:45 +00:00
Rasmus Lerdorf
54e98bbb97 Fix a few more tests 2008-02-02 01:31:18 +00:00
Rasmus Lerdorf
1ee260b121 Fix test and convert to UNIX line endings 2008-02-02 01:01:04 +00:00
Rasmus Lerdorf
b9954bef45 Fix some tests 2008-02-02 00:29:17 +00:00
Antony Dovgal
b4b0816578 fix test, add 64bit version 2008-02-01 23:19:16 +00:00
Marcus Boerger
e8a8acdf39 [DOC]
- Fix callable/static mess, the following will now all result in a E_STRICT
  . binding a dynamic function as a static callback
  . static call of a dynamic function
  . is_callable() on a static binding to a dynamic function
# [marcus@frodo PHP_5_3]$ php -a -d error_reporting=8191
# make: `sapi/cli/php' is up to date.
# Interactive shell
#
# php > class t{ function f() { echo "Funny\n"; } }
# php > $c = array("t","f");
# php > call_user_func($c);
#
# Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method t::f() cannot be called statically in php shell code on line 1
# Funny
# php > var_dump(is_callable($c));
#
# Strict Standards: Non-static method t::f() cannot be called statically in php shell code on line 1
# bool(true)
# php > t::f();
#
# Strict Standards: Non-static method t::f() should not be called statically in php shell code on line 1
# Funny
# php >
2008-02-01 21:27:55 +00:00
Zoe Slattery
84be2df52a A few new tests for math functions - Note the "constants" test will fail on Windows - Bug 42143. 2008-02-01 17:21:18 +00:00
Felipe Pena
8c76a00f93 New tests and fix tests (new error message) 2008-02-01 13:41:19 +00:00
Felipe Pena
79cfa91a43 MFH: New parameter 'before_needle' 2008-02-01 12:28:44 +00:00
Rasmus Lerdorf
3275f1b057 There are plenty of other non-Windows operating systems 2008-01-31 18:31:54 +00:00
Marcus Boerger
9b3eb44f79 - fix flag handling in is_callable() 2008-01-31 11:21:15 +00:00
Zoe Slattery
1e29793386 Removing superfluous --INI-- section 2008-01-30 17:50:38 +00:00
Stanislav Malyshev
223a53fdeb rm cruft 2008-01-29 22:03:01 +00:00
Dmitry Stogov
382f1dddfa Fixed bug #43505 (Assign by reference bug) 2008-01-29 10:45:07 +00:00
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