Commit Graph

335 Commits

Author SHA1 Message Date
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
Derick Rethans
a347b91a9e - Fixed layout of test description. 2005-06-19 21:56:21 +00:00
foobar
a491b82c4c No short-tags! 2005-06-17 16:40:05 +00:00
Dmitry Stogov
a6d84dbb82 Fixed bug #33318 (throw 1; results in Invalid opcode 108/1/8) 2005-06-16 14:20:00 +00:00
foobar
55b0a90e91 typofix 2005-06-15 09:23:28 +00:00
Dmitry Stogov
46e4c9837d Added test for bug #30162 (it is already fixed but test file was forgotten) 2005-06-10 10:46:04 +00:00
Dmitry Stogov
4796fc943a Added test file for bug #31177 (not fixed yet) 2005-06-10 10:45:14 +00:00
Dmitry Stogov
dc95b1bd32 typos 2005-06-10 10:23:37 +00:00
Stanislav Malyshev
2cb52151ac MF50: fix #29689 and more private property problems 2005-06-09 17:20:44 +00:00
Stanislav Malyshev
b2f7dd2f66 add test for this TBF bug 2005-06-09 17:16:13 +00:00
Dmitry Stogov
9affa32237 Fixed bug #30140 (Problem with array in static properties) 2005-06-08 13:21:28 +00:00
Dmitry Stogov
a95db2790d Added test for bug #32322 (Return values by reference broken( using self::),example singleton instance) 2005-06-08 08:43:38 +00:00
Dmitry Stogov
d02d270f48 Fixed bug #30820 (static member conflict with $this->member silently ignored) 2005-06-08 08:08:18 +00:00
Dmitry Stogov
055e889bbd Fixed bug #33243 (ze1_compatibility_mode does not work as expected) 2005-06-07 07:03:28 +00:00
Dmitry Stogov
91a344a504 Fixed bug #32428 (The @ warning error supression operator is broken) 2005-06-06 11:20:46 +00:00
Dmitry Stogov
ce23692663 Fixed bug #32799 (crash: calling the corresponding global var during the destruct) 2005-06-06 10:38:43 +00:00
Dmitry Stogov
e5d3e07862 Added test for bug #32596 (Segfault/Memory Leak by getClass (etc) in __destruct) 2005-06-06 09:50:40 +00:00
Dmitry Stogov
61054dbcd0 Fixed bug #32993 (implemented Iterator function current() don't throw exception) 2005-06-06 08:24:05 +00:00
Dmitry Stogov
cd88e646fd Fixed bug #33171 (foreach enumerates private fields declared in base classes) 2005-06-06 07:52:08 +00:00
Zeev Suraski
d33500ee20 Thought I committed it ages ago... Anyway, without further delays, the final
__halt_compiler() patch
2005-06-04 16:16:19 +00:00
Dmitry Stogov
e3cfb42bbd Added test for 5.0 specific bug #30394 (Assignment operators yield wrong result with __get/__set) 2005-06-03 15:38:32 +00:00
Dmitry Stogov
89e53d5ab2 Fixed bug #30080 (Passing array or non array of objects) 2005-06-03 15:02:49 +00:00
Dmitry Stogov
6b39b374ef Fixed bug #27598 (list() array key assignment causes HUGE memory leak) 2005-06-03 13:57:26 +00:00
Dmitry Stogov
3d7b0bab28 Fixed memory allocation bugs related to magic object handlers (__get(), __set(),
...)
2005-06-03 11:16:19 +00:00
Dmitry Stogov
9383e1b858 Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded) 2005-06-01 11:03:58 +00:00
Magnus M��tt�
80eb74e4fe Fix test 2005-05-31 13:46:17 +00:00
Dmitry Stogov
743c5bb15b Fixed bug #22836 (returning reference to uninitialized variable) 2005-05-27 16:18:07 +00:00
Dmitry Stogov
d2018ef2c0 Fixed bug #33116 (crash when assigning class name to global variable in __autoload). 2005-05-26 14:28:24 +00:00
Dmitry Stogov
1a72341328 Added array type hinting. (This patch requires full re-make) 2005-05-26 13:46:17 +00:00
Marcus Boerger
3453cf642a - Add new tests 2005-05-26 12:22:18 +00:00
Dmitry Stogov
6e9e5b099c Strict warnings 2005-05-19 09:58:23 +00:00
Stanislav Malyshev
3af3379a27 test 2005-05-18 18:08:02 +00:00
Stanislav Malyshev
b03b79c985 tests 2005-05-18 14:56:34 +00:00
Magnus M��tt�
2ebda52b24 Fix tests. 2005-05-17 17:34:44 +00:00
Dmitry Stogov
79d6f11a4a Fixed bug #31525 (object reference being dropped. $this getting lost) 2005-05-05 17:37:25 +00:00
Dmitry Stogov
5e4d91582a Fixed bug #30707 (Segmentation fault on exception in method) 2005-05-04 11:17:30 +00:00
Dmitry Stogov
37d16df05c Fixed bug #30162 (Catching exception in constructor couses lose of $this) 2005-05-04 08:45:46 +00:00
Dmitry Stogov
b3a8a50581 Fixed notice message 2005-05-03 14:05:52 +00:00
Dmitry Stogov
81b536f4a6 Fixed bug #32296 (get_class_methods output has changed between 5.0.2 and 5.0.3)
Now get_class_methods() shows accessible private and protected methods if it is called from class scope.
2005-05-03 08:52:04 +00:00
foobar
e57408a098 Make sure E_STRICT is set always 2005-04-29 08:54:16 +00:00
Dmitry Stogov
8b7a03c889 Fixed bug #30332 (zend.ze1_compatibility_mode isnt fully compatable with array_push()) 2005-04-29 07:59:04 +00:00
Dmitry Stogov
8db238b075 Fixed bug #32852 (Crash with singleton and __destruct when zend.ze1_compatibility_mode = On)
Fixed bug #31828 (Crash with zend.ze1_compatibility_mode=On)
Fixed bug #32080 (segfault when assigning object to itself with zend.ze1_compatibility_mode=On)
2005-04-29 07:03:54 +00:00
foobar
96bc29839b - Unify error_reporting setting + make sure E_STRICT is set when wanted 2005-04-29 01:04:32 +00:00
Dmitry Stogov
9966587aaf Fixed bug #29015 (Incorrect behavior of member vars(non string ones)-numeric mem vars und others) 2005-04-28 17:40:11 +00:00
Dmitry Stogov
c81db6bc56 Fixed bug #29210 (Function: is_callable - no support for private and protected classes) 2005-04-27 15:45:36 +00:00
Dmitry Stogov
abb07db4c6 Fixed bug #29104 (Function declaration in method doesn't work) 2005-04-27 13:30:53 +00:00
Dmitry Stogov
aba79c268c Fixed bug #32833 (Invalid opcode) 2005-04-27 12:16:32 +00:00
Dmitry Stogov
28e68301dc Fixed bug #32674 (exception in iterator causes crash) 2005-04-27 06:47:08 +00:00
Dmitry Stogov
a9a319b078 Fixed bug #30889 (Conflict between __get/__set and ++ operator) 2005-04-26 13:23:23 +00:00
Dmitry Stogov
1098d9bccb fix 2005-04-26 12:01:31 +00:00
Dmitry Stogov
5f600cdf57 Fixed bug #30702 (cannot initialize class variable from class constant) 2005-04-26 09:27:28 +00:00
Dmitry Stogov
694f7a9e90 Fixed bug #32427 (Interfaces are not allowed 'static' access modifier). 2005-04-26 08:48:23 +00:00
Dmitry Stogov
4f15b20b92 Fixed bug #32429 (method_exists() always return TRUE if __call method exists) 2005-04-26 08:47:31 +00:00
Dmitry Stogov
35b38598cc Fixed bug #29944 (Function defined in switch, crashes). 2005-04-25 09:56:42 +00:00
Marcus Boerger
3080d49ed4 - Add new tests 2005-04-23 15:21:07 +00:00
foobar
62a1f82e4a Fix test when register_long_arrays is off in your php.ini 2005-04-21 14:22:53 +00:00
Sara Golemon
f838f8e37d method_exists() regression test 2005-04-16 15:36:22 +00:00
Marcus Boerger
c4dbeca169 - Ensure we see all errors. No need for () in return 2005-04-08 14:06:05 +00:00
Marcus Boerger
29b4277e2d - Added missing description (thanks jani) 2005-03-20 22:08:16 +00:00
Marcus Boerger
d7a7913476 - Add new test 2005-03-20 20:14:27 +00:00