Commit Graph

394 Commits

Author SHA1 Message Date
Dmitry Stogov
798d93c4da Fixed bug #38808 ("maybe ref" issue for current() and others) 2006-09-26 10:31:04 +00:00
Dmitry Stogov
59d0c16391 Fixed bug #38942 (Double old-style-ctor inheritance) 2006-09-26 07:55:54 +00:00
Dmitry Stogov
7aeb4421b7 Fixed bugs #34065 and #38623 (throw in foreach/switch causes memory leaks) 2006-09-19 21:36:00 +00:00
Antony Dovgal
eec02cb1be fix tests 2006-09-13 14:00:44 +00:00
Dmitry Stogov
5574651edb Fixed bug #38772 (inconsistent overriding of methods in different visibility contexts) 2006-09-12 11:01:31 +00:00
Antony Dovgal
50222ced54 fix tests 2006-09-11 14:27:25 +00:00
Antony Dovgal
3aeebd120f add tests 2006-09-11 14:13:05 +00:00
Antony Dovgal
6c0d0217ca fix test 2006-09-11 08:10:03 +00:00
Antony Dovgal
dd9165d60a fix #38624 (Strange warning when incrementing an object property and exception is thrown from __get method) 2006-08-28 10:25:49 +00:00
Antony Dovgal
946a29753c add test 2006-08-15 08:58:24 +00:00
Dmitry Stogov
c021824fc1 Fixed bug #38287 (static variables mess up global vars) 2006-08-07 15:15:36 +00:00
Dmitry Stogov
1e71620e8f Fixed bug #38234 (Exception in __clone makes memory leak) 2006-07-27 10:44:19 +00:00
Dmitry Stogov
0eb0282912 Fixed bug #38047 ("file" and "line" sometimes not set in backtrace from inside error handler) 2006-07-27 08:20:52 +00:00
Dmitry Stogov
1ab16de084 Fixed bug #38220 (Crash on some object operations) 2006-07-26 15:29:39 +00:00
Dmitry Stogov
b9915a9264 Fixed bug #38211 (variable name and cookie name match breaks script execution) 2006-07-26 09:24:50 +00:00
Dmitry Stogov
a6b67676e0 Test for bug #38146 (Cannot use array returned from foo::__get('bar') in write context) 2006-07-24 07:44:06 +00:00
Dmitry Stogov
a7cfcd6b35 MTH: Fixed bug #37144 (PHP craches trying to assign into property of dead object) 2006-07-21 11:13:24 +00:00
Dmitry Stogov
933e8c0be0 Changed error message (E_ERROR -> E_NOTICE) in case of indirect modification of overloaded property. 2006-07-21 10:32:41 +00:00
Dmitry Stogov
f5a2224ca3 Fixed bug #36759 (Objects destructors are invoked in wrong order when script is finished) 2006-07-12 07:54:18 +00:00
Marcus Boerger
5fc72b98fa - Add missing test name prefix 2006-07-10 00:35:24 +00:00
Marcus Boerger
871395174b - Add new test 2006-07-10 00:10:14 +00:00
Marcus Boerger
2de6065591 - Fixed Bug #37811 define not using toString on objects 2006-07-09 22:40:10 +00:00
Marcus Boerger
f94e3cc3ba - Add new test 2006-07-09 17:02:34 +00:00
Marcus Boerger
a37f9719e2 - Fix test 2006-07-09 16:56:07 +00:00
Antony Dovgal
de23c325e9 add test 2006-07-06 16:17:12 +00:00
Antony Dovgal
40a9bb96a6 add new tests 2006-06-27 21:09:50 +00:00
Antony Dovgal
a896c54e2f fix tests 2006-06-20 12:50:52 +00:00
Dmitry Stogov
4ef9b25370 Proper fix for bug #37707 ("clone $x" must call __clone() enven if result value is not used) 2006-06-08 08:56:47 +00:00
Ilia Alshanetsky
72a4a1362a MFB: Fixed bug #37707 clone without assigning leaks memory 2006-06-07 13:43:13 +00:00
Antony Dovgal
65d8dabdd0 fix test 2006-06-06 11:34:40 +00:00
Antony Dovgal
4bf982eba4 do not allow to implement the same interface twice
add tests
2006-06-06 10:02:28 +00:00
Antony Dovgal
de4a8eed86 add new tests 2006-06-01 11:57:39 +00:00
Antony Dovgal
8d9ad7511d add more tests 2006-05-31 18:58:27 +00:00
Antony Dovgal
1fdb254591 add tests for new E_FATALs 2006-05-31 14:55:16 +00:00
Marcus Boerger
17912b4f1e - Bugfix #37632 (Protected method access problem) 2006-05-29 19:57:43 +00:00
Marcus Boerger
9265545992 - Fix bug #37212 (Access to protected property of common base class)
By adding "zend_class_entry *ce" to struct zend_property_info;
# Besides closing the bug this patch allows to optimize a bunch of
# property handling optimizations. I need to find out what all can be
# optimized. All other tests relevant to class handling still PASS.
2006-05-27 02:12:43 +00:00
Marcus Boerger
ffc4fbb91f - There are no abstract static methods in classes, use interfaces 2006-05-27 01:56:42 +00:00
Marcus Boerger
cc56405cb9 - Sync error messages and simplify error message generation code 2006-05-26 00:26:45 +00:00
Marcus Boerger
426b40fc77 - Improved error messages 2006-05-21 11:23:35 +00:00
Marcus Boerger
3a752ce669 - Should be static and be called (comitted wrong version) 2006-05-20 09:11:50 +00:00
Marcus Boerger
207846259d - Add new tests
# Now who finds the error in php code?
2006-05-20 09:08:00 +00:00
Dmitry Stogov
61806b7b03 Added test 2006-05-15 16:30:37 +00:00
Derick Rethans
f3de1a5273 - Added tests for BC breaking changes. 2006-05-12 10:02:13 +00:00
Marcus Boerger
ca7f2d282c - Fix tests 2006-05-10 22:50:48 +00:00
Dmitry Stogov
30ff22ca47 Fixed bug #37251 (deadlock when custom error handler is to catch array type hint error). 2006-05-05 08:04:55 +00:00
Dmitry Stogov
3788e9054a Test added 2006-04-20 07:32:17 +00:00
Antony Dovgal
41f4e16075 make it consistent with the other ones 2006-04-14 21:06:36 +00:00
Dmitry Stogov
a2a69a3ba2 Fixed bug #36513 (comment will be outputed in last line) 2006-04-13 13:48:40 +00:00
Dmitry Stogov
0699fdfb4f Fixed test 2006-04-13 06:05:16 +00:00
Dmitry Stogov
ec12098c3b Fixed bug #37046 (foreach breaks static scope) 2006-04-12 11:38:09 +00:00
Dmitry Stogov
0e114d4295 Fixed test 2006-03-27 13:42:04 +00:00
Dmitry Stogov
dcd1ccd725 Added E_STRICT to E_ALL 2006-03-16 12:12:31 +00:00
Dmitry Stogov
7c0e534157 Dropped zend.ze1_compatibility_mode 2006-03-16 10:33:23 +00:00
Dmitry Stogov
22055cb8fd Dropped register_long_arrays, added E_CORE for all dropped setting 2006-03-16 09:44:42 +00:00
Dmitry Stogov
663ba73ca2 Fixed bug #36568 (memory_limit setting on win32 has no effect) 2006-03-14 14:19:19 +00:00
Dmitry Stogov
b7933917f6 "jump" -> "goto" 2006-03-14 11:20:19 +00:00
Dmitry Stogov
f8576f84dc Implemented "jump label" operator (limited "goto") 2006-03-10 08:29:43 +00:00
Dmitry Stogov
432cae3222 Reverted "break label" 2006-03-07 08:43:21 +00:00
Sara Golemon
cc523d42cb Remove register_globals regression test for Pierre 2006-03-07 00:26:27 +00:00
Marcus Boerger
4690c282a0 - Add new tests 2006-03-03 18:07:24 +00:00
Dmitry Stogov
2a2050d4e3 Added support for "continue" and "break" operators with labels. Each loop or switch statement can be marked by label and then it is possible to write "break <label>" instead of "break <number>". 2006-03-03 13:09:13 +00:00
Marcus Boerger
f1d02a87aa - Fix test 2006-03-01 17:20:28 +00:00
Antony Dovgal
09b16f0b58 MF51:
fix leak in zend_strtod() on big doubles
add new test
2006-02-14 22:11:36 +00:00
Dmitry Stogov
47c90c571f Fixed bug #36303 (foreach on error_zval produces segfault) 2006-02-06 11:46:12 +00:00
Dmitry Stogov
558e883302 Fixed bug #36268 (Object destructors called even after fatal errors) 2006-02-03 09:33:31 +00:00
Antony Dovgal
04ad1d1462 fix test 2006-01-19 21:27:15 +00:00
Dmitry Stogov
d90873d3ce Fixed bug #36071 (Engine Crash related with 'clone') 2006-01-19 07:26:58 +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
Dmitry Stogov
465b131c2f Fixed bug #36037 (heredoc adds extra line number) 2006-01-17 09:39:33 +00:00
Dmitry Stogov
c93396ae1a Fixed bug #36006 (Problem with $this in __destruct()) 2006-01-16 10:12:54 +00:00
Marcus Boerger
584c0719e4 - Fix test 2006-01-14 15:55:10 +00:00
Antony Dovgal
9cd04b68d1 typo 2006-01-06 20:54:46 +00:00
Antony Dovgal
01c1e2f719 MFB: typofix 2005-12-26 23:58:55 +00:00
Antony Dovgal
333e66cc4f MFB: fix test decription 2005-12-20 17:00:59 +00:00
foobar
f1cb188015 fix test 2005-12-17 14:56:02 +00:00
Marcus Boerger
10e69db3fa - MFB 2005-12-16 23:11:00 +00:00
Antony Dovgal
627077e6a4 use default colors to prevent any problems with existing php.ini 2005-12-13 22:32:04 +00:00
Ilia Alshanetsky
4cb1bf0e9e MFB51: Fixed bug #35655 (whitespace following end of heredoc is lost). 2005-12-13 21:00:49 +00:00
Dmitry Stogov
f7433c021d Fixed test 2005-12-08 08:10:00 +00:00
Dmitry Stogov
ea4197207b Fixed test 2005-12-07 14:18:12 +00:00
Dmitry Stogov
7aaff40de5 Fixed bug #35509 (string constant as array key has different behavior inside object) 2005-12-05 08:56:32 +00:00
foobar
8e5799059d Nuked dos EOLs and fixed typo 2005-12-03 00:00:44 +00:00
Marcus Boerger
f509c44be8 - Be picky about names 2005-12-02 15:59:36 +00:00
Dmitry Stogov
a139e19fe3 Fixed bug #35437 (Segfault or Invalid Opcode 137/1/4) 2005-12-01 12:51:19 +00:00
Dmitry Stogov
d409c5e347 Fixed bug #35470 (Assigning global using variable name from array doesn't function) 2005-11-30 10:10:32 +00:00
Dmitry Stogov
4192685b64 Fixed bug #35393 (changing static protected members from outside the class, one more reference issue) 2005-11-28 14:33:44 +00:00
Dmitry Stogov
98b8a0fdb9 Bug #33732 (Wrong behavior of constants in class and interface extending) 2005-11-23 09:27:01 +00:00
Dmitry Stogov
8373809e2e Fixed bug #35239 (Objects can lose references) 2005-11-16 11:52:53 +00:00
Dmitry Stogov
372d59b648 Fixed bug #35017 (Exception thrown in error handler may cause unexpected behavior) 2005-10-31 19:29:48 +00:00
Dmitry Stogov
0fe9266d9e Fixed bug #34879 (str_replace, array_map corrupt negative array indexes on 64-bit platforms) 2005-10-28 14:44:41 +00:00
Dmitry Stogov
804e3b4f5b Fixed SIGSEGV 2005-10-27 19:25:07 +00:00
Dmitry Stogov
de047ae0a5 Fixed bug #31341 (escape on curly inconsistent) 2005-10-21 13:22:10 +00:00
Dmitry Stogov
5372281b01 Fixed bug #34893 (PHP5.1 overloading, Cannot access private property) 2005-10-20 09:47:31 +00:00
Dmitry Stogov
0fe08e9b67 Fixed bug #34712 (zend.ze1_compatibility_mode = on segfault) 2005-10-20 08:56:02 +00:00
Dmitry Stogov
22130a2b74 Fixed bug #34767 (Zend Engine 1 Compatibility not copying objects correctly) 2005-10-20 08:15:13 +00:00
Dmitry Stogov
2507a54429 Fixed bug #31177 (menory leaks and corruption because of incorrect refcounting) 2005-10-20 07:23:58 +00:00
Dmitry Stogov
05975d1457 Added forgotten tests 2005-10-20 07:03:45 +00:00
Dmitry Stogov
9e9cee5c9d Fixed test 2005-10-19 12:48:07 +00:00
Dmitry Stogov
bc446eec5b Fixed bug #34873 (Segmentation Fault on foreach in object) 2005-10-17 08:01:07 +00:00
Antony Dovgal
cc85fdf510 add test for bug #34873 2005-10-14 21:50:46 +00:00
Dmitry Stogov
98294fbf3f Fixed bug #34786 (2 @ results in change to error_reporting() to random value) 2005-10-10 10:54:45 +00:00
Dmitry Stogov
9ac7051043 Fixed bug #34467 (foreach + __get + __set incosistency) 2005-10-10 09:50:20 +00:00
Marcus Boerger
86164a5b94 - Show the test finishes/dos2unix 2005-10-06 19:05:10 +00:00
Marcus Boerger
f78cdd9550 - Fix test 2005-10-06 19:02:20 +00:00
Marcus Boerger
cfed9e4e74 - Fix test 2005-10-06 19:01:40 +00:00
Marcus Boerger
df7f8a9df5 - Fix test
- Convert to unicode
2005-10-06 18:52:51 +00:00
Dmitry Stogov
cdb1746ac3 Fixed bug #34678 (__call(), is_callable() and static methods) 2005-10-03 09:10:28 +00:00
Dmitry Stogov
eedbae57ae Fixed bug #34358 (Fatal error: Cannot re-assign $this) 2005-10-03 08:21:20 +00:00
Dmitry Stogov
a7c91fec3a Fixed bug #34617 (zend_deactivate: objects_store used after zend_objects_store_destroy is called) 2005-09-27 18:08:26 +00:00
Dmitry Stogov
f94344d7fd Changed __toString() behavior to call it in all necessary places 2005-09-27 07:59:18 +00:00
Antony Dovgal
57c6acb932 fix test 2005-09-23 10:34:02 +00:00
Antony Dovgal
244563283a fix tests to work with HEAD and its new E_* values 2005-09-23 10:28:23 +00:00
Antony Dovgal
76d773ae1d remove double EXPECT tag 2005-09-23 09:39:59 +00:00
Antony Dovgal
520288bbe6 add new tests 2005-09-23 09:39:29 +00:00
Antony Dovgal
78fe744753 fix #33771 (error_reporting falls to 0 when @ was used inside try/catch block) 2005-09-22 19:03:04 +00:00
Dmitry Stogov
9f9043864c Fixed parameter passing incompatibilities.
Now it is possible to call array_pop(explode("&","1&2&3")) again.
2005-09-19 16:01:56 +00:00
Dmitry Stogov
4d8290d000 Unicode support 2005-09-19 07:23:47 +00:00
Dmitry Stogov
213a1768a2 Fixed tests 2005-09-16 15:24:50 +00:00
Dmitry Stogov
af3476a982 Fixed bug #34518 (Unset doesn't separate container in CV) 2005-09-16 14:40:49 +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
0a54602089 Fixed bug #34199 (if($obj)/if(!$obj) inconsistency) 2005-09-12 11:48:28 +00:00
Dmitry Stogov
ce0c17aa95 MFH (is_sublass_of("A","B") should call __autoload() for "A" and "B") 2005-09-09 06:47:18 +00:00
Dmitry Stogov
a082983adb catch operator shouldn't call __autoload () too 2005-09-08 10:32:28 +00:00
Dmitry Stogov
59d2e3f3aa Fixed bug #34260 (Segfault with callbacks (array_map) + overloading) 2005-09-02 07:46:30 +00:00
Dmitry Stogov
bd307bc0bd Fixed bug #34137 (assigning array element by reference causes binary mess) 2005-09-01 13:21:04 +00:00
Dmitry Stogov
f61b9bac52 Fixed bug #34310 (foreach($arr as $c->d => $x) crashes) 2005-09-01 10:55:05 +00:00
foobar
847e50e560 Added test for bug #34310 2005-08-31 09:16:50 +00:00
Dmitry Stogov
24743055a3 Changed is_a() and is_subcalls_of() functions to not call __autoload() (in the same way as "instanceof" operator). 2005-08-23 07:23:30 +00:00
Dmitry Stogov
d90d6c5d2b nstanceof operator shouldn't call __autoload() 2005-08-19 08:11:16 +00:00
Dmitry Stogov
08fe0d1da3 Test engine is improved to support unicode mode 2005-08-15 14:37:55 +00:00
Dmitry Stogov
c52d7cb530 Fixed bug #34064 (arr[] as param to function in class gives invalid opcode) 2005-08-10 10:39:28 +00:00
Dmitry Stogov
604751ab87 Fixed bug #34045 (Buffer overflow with serialized object) 2005-08-10 06:37:27 +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
Dmitry Stogov
c10d6d3c89 Fixed bug #33999 (object remains object when cast to int) 2005-08-05 09:02:14 +00:00
Antony Dovgal
b87970a956 add test for the last Dmitry's fix 2005-08-04 14:12:07 +00:00
Dmitry Stogov
1c82ec11a1 Fixed bug #33802 (throw Exception in error handler causes crash) 2005-07-22 07:33:03 +00:00
Dmitry Stogov
f90bdf8933 Fixed bug #33558 (warning with nested calls to functions returning by reference) 2005-07-18 07:13:34 +00:00
foobar
8cea6123e9 typo 2005-07-18 01:09:22 +00:00
Marcus Boerger
c1e73b4a67 - Add new test 2005-07-17 20:57:51 +00:00
foobar
c17e7e896e fix test when session.save_handler is "user" 2005-07-08 07:57:47 +00:00
Dmitry Stogov
d9c1a380ad Fixed bug #28072 (static array with some constant keys will be incorrectly ordered). 2005-07-07 15:16:57 +00:00
Dmitry Stogov
12b66c262a Fixed bug #30519 (Interface not existing says Class not found) 2005-06-24 08:45:17 +00:00
Dmitry Stogov
f3f97394b2 Fixed bug #28377 (debug_backtrace is intermittently passing args) 2005-06-23 12:00:13 +00:00
Dmitry Stogov
cfe01e1b06 Fixed bug #32660 (Assignment by reference causes crash when field access is overloaded (__get)) 2005-06-23 11:04:35 +00:00
Dmitry Stogov
f17f5da8af Fixed bug #30828 (debug_backtrace() reports incorrect class in overridden methods) 2005-06-23 09:23:24 +00:00
Dmitry Stogov
2037023874 Fixed bug #27268 (Bad references accentuated by clone). 2005-06-23 08:21:03 +00:00
Dmitry Stogov
da2ab06111 Fixed bug #29896 (Backtrace argument list out of sync) 2005-06-22 15:26:05 +00:00
Dmitry Stogov
21e071be06 Fixed bug #33257 (array_splice() inconsistent when passed function instead of variable) 2005-06-22 08:33:00 +00:00
foobar
ea97aa5e8c fix tests 2005-06-22 00:41:28 +00:00
Dmitry Stogov
adc3993122 Fixed test file 2005-06-21 17:28:09 +00:00