Commit Graph

615 Commits

Author SHA1 Message Date
Robin Fernandes
4e210ade93 Adding tests for class features, including __autoload(), property inheritance rules and class constants. Note: autoload_012.phpt failing on php6, fix expected via bug 43973. 2008-01-30 14:29:19 +00:00
Antony Dovgal
c355a6a813 fix test 2008-01-10 08:45:54 +00:00
Robert Nicholson
241247db2f Fix incorrect use of assignment in where equality was intended - class tests. 2007-11-23 15:34:04 +00:00
Dmitry Stogov
0ab5a2c203 Fixed tests 2007-11-19 08:21:58 +00:00
Nuno Lopes
eaa67896c9 MFB: fix expected output 2007-09-13 19:31:08 +00:00
Johannes Schlüter
e80d138b1c - Add possibility to call static class members using variables (Etienne Kneuss) 2007-08-02 21:53:53 +00:00
Dmitry Stogov
92d3bc0c93 Fixed bug #40757 (get_object_vars get nothing in child class)
Fixed bug #41929 (Foreach on object does not iterate over all visible properties)
2007-07-24 11:40:07 +00:00
Dmitry Stogov
35579e463f removed seccond --UEXPECT-- 2007-07-11 06:36:24 +00:00
Dmitry Stogov
b6f62bd0d4 Skip unicode tests in non-unicode mode 2007-07-10 10:21:08 +00:00
Dmitry Stogov
d5ddac9720 Fixed test file 2007-06-18 07:31:45 +00:00
Antony Dovgal
89447d110f fix test, add missing ones 2007-06-05 11:25:21 +00:00
Hannes Magnusson
52ce2c5737 Fix the expected results
# This test still fails though
2007-06-04 00:11:11 +00:00
foobar
feab02f3ed - Improved the error message for exceeding max_input_nesting_level. 2007-06-03 16:53:37 +00:00
Ilia Alshanetsky
7d74c2c3e6 MFB: Improved fix for MOPB-02-2007 2007-06-03 16:19:55 +00:00
Antony Dovgal
301632ddf4 fix test 2007-05-29 11:34:58 +00:00
Antony Dovgal
9c47899565 fix tests 2007-05-18 11:29:40 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Michael Wallner
adfa6209e6 - output handler buffers are always binary, thanks Johannes 2007-05-05 15:16:48 +00:00
Antony Dovgal
47d3276cd7 removed unused highlight.bg ini option 2007-04-26 09:39:03 +00:00
Johannes Schlüter
98155ab1c0 - Fix test 2007-04-26 07:19:29 +00:00
Antony Dovgal
52e4f43e42 more test fixes 2007-04-18 08:09:02 +00:00
Johannes Schlüter
65aca2f200 - Fix old behaviour, ob_list_handlers() should always return an array 2007-03-03 10:27:04 +00:00
Antony Dovgal
4c4d865e9b fix tests 2007-02-19 20:02:08 +00:00
Antony Dovgal
686bfdca07 add a note 2007-02-11 20:12:45 +00:00
Dmitry Stogov
e28fd01d7d Fixed tests 2007-01-10 16:00:57 +00:00
Hannes Magnusson
a7b594d3bc Cookie tests 2006-12-09 15:57:33 +00:00
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