Commit Graph

979 Commits

Author SHA1 Message Date
Gustavo André dos Santos Lopes
ee80871a15 - Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
type is application/x-www-form-urlencoded or is not registered with PHP).
2010-10-27 14:56:51 +00:00
Gustavo André dos Santos Lopes
da400e7500 - Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
type is application/x-www-form-urlencoded or is not registered with PHP).
2010-10-27 14:56:51 +00:00
Gustavo André dos Santos Lopes
0086bc8a96 - Implemented request #44164, zlib.output_compression is now implicitly
disabled when the header "Content-length" is set.
#One could argue that any output handler could change the size of the
#response, so this exception for zlib.output_compression is an
#inconsistency. However, zlib.output_compression is presented as a
#performance setting, whose value should have no effect on the
#correctness of the scripts. This was not the case. Setting the
#header "content-length" and enabling zlib.output_compression was
#a recipe for infringing section 4.4 of RFC 2616.
2010-10-26 02:16:21 +00:00
Gustavo André dos Santos Lopes
1f191e4d2b - Implemented request #44164, zlib.output_compression is now implicitly
disabled when the header "Content-length" is set.
#One could argue that any output handler could change the size of the
#response, so this exception for zlib.output_compression is an
#inconsistency. However, zlib.output_compression is presented as a
#performance setting, whose value should have no effect on the
#correctness of the scripts. This was not the case. Setting the
#header "content-length" and enabling zlib.output_compression was
#a recipe for infringing section 4.4 of RFC 2616.
2010-10-26 02:16:21 +00:00
Gustavo André dos Santos Lopes
817c28c867 - Implemented FR #50692, not uploaded files don't count towards
max_file_uploads limit.
- As a side improvement, temporary files are not opened for
  empty uploads and, in debug mode, 0-length uploads.
2010-10-04 01:27:33 +00:00
Gustavo André dos Santos Lopes
e1aa908468 - Implemented FR #50692, not uploaded files don't count towards
max_file_uploads limit.
- As a side improvement, temporary files are not opened for
  empty uploads and, in debug mode, 0-length uploads.
2010-10-04 01:27:33 +00:00
Kalle Sommer Nielsen
8deefa8780 Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED (Fixes #52570)
# Trunk patch will follow shortly
2010-08-11 21:12:18 +00:00
Felipe Pena
42a57f7656 - Fix tests 2010-06-16 02:14:32 +00:00
Michael Wallner
11d24c1593 * implement new output API, fixing some bugs and implementing some feature
requests--let's see what I can dig out of the bugtracker for NEWS--
  and while crossing the road:
   * implemented new zlib API
   * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)

Thanks to Jani and Felipe for pioneering.
2010-05-31 10:29:43 +00:00
Ilia Alshanetsky
16c90b0a2d Fixed test 2010-05-26 11:00:05 +00:00
Christopher Jones
c5a068e025 Errors using reserved words as methods 2010-05-12 21:34:32 +00:00
Christopher Jones
ec93c50c3f Errors using reserved words as methods 2010-05-12 21:34:32 +00:00
Kalle Sommer Nielsen
9a38f301d6 Remove highlight.bg, it was removed in the old trunk and its not referenced in zend_highlight.c, meaning its not even implemented correctly in 5.3. 2010-04-21 21:56:24 +00:00
Kalle Sommer Nielsen
febee11285 Removed register_globals 2010-04-21 01:27:22 +00:00
Jani Taskinen
af49e58f51 - Reverted r296062 and r296065 2010-03-12 10:28:59 +00:00
Jani Taskinen
06f072cb5e MFH: Improved / fixed output buffering (Michael Wallner) 2010-03-11 10:24:29 +00:00
Jani Taskinen
f9843495d1 - Fixed tests 2010-02-13 01:08:04 +00:00
Jani Taskinen
b9ac76c51c - Fix test 2009-12-11 15:38:15 +00:00
Jani Taskinen
35a4d5831b Fix test 2009-12-11 10:55:56 +00:00
Felipe Pena
8afad00a16 - Fixed tests 2009-12-04 11:32:39 +00:00
Jani Taskinen
c4d350632b - Use correct revision 2009-11-28 00:47:42 +00:00
Jani Taskinen
e8e213ca01 - No dots here 2009-11-28 00:35:56 +00:00
Dmitry Stogov
7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Zoe Slattery
6a22ec3eda More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Jani Taskinen
ee992d9ff7 - Fix tests .oO(why are there so many things broken in this branch..?) 2009-07-25 00:43:42 +00:00
Patrick Allaert
9b9363af5b MFH: The exact error message might differ (it's "Not owner" on Solaris) (r265951) 2009-07-22 12:20:56 +00:00
Zoe Slattery
9ff94c82df Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Zoe Slattery
d09ab2ab42 Removing unnecessary SKIPIF sections 2009-07-18 13:46:08 +00:00
andy wharmby
ee726e4497 New lang tests. 2009-06-21 17:42:15 +00:00
andy wharmby
1e119743a5 Backport ob test to php 5.2 and 53. 2009-06-18 21:03:00 +00:00
andy wharmby
e5b5f13b79 New test for standard object compare handler. Tested on Windows, Linux and Linux 64 2009-06-17 19:15:19 +00:00
andy wharmby
fb3132f502 New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-17 19:07:17 +00:00
Robin Fernandes
73cd7e83ee Additional class related tests. 2009-06-17 10:38:25 +00:00
andy wharmby
fcbfe08d60 New test for bitwise operators. Tested on Linux 64 bit 2009-06-15 17:38:44 +00:00
andy wharmby
d8ce08a24b Move tests to correct directory 2009-06-15 17:34:40 +00:00
andy wharmby
3fd133bcf3 Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
andy wharmby
1888c718cb New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 14:17:43 +00:00
Robert Nicholson
e592b4fd15 New tests for operators. These tests were auto generated to verify correctness for a number of significant values. The work was done by Dave Kelsey. 2009-06-08 11:59:32 +00:00
Robert Nicholson
176012df22 New tests for foreach loops. These were written by another member of the Projectzero team. 2009-06-07 21:03:48 +00:00
Matt Wilmas
2462fce244 MFH: Changed error messages to use "cannot" instead of "can not" (meaning "also can") 2009-06-07 15:46:54 +00:00
Zoe Slattery
102f76b323 Engine execution order tests 2009-06-01 13:01:04 +00:00
Etienne Kneuss
61bbd8af75 MFH: Add test for the timeout inside shutdown function 2009-05-31 21:32:42 +00:00
Zoe Slattery
e660f91c26 Engine execution order tests 2009-05-29 07:52:04 +00:00
Robert Nicholson
1d4da4fd0c Language Tests: returnByReference 2009-05-27 22:34:25 +00:00
Jani Taskinen
782644535f MFH 2009-05-07 13:47:43 +00:00
Jani Taskinen
da7302f792 MFH 2009-05-07 13:44:23 +00:00
Jani Taskinen
996eab8983 - Fixed ini deprecation message issues in tests.
# CGI headers are stripped and the error ends up there with CGI..
2009-05-06 20:32:00 +00:00
Kalle Sommer Nielsen
5a6d3cc42b Added E_DEPRECATED startup notice (5.3 only) 2009-05-04 21:18:22 +00:00
Felipe Pena
13b1607886 - Fix test 2009-04-28 23:46:27 +00:00
Antony Dovgal
53990b2bf3 fix test 2009-04-28 10:30:56 +00:00
Sebastian Schürmann
7942cd2c3c - Initial commit 2009-04-25 11:33:26 +00:00
Sebastian Schürmann
e2a4ef0696 - initial ci
- basic test for ini_alter
2009-04-25 11:18:15 +00:00
Hannes Magnusson
d800809da4 This is apparently fixed 2009-04-06 13:16:05 +00:00
David Coallier
2e5f11b841 - Fixed bug #46897: ob_flush() should fail to flush unerasable buffers
- Added test for bug46897
- A memleak has been identified while fixing this bug but the changes
  made by this commit do not affect ob_get_clean where the memleak (which
  is fixed in HEAD with the new handler) resides.
- [DOC] New noticed is outputted in ob_flush when the buffer is unerasable
2009-02-13 11:48:17 +00:00
Dave Kelsey
aa3e1f6158 fixed subtle bugs regarding attempting to chdir, plus cleanup issues. improved tempnam test, removed hardcoded line number. tested on windows, linux and linux 64bit. 2009-01-22 07:56:56 +00:00
Felipe Pena
51b05cd54d - Fixed tests 2009-01-10 17:01:00 +00:00
Robin Fernandes
bd7f18ab4f Additional output buffering tests. 2008-12-18 15:20:07 +00:00
Stefan Esser
1940a3aa91 Added test for magic_quotes_gpc 2008-12-11 13:05:53 +00:00
Arnaud Le Blanc
f5b2818225 MFH: fixed test 2008-12-09 22:53:42 +00:00
Jani Taskinen
e967b0fec9 MFH:- Better descriptions for these tests 2008-12-09 16:05:49 +00:00
Jani Taskinen
f2c711b132 MFH: fix tests 2008-12-09 15:44:39 +00:00
Scott MacVicar
d8edbd2729 Add test for the recent magic_quotes_gpc regression. 2008-12-09 01:47:57 +00:00
Robin Fernandes
2057a9a3f9 Add some class related tests, fix hard-coded object ID in serialize_001.phpt. 2008-12-05 22:12:07 +00:00
Ant Phillips
775389cd1d Language tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-28 10:41:19 +00:00
Sean Coates
4e3929d278 add test for ArrayObject acting as array (for 5.3) 2008-11-10 19:01:35 +00:00
Hannes Magnusson
5668f32b68 MFH: Improve test and fix skipif 2008-10-27 14:25:33 +00:00
Felipe Pena
8502d0b7a6 - Fixed test 2008-10-26 23:00:35 +00:00
Arnaud Le Blanc
c98e28795f Fixed #46313 (Magic quotes broke $_FILES)
# magic_quotes_gpc was disabled during registration of $_FILES["x"]["tmp_name"]
# and $GLOBALS["x"] (which is tmp_name with register_globals enabled). This
# caused "x" to not be escaped so there was 2 different keys for the same file
# in $_FILES, one with tmp_name and the other without.
# All other variables (name, size, etc) are registered with magic_quotes_gpc
# untouched, both in $_FILES and $GLOBALS and I did not found a reason for
# disabling it for tmp_name.
2008-10-20 17:09:10 +00:00
Arnaud Le Blanc
49abf21fea MFH: Fix test 2008-09-10 11:12:25 +00:00
Arnaud Le Blanc
0dac02dac2 MFH: Added tests for rfc1867 post handler 2008-09-08 09:25:07 +00:00
Johannes Schlüter
27637afb90 - MFH: The exact error message might differ (it's "Not owner" on Solaris) 2008-09-07 22:34:40 +00:00
Dmitry Stogov
d5bba04ac5 Fixed Bug #43958 (class name added into the error message) 2008-09-02 09:45:49 +00:00
Arnaud Le Blanc
f59fbc3755 MFH: Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). 2008-08-18 04:08:17 +00:00
Jani Taskinen
9c3cc1f061 MFH:fix test 2008-08-14 21:54:01 +00:00
Arnaud Le Blanc
de24949cce MFH: Check the relevant path for open_basedir in symlink() 2008-08-11 15:30:44 +00:00
Dmitry Stogov
478acfd8b4 . Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt)
. Optimized interpolated strings to use one less opcode. (Matt)
2008-07-26 15:30:28 +00:00
Hannes Magnusson
ee40f557a7 Fix tests (patch by Lars) 2008-07-21 12:23:38 +00:00
Lars Strojny
742d0ad166 Reenabling the test but removing the test cases for old_function as the alternative syntaxes are still there 2008-07-15 08:34:18 +00:00
Nuno Lopes
29e7475124 add more tests for the parser. currently both fail 2008-07-08 14:38:31 +00:00
Nuno Lopes
ea11f6df43 fix last part of bug #44654 2008-07-06 16:20:51 +00:00
Nuno Lopes
671caa1d5d add test for #-style comments. passes fine on both 5.2 and 5.3 2008-07-06 15:40:11 +00:00
Antony Dovgal
47bce7e311 MFH 2008-06-11 22:36:28 +00:00
Dmitry Stogov
f8c6965075 Fixed test 2008-06-11 06:30:09 +00:00
Antony Dovgal
db8a24d15a fix test 2008-06-09 09:26:03 +00:00
Rob Richards
604bfe4c0b MFH: fix test 2008-06-05 08:29:29 +00:00
Felipe Pena
402fb5285d - MFH: Fixed bug #44769 (declaring private magic methods should throw error) 2008-06-03 14:07:15 +00:00
Ilia Alshanetsky
59ba4fcc96 Added missing INI handler 2008-05-18 14:35:13 +00:00
Ant Phillips
863d975196 Collect all the open_basedir security tests into one place 2008-05-09 08:39:44 +00:00
Steve Seear
801c795208 Adding language tests. 2008-03-19 18:06:24 +00:00
Steve Seear
6e361fa7db Added some class tests; Replaced some hardcoded instance ids with %d. 2008-03-19 17:56:10 +00:00
Antony Dovgal
0ee45c4711 fix tests 2008-03-17 14:59:23 +00:00
David Coallier
e506d59a0e - Ok to fail on OSX, adjusted bug, patch from scoates 2008-03-08 18:50:14 +00:00
Felipe Pena
c7cb8551fe Fix tests (removed space on error message "Undefined index: ...") 2008-03-08 12:01:53 +00:00
Robin Fernandes
ee0f7bc0ac Add new tests for class/object functions and features. 2008-03-06 11:02:37 +00:00
Dmitry Stogov
4de15df711 Fixed wrong result of cascading assignment to string offset 2008-03-04 10:07:17 +00:00
Robin Fernandes
0455ccb805 Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ). 2008-03-03 15:07:04 +00:00
Felipe Pena
7cf6a28335 Fixed tests (new E_ALL value) 2008-02-24 12:18:07 +00:00
Marcus Boerger
d3e5026564 - MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Nuno Lopes
38149b6207 add new test to test function with many arguments (i.e. test the new stack implementation)
this increases the converage of zend_execute.h by 18%
2008-02-08 13:49:27 +00:00
Marcus Boerger
2cc49ecfb2 - Only one line heading 2008-02-03 13:32:07 +00:00
Rasmus Lerdorf
9411b268b2 2 more test fixes 2008-02-02 00:44:45 +00:00
Robin Fernandes
7eb114a9cf Adding tests for class features, including __autoload(), property inheritance rules and class constants. 2008-01-30 14:25:57 +00:00
Ilia Alshanetsky
1300527db5 Fixed test 2008-01-10 01:41:25 +00:00
Robert Nicholson
f35dfc697b Fix incorrect use of assignment in where equality was intended - class tests. 2007-11-23 15:36:41 +00:00
Dmitry Stogov
969dda1b51 Fixed tests 2007-11-19 08:19:31 +00:00
Jani Taskinen
a541bb8078 - Fix tests
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Johannes Schlüter
9483a2ff23 - Readd support for ynamic access of static members (Etienne) 2007-09-27 00:32:40 +00:00
Nuno Lopes
e0660a267e fix expected output 2007-09-13 19:30:19 +00:00
Stanislav Malyshev
848b1cbb91 revert variable class support for 5.2 2007-08-13 21:20:18 +00:00
Johannes Schlüter
b3c6a9dffc - Add possibility to call static class members using variables (Etienne Kneuss) 2007-08-02 21:55:23 +00:00
Dmitry Stogov
7ec48cb37f 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:39:56 +00:00
Antony Dovgal
0b157a6f84 enable display_startup_errors, fix test 2007-06-05 10:59:25 +00:00
Hannes Magnusson
d1b9c6e62e fix test 2007-06-03 23:40:01 +00:00
foobar
f26145fa8c MFH:- Improved the error message for exceeding max_input_nesting_level. 2007-06-03 16:54:06 +00:00
Ilia Alshanetsky
a8be5f419d Improved fix for MOPB-02-2007 2007-06-03 16:19:14 +00:00
Antony Dovgal
ffd09c0961 fix tests 2007-05-18 11:29:55 +00:00
Ilia Alshanetsky
420352d8b5 Register RAW_POST_DATA even when always_populate_raw_post_data is off in
instances where content type is not known
2007-05-07 23:27:59 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Ilia Alshanetsky
636806a869 Added HTTP_RAW_POST_DATA test for instances where post length exceeds
post_max_size.
2007-05-06 16:30:09 +00:00
Ilia Alshanetsky
468dc98961 Added $HTTP_RAW_POST_DATA test 2007-05-06 16:26:11 +00:00
Antony Dovgal
bb489851e9 win32 test fixes 2007-04-18 08:06:29 +00:00
Antony Dovgal
f9a9eda86c MFH 2007-02-11 20:12:53 +00:00
Dmitry Stogov
7c750656f1 Fixed tests 2007-01-10 16:00:31 +00:00
Hannes Magnusson
b12e3e1475 Fix tests 2006-12-19 10:03:24 +00:00
Antony Dovgal
18edb61440 fix test 2006-12-12 22:33:26 +00:00
Hannes Magnusson
3d5fec9cb5 MFH: new cookie tests 2006-12-09 15:58:09 +00:00
Dmitry Stogov
108a2fc64c Fixed bug #39775 ("Indirect modification ..." message is not shown)
The fix breaks two SimpleXML tests those must be fixed
2006-12-08 15:55:31 +00:00
Antony Dovgal
2ff721a93f MFH 2006-11-20 16:33:06 +00:00
Hannes Magnusson
16e6b2cf52 Fix tests 2006-11-10 17:04:03 +00:00
Dmitry Stogov
40d3abba41 Fixed tests 2006-11-10 14:20:26 +00:00
Ilia Alshanetsky
3b1e299264 Make use of abstract methods be E_STRICT rather then E_ERROR 2006-10-20 02:44:26 +00:00
Hannes Magnusson
e94670d4d6 MFH tests 2006-10-09 16:02:34 +00:00
Antony Dovgal
2b1b2db8ec MFH: fix #39003 (__autoload() is called for type hinting) 2006-10-02 11:09:52 +00:00
Dmitry Stogov
811634bd8a Fixed bug #38579 (include_once() may include the same file twice) 2006-09-20 07:35:59 +00:00
Nuno Lopes
4a162b71a2 add --STDIN-- support 2006-09-14 16:58:52 +00:00
Hannes Magnusson
a180abdbfd fix tests on freebsd 2006-08-27 15:06:53 +00:00
Marcus Boerger
05206b42d8 - Speling 2006-08-08 00:40:19 +00:00
Marcus Boerger
c1c2a0d294 - MFH Fixed Bug #38064 ignored constructor visibility 2006-08-07 23:24:33 +00:00
Antony Dovgal
7c24d8fbee typofix 2006-07-17 10:08:17 +00:00
Antony Dovgal
3aaf62d159 there is no Unicode in 5_2 2006-07-11 12:15:11 +00:00
Antony Dovgal
0c05e6da00 fix tests 2006-07-05 11:55:59 +00:00
Marcus Boerger
4703e96853 - Add new tests 2006-05-30 23:11:33 +00:00
Marcus Boerger
1d5f721fd9 - MFH Sync error messages and simplify error message generation code 2006-05-26 00:36:13 +00:00
Marcus Boerger
7577130156 - MFH improve error messages 2006-05-21 18:10:31 +00:00
Marcus Boerger
10ab729e88 - MFH Add new tests 2006-05-20 11:35:38 +00:00
Antony Dovgal
ab9429900a fix test 2006-05-19 10:57:48 +00:00
Antony Dovgal
1f02fad528 fix test 2006-05-16 22:59:32 +00:00
Marcus Boerger
23b97b2530 - Update tests after MFH 2006-05-10 22:38:35 +00:00
Marcus Boerger
de9fa58e0b - No more ze1 2006-05-10 22:36:49 +00:00
Marcus Boerger
3746ccb627 - Hardcoded error mode was changed to 8191 2006-05-10 21:46:59 +00:00
Marcus Boerger
9745215cf8 - MFH tests 2006-05-10 21:19:37 +00:00
Marcus Boerger
edfe649c6b - MFH Constructors in interfaces 2006-05-10 01:23:55 +00:00
Pierre Joye
1192667679 - add test for multipart POST
- also first example of the POST_RAW section
2006-05-03 21:35:26 +00:00
Antony Dovgal
43db0fce03 more POST+array tests 2006-05-03 19:02:12 +00:00
Marcus Boerger
bb29557060 - Need to set precision in ini 2005-12-30 12:49:46 +00:00
Marcus Boerger
ad5af84a3c - Fix test 2005-12-30 11:44:21 +00:00
Ilia Alshanetsky
b6f856fbec Test fixes 2005-12-18 14:21:27 +00:00
Marcus Boerger
8d4080a6e1 - MFH Add missing prefixes 2005-12-18 13:01:20 +00:00
Marcus Boerger
29f5ce9af3 - MFH Speling 2005-12-18 12:54:41 +00:00
Marcus Boerger
18a99796ad - MFH Fix Bug #35720 A final constructor can be overwritten 2005-12-17 15:51:52 +00:00
Marcus Boerger
10f77a5d71 - Add/fix tests 2005-12-16 22:19:02 +00:00
foobar
1ea0bae9c0 fix test 2005-11-26 13:38:28 +00:00
Marcus Boerger
57f76446cf - MFH Add new test 2005-11-26 13:23:27 +00:00
Ilia Alshanetsky
cce5e8c9ea Updated tests to use [] instead of {} 2005-11-16 15:13:20 +00:00
Marcus Boerger
c95360658f - MFH Add new test 2005-11-15 21:33:10 +00:00
Dmitry Stogov
8c100e6451 Fixed bug #35176 (include()/require()/*_once() produce wrong error messages about main()) 2005-11-15 11:13:43 +00:00
Ilia Alshanetsky
b0c0b79136 MFH: Fixed test for cygwin installs 2005-10-20 14:43:00 +00:00
Marcus Boerger
6eaf1671b5 - Add new test 2005-10-06 18:34:16 +00:00
foobar
ae281c372a - Fix tests due to changes in the error messages.
# Also nuked some CRLF's
2005-09-15 19:49:58 +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
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
Ilia Alshanetsky
ac41c5db23 Added/improved tests for bugs 24142, 24063, 24951, 24980 2003-08-09 16:44:33 +00:00
Marcus Boerger
ffd6f29ef8 Prefix all engine 2 tests 2003-08-09 14:48:47 +00:00
Marcus Boerger
dfd85e88d2 Reenable, works as expected 2003-08-09 14:34:44 +00:00
Marcus Boerger
d4aa155d25 Precise destructor errors 2003-08-09 14:32:33 +00:00
Zeev Suraski
1a13e1d4bd Disable prolebmatic test 2003-08-05 08:49:56 +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
Marcus Boerger
4f0b480f78 More __clone testing 2003-07-03 19:53:01 +00:00
Marcus Boerger
5b1a6f7be0 Accessing globals from a destructor causes memory corruption 2003-07-03 14:06:51 +00:00
Marcus Boerger
2044fbf59e Check private redeclare behavior 2003-07-03 10:05:01 +00:00
Sterling Hughes
62ea4ebd92 fix these tests 2003-07-03 07:18:41 +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
Marcus Boerger
74a0f6c8ab Finally fix property cloning and fix the tests accordingly.
# The default behaviour is to copy all properties with all current values
# from the old object. But if __clone is overwritten then only the default
# properties are cloned with their correct default values. So we keep
# the type system intact and also allow real __clone overwriting now.
2003-07-02 07:24:11 +00:00
Marcus Boerger
43e74fc8b1 Fix test name 2003-07-02 06:40:34 +00:00
Sterling Hughes
dc22926f49 add a test for get_parent_class() bug 2003-07-02 04:30:45 +00:00
Marcus Boerger
30b7f39d07 Add more clone testing 2003-07-01 23:57:27 +00:00
Marcus Boerger
47a881f01c Check handling of private class members 2003-07-01 23:50:01 +00:00
Marcus Boerger
5dd671e3cc ups (2nd) 2003-07-01 23:20:48 +00:00
Marcus Boerger
11e5c08d39 ups 2003-07-01 21:28:15 +00:00
Marcus Boerger
e92b88a8c5 Add more clone testing 2003-07-01 21:27:59 +00:00
Marcus Boerger
38e5f7b18e Fix test (damn copy'n'paste) 2003-07-01 21:05:02 +00:00
Marcus Boerger
0e300b7f77 Add tests for __clone visibility 2003-07-01 19:59:50 +00:00
Marcus Boerger
26d0753804 Add tests for static members 2003-07-01 19:12:23 +00:00
Derick Rethans
7d6d146a02 - Fixing this test, this is the correct behavior 2003-07-01 19:06:04 +00:00
Marcus Boerger
c31e49e4cb Add tests for static members 2003-07-01 18:34:42 +00:00
Sterling Hughes
c6876a53df test for bug #24399, segfault in is_subclass_of() 2003-06-30 19:40:48 +00:00
Sterling Hughes
f27571134b its not a bug - its a feature. No longer allowed in ze2. 2003-06-30 19:16:36 +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