Commit Graph

315 Commits

Author SHA1 Message Date
Derick Rethans
a07c080ce8 - Added test case for bug #30862. 2004-11-22 21:41:16 +00:00
Derick Rethans
59651c4e58 - Fixed bug #30630: Added a BSD based strtod function that is
locale-independent. (PHP part)
2004-11-03 23:36:51 +00:00
Derick Rethans
00b9ace829 - Added test for bug #29944. 2004-09-02 06:36:35 +00:00
Joe Orton
8b4929818f Do not rely on behaviour of integers which might be greater than
LONG_MAX on 32-bit architectures.
2004-08-31 10:23:22 +00:00
Antony Dovgal
513c93b9ae add testcase for bug #29893 2004-08-30 09:07:17 +00:00
Marcus Boerger
7ec9245c74 No short tags 2004-08-25 07:25:54 +00:00
Marcus Boerger
965783b7c1 Add new test 2004-08-24 21:35:46 +00:00
Ilia Alshanetsky
6dd2613d7b MFB: Fixed bug #28800 (strings beginning with "inf" improperly converted). 2004-07-16 02:03:25 +00:00
Stefan Esser
0b9d614988 Fixed typo 2004-07-13 11:30:50 +00:00
Alan Knowles
6284b34e6e remove test dependance on postgres ** this still fails however 2004-07-13 07:20:45 +00:00
Alan Knowles
ad2b89c9a3 ensure that test passes on systems without postgres built in. 2004-07-13 07:12:06 +00:00
Marcus Boerger
91f0369c80 Add more tests 2004-06-27 13:28:01 +00:00
Marcus Boerger
46e9abe602 Add more tests 2004-06-27 13:15:31 +00:00
George Schlossnagle
6cc2073d91 tests for the crash in bug 28213 2004-06-18 18:10:52 +00:00
Marcus Boerger
d94136fc30 - Remove unused blocks 2004-05-19 08:45:46 +00:00
Derick Rethans
5b5207292b - Fixed test 2004-05-06 17:45:27 +00:00
Dmitry Stogov
f9c5fc6ecb Fix (using patterns) 2004-04-05 05:24:15 +00:00
Dmitry Stogov
794358f385 Test file was fixed (implicit cloning strict warnings) 2004-04-02 13:43:58 +00:00
Dmitry Stogov
6d9d08bf55 Fixed (strict warning was added to expected output) 2004-03-24 14:14:16 +00:00
Marcus Boerger
bad2a4bca9 Fix test 2004-03-20 12:30:57 +00:00
Derick Rethans
360b98566c - Added test for bug #27535 (Objects pointing to each other cause Apache to
crash).
2004-03-09 08:19:19 +00:00
Derick Rethans
17790a0369 - Consistent naming 2004-03-02 16:12:25 +00:00
Pierre Joye
2fba0d7b7a - initial test for #27439, covers more cases we got during
foreach($this->foo as $bar) bug
2004-03-02 16:00:49 +00:00
Derick Rethans
a84efbe923 - Fixed bug #27443 (defined() returns wrong type). 2004-03-01 08:07:25 +00:00
Marcus Boerger
cd7833ec81 Add new test (from pierre) 2004-02-26 19:51:08 +00:00
foobar
a79c7c7c84 Remove bogus test: see bug #20993 2004-02-26 01:08:04 +00:00
foobar
cd2d5c4631 Revert and add the compatibility option. 2004-02-25 20:37:11 +00:00
foobar
4a32ba458c Test for bug #27395 2004-02-25 18:54:15 +00:00
Zeev Suraski
982b44e073 This is no longer valid out of the box PHP 5 code.
We tried to enable compatibility mode but the test engine doesn't appear
to take the --INI-- section into account in compile time, so it didn't
work...
2004-02-25 14:57:43 +00:00
Derick Rethans
b9d56576bf - Added testcase for bug #27354 (Modulus operator crashes PHP). 2004-02-22 20:04:30 +00:00
Zeev Suraski
59a5701a8e extend Exception 2004-02-12 12:37:04 +00:00
Zeev Suraski
229aa6351f extend Exception 2004-02-12 12:21:16 +00:00
Andi Gutmans
597410a0e0 Fix a couple of tests 2004-02-10 15:20:51 +00:00
foobar
6529000fff Add test case for bug #26866 2004-02-10 12:58:36 +00:00
Marcus Boerger
8710688358 The &new is no longer needed, prevent E_STRICT message 2004-02-04 21:34:10 +00:00
Zeev Suraski
75d1fbec60 Update test (reason: can no longer assign to $this) 2004-02-04 17:55:44 +00:00
Marcus Boerger
4137d77ca9 No longer needed 2004-02-03 22:05:30 +00:00
foobar
dbff3d8b97 test for bug #26900 2004-01-26 04:37:50 +00:00
Marcus Boerger
3ca44539a1 Switch from ZEND_ACC_DYNAMIC to ZEND_ACC_ALLOW_STATIC and disallow calling
internal non-static methods statically.
# As discussed with Zeev:
# - For BC standard userspace methods allow this with an E_STRICT message.
# - If you want to implement an internal method taht can be called both
#   statically and non-statically then use flag ZEND_ACC_ALLOW_STATIC.
# - Magic user space methods __*() cannot and __construct, __destruct,
# __clone can never be called statically.
2004-01-24 16:59:24 +00:00
foobar
a5ad026469 test case for bug #26696 2004-01-20 00:25:30 +00:00
foobar
fcf131ce23 add test case for bug #26869 2004-01-11 13:59:48 +00:00
Marcus Boerger
717604ea70 Add more tests 2003-12-22 22:53:48 +00:00
Marcus Boerger
26a0abbd0c Fix tests now that class names are shown in correct casing 2003-12-22 22:50:02 +00:00
Ilia Alshanetsky
fec7c2997a Update test. 2003-12-17 17:25:00 +00:00
Ilia Alshanetsky
097ed939a6 Fixed test. 2003-12-14 18:25:13 +00:00
foobar
c6c4c4fbc4 - Nuke property_exists() calls
- Fix the test. (this is BUG in PHP 5, works in PHP 4)
2003-12-01 12:07:36 +00:00
Marcus Boerger
c3fddcab62 Fix tests for E_STRICT and check for E_STRICT in run-tests.php. 2003-11-30 13:57:20 +00:00
Marcus Boerger
af3f48b7e1 Research reveals that the error text depends on the tools and their
versions used to create the language parser.
2003-11-29 12:51:37 +00:00
foobar
b0d921697d test for bug #24908 2003-11-29 07:54:19 +00:00
foobar
d0f9ba8955 - Fix expected output. 2003-11-29 07:29:42 +00:00
foobar
3e7dd7eb29 oops.. 2003-11-29 07:16:58 +00:00
foobar
5ff5a9fbb3 test for bug #25652 2003-11-29 07:15:31 +00:00
foobar
5faa087a0e test for bug #24926 2003-11-29 02:28:49 +00:00
Marcus Boerger
3be27ecc78 Add a support function to check for property existance which is different
from checking a property from being empty/set.
Update test #26182.
2003-11-27 17:06:26 +00:00
Marcus Boerger
7780cbc9f3 In PHP5 this will create an implicit public property 2003-11-26 08:47:58 +00:00
Marcus Boerger
f40ecad640 Errro message has changed 2003-11-26 08:45:42 +00:00
foobar
f280bc3735 test case for bug #26182 2003-11-25 09:20:56 +00:00
Ilia Alshanetsky
4d349926ff Fixed some test names.
Removed extraneous \r from a number of tests.
2003-10-24 03:31:57 +00:00
Ilia Alshanetsky
5dac0007f3 Fixed bug #25922 (Crash in error handler when 5th argument is modified). 2003-10-22 23:42:55 +00:00
Marcus Boerger
83a48b2603 Test for bug #25547 2003-09-15 20:30:32 +00:00
Ard Biesheuvel
eba90f7f99 WS 2003-09-13 19:49:50 +00:00
Ard Biesheuvel
6f37733367 Fixed for 64bit archs 2003-09-13 15:27:09 +00:00
foobar
b78f146f7f - Skip with CLI 2003-08-29 09:05:11 +00:00
Marcus Boerger
96d7f06e37 Add test for #25145 2003-08-19 22:47:30 +00:00
Marcus Boerger
61f52becec Add some debug help 2003-08-16 18:28:20 +00:00
Moriyoshi Koizumi
a5c6b9127e (format fix) replace a tab with a single space 2003-08-11 19:52:38 +00:00
Moriyoshi Koizumi
6be14c6636 Fix test so it matches the new error message. 2003-08-09 19:19:14 +00:00
Ilia Alshanetsky
ac41c5db23 Added/improved tests for bugs 24142, 24063, 24951, 24980 2003-08-09 16:44:33 +00:00
Zeev Suraski
b894f06f49 Add a test 2003-08-04 08:42:36 +00:00
Zeev Suraski
95eaf55aa6 Add foreach() test with references 2003-07-24 13:21:54 +00:00
Zeev Suraski
4f3e52ac1b Add test for binary safety of each() 2003-07-24 13:08:35 +00:00
foobar
8514398dfc Fix the test.. 2003-07-24 10:41:47 +00:00
foobar
dcfe901015 test for bug 24783 (foreach() key not binary safe) 2003-07-24 10:25:15 +00:00
Zeev Suraski
4ec05c508b Add test 2003-07-22 13:54:45 +00:00
Zeev Suraski
7e72d8e826 Fix bug #24499 2003-07-21 12:13:16 +00:00
Zeev Suraski
9bbf5577dd Add a couple of tests 2003-07-21 11:48:37 +00:00
foobar
a00e3f6f1e Added test case for bug #24573 2003-07-18 12:24:49 +00:00
Marcus Boerger
4e2b88255c Add test for bug #24640 2003-07-17 21:02:44 +00:00
Moriyoshi Koizumi
02c55f6c63 Added test case for bug #24658 2003-07-17 18:50:56 +00:00
foobar
7fe8f6cf94 Added test case for bug #22690 2003-07-16 00:38:54 +00:00
Zeev Suraski
eab449ded0 Another test case 2003-07-02 18:05:45 +00:00
Derick Rethans
dab62fcf60 - use <?php in testcases 2003-07-02 18:00:51 +00:00
Zeev Suraski
60152a0db8 Add test case 2003-07-02 17:51:15 +00:00
Moriyoshi Koizumi
31431193ca Now this should make sense. 2003-07-02 15:47:24 +00:00
Moriyoshi Koizumi
928d6ac769 Adjust test.
# This was also fixed by the Zeev's patch for bug #22367.
2003-07-02 15:38:51 +00:00
Zeev Suraski
cb38a9227e Adjust expectations :) 2003-07-02 15:08:11 +00:00
Derick Rethans
7d6d146a02 - Fixing this test, this is the correct behavior 2003-07-01 19:06:04 +00:00
Rasmus Lerdorf
832ffd1970 Fix 3 tests that didn't adequately specify the .ini settings they rely on 2003-06-30 18:22:53 +00:00
foobar
b377225d4f Added test case for bug #24396 2003-06-30 17:30:16 +00:00
Stanislav Malyshev
10642b81a0 Add test for the bug - will fail for now! 2003-06-16 12:26:07 +00:00
Stanislav Malyshev
91ec828de5 add tests for fixed bugs 2003-06-16 09:20:42 +00:00
Jay Smith
0efbd4f925 Namespaces are gone, and so is this test. 2003-06-06 19:00:48 +00:00
foobar
c8c45d14da Test for bug #24054 2003-06-06 11:09:55 +00:00
Moriyoshi Koizumi
2e5013efec Added test case for bug #17115 2003-05-23 23:27:24 +00:00
foobar
412f54edab MFB 2003-05-14 15:02:30 +00:00
foobar
5d4bca6dbf Added test case for bug #23584 2003-05-14 00:06:55 +00:00
Sebastian Bergmann
938d90f1d8 Add test case for bug #23489. 2003-05-05 10:16:04 +00:00
Marcus Boerger
cb1976cb13 MFB: Fix test 2003-05-03 17:30:46 +00:00
foobar
fc8d7c2a8e Added test case for bug #21820 2003-04-25 08:33:25 +00:00
Moriyoshi Koizumi
ba8e57b2cb Added test for bug22592 2003-03-15 23:37:17 +00:00
Moriyoshi Koizumi
3f04205371 Fixed typo 2003-03-14 17:12:24 +00:00
Moriyoshi Koizumi
a41e0c1382 Modified the test to reflect the recent change on var_dump() 2003-03-10 20:46:39 +00:00
Jay Smith
61de56b7f5 Added tests for interfaces and class type hinting. 2003-03-07 15:56:31 +00:00
Moriyoshi Koizumi
2d40fe2222 Further testing on this feature should have been done... 2003-03-06 19:37:19 +00:00
foobar
888a084ccb added test for the memleak part from bug #19943 2003-03-06 16:29:05 +00:00
Moriyoshi Koizumi
a06b5bde22 Added a test case for bug #22510 2003-03-04 19:52:22 +00:00
Jay Smith
243dd060d1 Added some tests for ZE2 features and their functionality. 2003-03-03 16:44:38 +00:00
Moriyoshi Koizumi
a628a6a2de Added test case for bug #22367 2003-02-24 19:37:27 +00:00
Moriyoshi Koizumi
a67e4dac8f Fixed the test as the result is just considered to be expected 2003-02-24 16:50:35 +00:00
Moriyoshi Koizumi
1b79da954c Added test case for bug #22231 2003-02-15 15:15:14 +00:00
Zeev Suraski
8713fdd102 Fix the test 2003-02-10 10:58:56 +00:00
Moriyoshi Koizumi
e2c4dffae0 Modified the test so it will be skipped under ZE1.
Thanks Kai
2003-02-03 16:38:22 +00:00
Moriyoshi Koizumi
0eb1c407b2 Added missing "?>" 2003-02-03 16:33:13 +00:00
Moriyoshi Koizumi
aded4d818a Added test case for bug #21961 2003-02-03 14:02:21 +00:00
Melvyn Sopacua
ac3dc9d95e Fix parse error and edink's fear of bison errors 2003-01-28 10:04:17 +00:00
Moriyoshi Koizumi
6174d2b446 Updated test so it describes the problem more clearly. 2003-01-27 01:15:14 +00:00
Moriyoshi Koizumi
ad86154d90 Added test case for bug21849.phpt 2003-01-23 23:22:23 +00:00
Moriyoshi Koizumi
d4f59af5be Fixed typo 2003-01-23 19:31:02 +00:00
Moriyoshi Koizumi
4199484313 Changed the test's file name as per the convention 2003-01-23 19:28:39 +00:00
Moriyoshi Koizumi
da45161bd2 Added test case for bug #21800 2003-01-21 19:38:08 +00:00
Moriyoshi Koizumi
a395304c72 Added test case for bug #21094 2003-01-18 19:44:12 +00:00
Moriyoshi Koizumi
22a6b8f1a4 Added test case for bug #21600 2003-01-12 23:56:04 +00:00
Melvyn Sopacua
2169eb2ccc MFB: There won't be a warning/fix on this, so remove the test 2002-12-21 21:01:52 +00:00
Melvyn Sopacua
9dc1412e46 MFB: Skip the test, until a proper descision is made 2002-12-21 16:58:23 +00:00
Melvyn Sopacua
43202b5b95 Add testcase for bug #20993 2002-12-13 18:40:39 +00:00
Derick Rethans
1019b2ea94 - Adjust tests for removed old_function() in Zend Engine 2 2002-11-23 22:08:05 +00:00
Derick Rethans
8011c17fd3 - Add test for bison weirdness as some people experienced (seems fixed
now though)
2002-11-19 14:53:31 +00:00
Marcus Boerger
16af3f7d11 Update to new syntax suggestion 2002-11-15 15:19:02 +00:00
Moriyoshi Koizumi
5e2464ed38 Removed the test. I should have been more aware of variability of
error messages. Thanks Ilia.
2002-11-11 00:16:09 +00:00
Moriyoshi Koizumi
f13fd7a713 Made it conscious of the line number 2002-11-10 19:27:48 +00:00
Moriyoshi Koizumi
b8d56f5ec2 Added a test case for bug #17882 2002-11-10 18:43:19 +00:00
Moriyoshi Koizumi
c0dfdd2ff6 Added a test for bug #19566 2002-11-08 17:46:29 +00:00
Marcus Boerger
bc9757f07a Comment out part 3 for now
Added Part 4
2002-11-05 09:51:09 +00:00
Marcus Boerger
b8f8591326 2nd wow returns different results with ZE1/ZE2 2002-11-04 17:12:21 +00:00
Ilia Alshanetsky
79d6b61523 Removed \r, which caused the test to fail. 2002-11-04 16:46:28 +00:00
Marcus Boerger
29372b231b See http://bugs.php.net/20175 2002-11-04 10:51:08 +00:00
Marcus Boerger
0725405d74 Rewrite: Taken from ZE2 RFC + a little textual modification 2002-10-29 13:51:44 +00:00
Marcus Boerger
f168c6feef no notices here 2002-10-29 13:30:22 +00:00
Derick Rethans
31224b8923 - Use new setlocal semantics 2002-10-23 20:35:16 +00:00
Melvyn Sopacua
6dde848d9e Sorry, shouldn't use undo on packetloss connections 2002-10-10 19:52:13 +00:00
Andrei Zmievski
9275b2bd9a Fix the test after Ilia's patch. 2002-10-10 18:36:12 +00:00
Melvyn Sopacua
0ff44ce57b Fix platform dependencies, setlocale output, bug #19836
Testing numerics, so set numeric. If the platform doesn't support this
category, passing this test is more likely to be coincedence than expected
behavior.
2002-10-10 16:39:52 +00:00
Sander Roobol
83189bd742 Skip this test if we're not using ZE2 2002-10-06 19:39:12 +00:00
Yasuo Ohgaki
7cacf9713d WS and added missing output.
It seems this bug is fixed in latest version at least.
2002-10-01 11:18:31 +00:00
Stig Bakken
04788f9503 @- Added set_exception_handler() function for registering a global,
@  catch-all exception handling function (Stig)
- Added set_exception_handler() function for registering a global,
  catch-all exception handling function (Stig)
2002-08-16 00:41:37 +00:00
foobar
725b3573be Use the constant instead of string for locale type. 2002-08-01 11:49:41 +00:00
Hartmut Holzgraefe
40007c2049 Zend Engine behaviour is affected by setlocale() due to use of
locale aware functions like strtod(), atof(), tolower(), toupper() :(
2002-07-17 08:49:26 +00:00
Preston L. Bannister
5c1d215976 More detailed/explanatory output. 2002-05-16 21:57:24 +00:00
Preston L. Bannister
285b73fa1f Make failed case tell you what was different. 2002-05-16 21:56:44 +00:00
Sander Roobol
ef2608925c Updating tests: remove alternative syntax in tests, added a special
alternative-syntax testfile.
2002-03-29 17:12:11 +00:00
Yasuo Ohgaki
7e570674cd Trying to be more clear. 2002-03-29 08:34:02 +00:00
Yasuo Ohgaki
0090003920 Added class method registration test. It does not test
for multiple method definitions due to test script limitation.
# Current CVS source w/o my patch should fail, though.
2002-03-29 02:03:27 +00:00
Yasuo Ohgaki
99723b511e Change title to reasonable one.
# Shall we consider this as a bug or documentation problem?
2002-03-29 01:41:48 +00:00
Yasuo Ohgaki
5f3d9a67f9 Fix test :) 2002-03-23 01:50:54 +00:00
Yasuo Ohgaki
4a95a9295a Added while(list() = each()) test
# We may want tests/bugs ?
2002-03-23 01:34:50 +00:00
Thies C. Arntzen
d34453258d fixed. 2001-06-21 18:58:55 +00:00
Andi Gutmans
f725a0d11a - Convert cfunction -> function. 2001-04-26 19:42:08 +00:00
André Langhorst
e35a679e74 more win32 fixes 2001-03-21 12:47:46 +00:00
Andre Langhorst
b03af37e19 updated with =& new syntax 2000-12-06 18:55:52 +00:00
Andre Langhorst
45c218968c added $this in constructor test (fails currently) 2000-12-06 17:56:53 +00:00
Andre Langhorst
41f8d621b6 added OO test (will fail currently) 2000-12-06 16:22:01 +00:00
Hartmut Holzgraefe
86c0d81253 have you ever tried to run the regression tests with error_reporting=E_ALL ?
now it will run smoothly without all theese 'undefined ...' warnings
2000-10-23 07:40:05 +00:00
Stanislav Malyshev
bdde2b4303 Remove deprecated call-time reference 2000-09-03 09:12:22 +00:00
Stig Bakken
1bb90f5805 * all tests should pass now (expect for the interbase stuff that I haven't
had the chance to test)
2000-08-31 22:21:47 +00:00
Stig Bakken
315f4f5658 @PHP 3 regression testing framework re-born (Stig)
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows.  See tests/README for how to write tests.  Added the PHP 3
tests and converted most of them.
2000-08-27 19:46:06 +00:00