Commit Graph

522 Commits

Author SHA1 Message Date
Marcus Boerger
37e2436b6f - Add new test 2005-03-07 01:43:02 +00:00
Marcus Boerger
d1fc7ad4d9 - Add new test 2005-02-07 15:16:08 +00:00
foobar
0503943150 - Sanitize output 2005-01-18 11:53:49 +00:00
Magnus M��tt�
5c98efddae Add test case for bug #30726. 2005-01-18 09:56:31 +00:00
Dmitry Stogov
beaff87d50 "Undefined variable: %s" noticies were fixed to use one space 2004-12-27 13:43:26 +00:00
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
Andi Gutmans
086e951387 - Fix test 2004-10-20 22:55:57 +00:00
Andi Gutmans
14fac3dd02 - One more test fix 2004-10-20 22:36:32 +00:00
Andi Gutmans
14e547516c - Fix interface tests. Interfaces should not use access modifiers 2004-10-20 22:13:44 +00:00
Marcus Boerger
dc2d342b24 - Add new test 2004-10-04 17:30:53 +00:00
Marcus Boerger
1ac9923c63 - Fix tests by removing erroneous check from --SKIPIF-- 2004-09-29 09:39:43 +00:00
Marcus Boerger
0a74684b3a - Fix tests by removing corrupt --SKIPIF-- 2004-09-29 09:36:56 +00:00
Marcus Boerger
13f3e07ff2 - Add new tests 2004-09-29 09:36:23 +00:00
Marcus Boerger
617de19912 - Add new test (related to #30234) 2004-09-26 18:16:33 +00:00
Antony Dovgal
663e46eee5 add testcase for bug #29446 2004-09-10 13:55:26 +00:00
Dmitry Stogov
4c4d9102e8 Fix: interfac -> interface 2004-09-06 08:40:04 +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
dcd10fb714 Add new test 2004-08-26 22:53:51 +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
Andrey Hristov
dd5538566e fix for bug 26737 : private & protected member variables not serialized
when user defined __sleep() is declared. Additionally E_NOTICE is
being thrown if __sleep() returns a non-existing member variable name
2004-08-21 13:49:19 +00:00
Marcus Boerger
1dda0f263a Fix tests after foreach patch 2004-08-12 08:01:41 +00:00
Marcus Boerger
1e6c12c919 MFB Enforce protocol of magic methods/classes 2004-08-02 08:29:59 +00:00
Marcus Boerger
5f0433db83 MFB: Enforce protocol on magic methods/functions 2004-08-02 08:27:57 +00:00
Marcus Boerger
806245e185 - Do not autoload classes in skip code 2004-07-25 19:23:17 +00:00
Marcus Boerger
03c19c2b8f - Add new test 2004-07-25 19:21:21 +00:00
Marcus Boerger
fd83c1ea41 - Add test 2004-07-25 19:20:47 +00:00
Marcus Boerger
ba55871325 - Add new patch for reordered shutdown sequence 2004-07-25 16:12:18 +00:00
Marcus Boerger
170c92dfbe Fix testcase 2004-07-22 18:40:19 +00:00
Ilia Alshanetsky
6dd2613d7b MFB: Fixed bug #28800 (strings beginning with "inf" improperly converted). 2004-07-16 02:03:25 +00:00
Magnus M��tt�
cfc8accd3e Test for bug 26737:
Protected and private variables are not saved on serialization
when a user defined __sleep is used.
2004-07-15 11:52:04 +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
29cfd6d24f - Remove unused blocks 2004-05-19 08:56:50 +00:00
Marcus Boerger
d94136fc30 - Remove unused blocks 2004-05-19 08:45:46 +00:00
Marcus Boerger
007a076cd0 Fix test 2004-05-18 21:27:08 +00:00
Ilia Alshanetsky
0a38683b14 Correct output. 2004-05-17 20:58:57 +00:00
Derick Rethans
5b5207292b - Fixed test 2004-05-06 17:45:27 +00:00
Ilia Alshanetsky
4e4d861046 Fixed test. 2004-04-24 22:38:51 +00:00
Marcus Boerger
dddbe6f60e Add new tests (by magnus) 2004-04-20 00:00:51 +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
Marcus Boerger
a7b9cb454e Adapt ecpectations to 5.0 reality 2004-03-28 14:09:47 +00:00
Marcus Boerger
c9c13a7336 Add new test 2004-03-27 15:49:23 +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
Pierre Joye
3d331bc64c - Test for possible data corruption with __set 2004-03-18 15:14:02 +00:00
Marcus Boerger
6d7f04307d Update message 2004-03-16 18:09:52 +00:00
Pierre Joye
fd8cea693a - initial commit
test case for #27504 (http://bugs.php.net/bug.php?id=27504)
2004-03-16 16:45:44 +00:00
Marcus Boerger
2bdcfe4d0e Update test 2004-03-09 16:51:02 +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
Marcus Boerger
b6b7c9eb65 Rename hasMore() to valid() as discussed. (Part I) 2004-03-08 17:33:31 +00:00
Dmitry Stogov
09a7d5bb2f Test files were fixed acording to new constructor redeclaration semantic 2004-03-05 12:18:16 +00:00
Dmitry Stogov
215c71ee7c Test file was fixed (stack trace is removed) 2004-03-05 12:16:28 +00:00
Derick Rethans
21141e1378 - Fixed timing issues in test 2004-03-02 21:14:10 +00:00
Derick Rethans
5f7553e24c - Added testcase for bug #27468 2004-03-02 21:03:24 +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
ced7dfddbd The order of error has changed here. So the expectations must change too. 2004-02-27 09:17:55 +00:00
Marcus Boerger
9346ff2de4 Fixes for abstract classes 2004-02-26 20:11:28 +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
Derick Rethans
f954677e54 - Fix tests after change to highlight_string() 2004-02-25 22:55:47 +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
fe4239d0d7 Fix test 2004-02-12 14:12:37 +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
Marcus Boerger
c6cbafa273 Fix: <interface> [extends <interface> [, <ineterface>]* ] 2004-02-11 22:13:39 +00:00
Zeev Suraski
b70f942189 Get rid of some yucky past, and reenable these tests 2004-02-11 16:09:46 +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
629c3da19d Add test 2004-02-04 22:18:35 +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
Zeev Suraski
aa4fa62fc8 Update test (reason: early binding changes its behavior) 2004-02-04 17:47:35 +00:00
Zeev Suraski
4b4351c2d9 Update test (reason: early binding changes its behavior) 2004-02-04 17:45:08 +00:00
Marcus Boerger
dfad2955ee Update tests 2004-02-03 22:07:29 +00:00
Marcus Boerger
4137d77ca9 No longer needed 2004-02-03 22:05:30 +00:00
Marcus Boerger
38e5a2a374 Update tests 2004-02-03 21:52:46 +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
Marcus Boerger
a3a19e915a Change to correct syntax.
# The test will still fail though.
2004-01-21 22:36:49 +00:00
foobar
a5ad026469 test case for bug #26696 2004-01-20 00:25:30 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
foobar
f584b9e168 typofix 2004-01-17 06:18:09 +00:00
foobar
fcf131ce23 add test case for bug #26869 2004-01-11 13:59:48 +00:00
Marcus Boerger
2fc7a07e62 Use __tostring() in all printing functions. 2003-12-29 22:26:48 +00:00
Marcus Boerger
23191fb208 Add some __autoload() tests. 2003-12-29 12:36:31 +00:00
Marcus Boerger
e29f589d46 Add more tests. 2003-12-28 18:03:05 +00:00
Ilia Alshanetsky
0688205940 Fixed Bug #26703 (Certain characters inside strings incorrectly treated as
keywords). Original patch by vrana@php.net.
2003-12-25 18:57:26 +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
Marcus Boerger
06788f0438 Fixed bug #26675 (Segfault on ArrayAccess use)
Update NEWS
2003-12-22 16:27:14 +00:00
Dmitry Stogov
df76eba657 New tests for memory leaks 2003-12-19 15:08:56 +00:00
Dmitry Stogov
25a811da65 Assign_op operators (+=) were fixed for elements of overloaded objects 2003-12-19 11:22:13 +00:00
Marcus Boerger
e515b246cb Fix test 2003-12-19 10:23:05 +00:00
Marcus Boerger
06aad2d22d Add test for foreach visibility 2003-12-19 10:16:08 +00:00
Marcus Boerger
73b895ca5f Add new test 2003-12-17 22:14:59 +00:00
Ilia Alshanetsky
fec7c2997a Update test. 2003-12-17 17:25:00 +00:00
Marcus Boerger
d4f64f88ba Reenable __tostring() magic for print,echo,concatenation,function naming...
but not for other internal things.
# As discussed with Andi
2003-12-15 16:59:21 +00:00
Ilia Alshanetsky
097ed939a6 Fixed test. 2003-12-14 18:25:13 +00:00
Marcus Boerger
1e2349a1f1 Fix test 2003-12-14 17:42:57 +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
Marcus Boerger
4dba05d9cc Add new interface ArrayAccess to use objects as Arrays 2003-11-24 20:57:54 +00:00
Marcus Boerger
cf1a6108eb Add new iterator test inspired by bug #26527 2003-11-18 07:33:30 +00:00
Marcus Boerger
ec9ea44f59 Update test expectations 2003-11-10 18:09:07 +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
8abb3bd448 Impement userspace iterator interfaces and tests. See tests for details
on the names.
2003-10-22 20:04:48 +00:00
Kai Schroeder
3d4586e965 Fixed typo 2003-10-20 04:49:18 +00:00
Marcus Boerger
d7fdf15a41 - Allow partial type conversion support for objects.
- Add support for object to string conversion from userspace by method
  __toString() and add a test.
2003-09-18 11:38:33 +00:00
Marcus Boerger
46b8801b35 Go with studlyCaps in error messages/backtrace/reflection output 2003-09-17 10:14:12 +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
Marcus Boerger
62421b5201 Fix registering/derigistering of stdClass in ZTS and NON ZTS mode 2003-09-08 10:45:19 +00:00
Marcus Boerger
95649ab260 Tests show updating consts must happen once at runtime (revert optimization).
Add tests for static properties.
2003-09-04 16:00:01 +00:00
Marcus Boerger
430bfc6f09 Fix test 2003-09-03 21:19:22 +00:00
Marcus Boerger
9702c70a35 Synch/Unify error messages related to function/method calls 2003-09-02 14:08:59 +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
2f51c2acf4 Once is enough 2003-08-17 12:13:26 +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
Marcus Boerger
f427dc4f8e Add destructor inheritance test (bug #24637) 2003-08-11 00:02:32 +00:00
Ilia Alshanetsky
073e282b38 <? -> <?php 2003-08-09 20:13:44 +00:00
Marcus Boerger
c05b329c6c Add testcase for complicated reference scenarios with objects. 2003-08-09 20:09:09 +00:00
Moriyoshi Koizumi
6be14c6636 Fix test so it matches the new error message. 2003-08-09 19:19:14 +00:00