Commit Graph

583 Commits

Author SHA1 Message Date
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