Commit Graph

639 Commits

Author SHA1 Message Date
Dmitry Stogov
f37ad2e146 Fixed bug #39775 ("Indirect modification ..." message is not shown) 2006-12-08 16:23:04 +00:00
Antony Dovgal
8f98226510 fix tests 2006-12-06 13:11:02 +00:00
Antony Dovgal
91ef42e47e fix test on those platforms where infinity is not "INF", but "Infinity" 2006-11-20 16:32:46 +00:00
Michael Wallner
c4e3b71acc - fix tests 2006-11-13 14:05:49 +00:00
Dmitry Stogov
dcc12b4f70 Fixed tests 2006-11-10 17:34:26 +00:00
Dmitry Stogov
94d9a548d4 Fixed tests 2006-11-10 14:21:26 +00:00
Hannes Magnusson
a099952a0c Fix test 2006-10-20 16:17:32 +00:00
Michael Wallner
2964547bf9 - fix skipif
- generalize error message expectation
2006-10-13 09:06:03 +00:00
Michael Wallner
4fee41c383 - add test, segfaults ATM 2006-10-13 09:03:03 +00:00
Antony Dovgal
36b78b78a4 fix #39003 (__autoload() is called for type hinting) 2006-10-02 11:05:02 +00:00
Dmitry Stogov
2197f8b970 Fixed bug #38579 (include_once() may include the same file twice) 2006-09-20 07:36:21 +00:00
Nuno Lopes
3ed3a71741 MFB 2006-09-14 17:07:41 +00:00
Michael Wallner
07379c22ef - add SKIPIF and skip test if zlib is not available 2006-08-28 12:05:10 +00:00
Hannes Magnusson
ea2891fa9d Fix tests on freebsd 2006-08-27 15:06:15 +00:00
Michael Wallner
0ff7bc29d9 - fix tests to comply with upgraded string.c
- use add_next_index_zval() when listing handlers
2006-08-22 08:16:37 +00:00
Michael Wallner
de93f1dc91 - error message enhancements
- avoid duplicate error messages
- add PHP_OUTPUT_HANDLER_FLUSHABLE
- add PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL
- add more tests
2006-08-09 13:56:45 +00:00
Marcus Boerger
2916886523 - Speling 2006-08-08 00:36:19 +00:00
Marcus Boerger
c7e5ab4d82 - Add new test 2006-08-07 23:12:59 +00:00
Antony Dovgal
2353dc4319 typofix 2006-07-17 10:08:07 +00:00
Antony Dovgal
81cf3b0d69 fix tests (take #2) 2006-07-05 12:03:35 +00:00
Antony Dovgal
62d568c970 fix tests 2006-07-05 12:02:16 +00:00
Antony Dovgal
bfceaaf1d1 unicode_semantics -> unicode.semantics 2006-06-28 15:07:14 +00:00
Michael Wallner
af012fd916 - fix output handler seeing buffered data when it gets discarded
- add test
2006-06-04 10:01:58 +00:00
Michael Wallner
f00f7056a2 - add simple unicode test 2006-06-02 23:45:53 +00:00
Antony Dovgal
eac15d9fd5 fix tests in unicode mode 2006-06-02 22:22:43 +00:00
Michael Wallner
4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
Marcus Boerger
78e44d8ab0 - Add new tests 2006-05-30 23:11:13 +00:00
Marcus Boerger
cc56405cb9 - Sync error messages and simplify error message generation code 2006-05-26 00:26:45 +00:00
Antony Dovgal
c0dd2b80ac fix tests in unicode mode 2006-05-25 10:38:01 +00:00
Marcus Boerger
7628f08017 - Improve error messages (part 2) 2006-05-21 12:38:28 +00:00
Marcus Boerger
8dd749fc65 - Fix unicode expectations 2006-05-21 11:38:24 +00:00
Marcus Boerger
426b40fc77 - Improved error messages 2006-05-21 11:23:35 +00:00
Marcus Boerger
16076207d5 - Add new tests 2006-05-20 11:34:58 +00:00
Marcus Boerger
b85eb277fc - Fix tests 2006-05-10 21:12:31 +00:00
Antony Dovgal
2143dd5415 more POST+arrays tests 2006-05-03 19:03:56 +00:00
foobar
6af3218f81 more cleanup (lingering ini settings which do not exist anymore, etc.) 2006-04-10 15:09:15 +00:00
Dmitry Stogov
1c7bc1e012 Fixed test file (test still fail) 2006-03-27 09:42:15 +00:00
Dmitry Stogov
e6a8c7405e Fixed test 2006-03-27 09:39:27 +00:00
Dmitry Stogov
00c81b0e49 Fixed register_argc_argv behavior. Now it behave in the same way as before in combinations with variables_order and auto_globals_jit.
$argc and $argv global variables are registered only in CLI mode and under $_SERVER[] in other case. (This is done because register_globals was removed and assumed - off).
2006-03-20 10:18:50 +00:00
Dmitry Stogov
fb7324bb71 Fixed register_argc_argv 2006-03-17 15:04:23 +00:00
Dmitry Stogov
7c0e534157 Dropped zend.ze1_compatibility_mode 2006-03-16 10:33:23 +00:00
Marcus Boerger
b0f461e9d9 - Fix Bug #34019 by popular demand: Implementing interface with a
__construct method strange behaviour
2006-03-05 18:23:56 +00:00
Dmitry Stogov
9da17f4fed Fixed test file 2006-02-22 11:44:37 +00:00
Marcus Boerger
052017e78b - Add new function 2006-02-19 12:18:28 +00:00
Marcus Boerger
ffd43034b0 - Interfaces may have static methods to enforce their existance in
implementing classes
2006-02-19 11:55:11 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Dmitry Stogov
227295a4f1 Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Marcus Boerger
8817b9e11a - MF51 2005-12-30 12:50:10 +00:00
Marcus Boerger
66ae043208 - MF51 2005-12-30 11:45:32 +00:00
Marcus Boerger
2ba333bee8 - Add missing prefixes 2005-12-18 13:01:09 +00:00
Marcus Boerger
45541fa7c8 - Speling 2005-12-18 12:54:29 +00:00
Marcus Boerger
170918c6eb - Fix Bug #35720 A final constructor can be overwritten 2005-12-17 15:50:24 +00:00
Marcus Boerger
25052ff3af - MFB 2005-12-16 23:21:38 +00:00
Dmitry Stogov
b74833788e Fixed test 2005-12-07 14:54:04 +00:00
Dmitry Stogov
543a1c1a9a Fixed test 2005-12-07 09:34:34 +00:00
Marcus Boerger
e1410fb0a4 - Really test the issue here 2005-11-26 16:34:37 +00:00
foobar
e538c3ea1f fix test 2005-11-26 13:39:55 +00:00
Marcus Boerger
33edd8eafc - Scew short open tags 2005-11-26 13:37:30 +00:00
Marcus Boerger
7d3937bdd3 - Add new test 2005-11-26 13:22:46 +00:00
Marcus Boerger
18f53efca5 - Add new test 2005-11-15 21:32:54 +00:00
Dmitry Stogov
1f98519ac4 Fixed bug #35176 (include()/require()/*_once() produce wrong error messages about main()) 2005-11-15 11:14:34 +00:00
Ilia Alshanetsky
cc918f8c69 Fixed test for cygwin installs 2005-10-20 14:42:36 +00:00
Derick Rethans
086875b107 - Make sure that typehints for classes can only accept "= NULL" as default
value.
2005-10-17 07:03:33 +00:00
Marcus Boerger
74e172d5b2 - Add new test 2005-10-06 18:41:01 +00:00
Marcus Boerger
206008bf77 - Fix test 2005-10-06 18:37:19 +00:00
Marcus Boerger
f1d1c5e282 - Add new test 2005-10-06 18:32:28 +00:00
Dmitry Stogov
9323d00a65 MFH 2005-09-27 08:50:23 +00:00
Marcus Boerger
3568f4839b - Need to rename in expectations, too 2005-09-27 08:46:53 +00:00
Marcus Boerger
04f21fab77 - Rename test to be consistent 2005-09-27 08:41:23 +00:00
Marcus Boerger
cb969bf938 - Add new tests 2005-09-27 08:37:37 +00:00
Dmitry Stogov
f94344d7fd Changed __toString() behavior to call it in all necessary places 2005-09-27 07:59:18 +00:00
Dmitry Stogov
213a1768a2 Fixed tests 2005-09-16 15:24:50 +00:00
Derick Rethans
c41ae5f4b0 - Added tests. 2005-09-15 16:20:06 +00:00
Derick Rethans
0f391bb0b3 - Add E_RECOVERABLE.
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
Dmitry Stogov
dd7f14dd47 Fixed tests 2005-08-18 10:53:55 +00:00
Dmitry Stogov
6d62ccc769 Unicode support 2005-08-17 14:01:06 +00:00
Dmitry Stogov
3509630024 trim() should accept objects with __toString() method 2005-08-17 11:36:32 +00:00
Dmitry Stogov
08fe0d1da3 Test engine is improved to support unicode mode 2005-08-15 14:37:55 +00:00
Dmitry Stogov
0bdfac1169 Tests are fixed according to new var_dump()/pront_r() format (to pass in non-unicode mode) 2005-08-15 07:55:41 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00
Dmitry Stogov
32d69c853a Fixed bug #33996 (No information given for fatal error on passing invalid value to typed argument) 2005-08-05 09:35:09 +00:00
foobar
3593a55341 fix test when include_path does NOT have . in it 2005-08-02 15:13:21 +00:00
foobar
57be0d2ed7 fix test 2005-07-31 20:36:48 +00:00
Dmitry Stogov
99cb1b8004 $context is not longer passed by reference, so its modification has no effect 2005-07-22 07:34:24 +00:00
Marcus Boerger
bf75124011 - Add test to verify all ArrayAccess methods can throw 2005-07-19 20:10:37 +00:00
Marcus Boerger
b8eb8bc7d5 - Add test to verify all iterator methods can throw 2005-07-19 19:50:11 +00:00
Antony Dovgal
bf9288d457 fix tests that started to fail after the last change in ZE
(noticed by Nuno)
2005-07-12 11:20:05 +00:00
foobar
7f7c80babf fix test when session.save_handler is "user" 2005-07-08 07:48:57 +00:00
Dmitry Stogov
f51e1c2064 Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods). Now empty($obj[...]) works proper but in addition it may call offsetGet() method. 2005-07-07 16:09:55 +00:00
foobar
498c2c7f3b UTC is better 2005-07-04 12:41:00 +00:00
foobar
43210250ea fix test 2005-07-04 08:32:07 +00:00
Rasmus Lerdorf
ba80543b16 Don't really need the ZE2 check since this is in HEAD 2005-06-23 11:01:08 +00:00
Rasmus Lerdorf
1caf22fdce test for derived method name clashes 2005-06-23 10:24:23 +00:00
Dmitry Stogov
60328db583 Debug backtrace was fixed 2005-06-22 15:30:14 +00:00
Marcus Boerger
0fcdcbbfd9 - Add new test 2005-06-21 06:59:58 +00:00
Marcus Boerger
2f99f9d1c8 - Add new test
# In this version we do not need to make the subscripted array a reference.
# Thus this implementation is in most cases the ideal implementation.
2005-06-19 22:18:07 +00:00
Marcus Boerger
363bfdb404 - Add new test
# This does the same as 009 but achieves its goal completely different. It
# is easier but makes the array a reference which is not always practical.
2005-06-19 22:09:53 +00:00
Marcus Boerger
5c86a323e5 - Drop doubled $ 2005-06-19 21:52:38 +00:00
Marcus Boerger
9a831f1e4d - Add new test 2005-06-19 21:34:21 +00:00
Marcus Boerger
f01c842ef6 - Update tests to reflect current situation
# I don't feel like discussing this issue anymore - maybe we need to find
# a way of returning proxies to get the requested behavior back - i'll give
# it a try for PHP 5.2. So long we'll have to stay with the original
# decision that we don't support references at all with ArrayAccess.
2005-06-19 20:49:17 +00:00
foobar
8d952c906f This test did not fit to the new interactive shell thing 2005-06-14 22:21:08 +00:00
Dmitry Stogov
e0b0ae9ce7 Fixed bug #25922 (In error handler, modifying 5th arg (errcontext) may result in seg fault) 2005-06-09 10:32:08 +00:00
Dmitry Stogov
0a08f62d21 Fixed test file affected by fix for bug #30820 (static member conflict with $this->member silently ignored) 2005-06-08 08:08:37 +00:00
Dmitry Stogov
1add2cc70e Fixed bug #29971 (variables_order behaviour) 2005-05-25 17:41:50 +00:00
Antony Dovgal
ef111b8364 fix test 2005-05-23 11:38:24 +00:00
Ilia Alshanetsky
17c7d35208 Adjust highlight test. 2005-05-22 16:40:26 +00:00
foobar
cdb675cbcf <? should die.. 2005-05-06 00:30:36 +00:00
Dmitry Stogov
79d6f11a4a Fixed bug #31525 (object reference being dropped. $this getting lost) 2005-05-05 17:37:25 +00:00
Stanislav Malyshev
4dc7c06b2a add test 2005-05-04 16:39:09 +00:00
Dmitry Stogov
ed35225721 Fixed error message 2005-05-03 13:46:00 +00:00
Marcus Boerger
ec6db3d242 - Fix tests affected by fix 2005-05-03 09:52:01 +00:00
foobar
3dcd8c26ee - Make sure E_STRICT is set when expecting Strict errors.. 2005-04-29 01:18:41 +00:00
foobar
8ba7d5dc53 Added test for bug #30578 2005-04-29 00:49:47 +00:00
Antony Dovgal
06a9f28b17 add test for bug #32828 2005-04-28 14:34:02 +00:00
foobar
87fc464c6b Fix test 2005-04-25 21:45:14 +00:00
Marcus Boerger
3080d49ed4 - Add new tests 2005-04-23 15:21:07 +00:00
Marcus Boerger
1a67f846d6 - Add test 2005-03-07 22:24:18 +00:00
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