1143 Commits (cc876c04b420589cb1f62b650d0c0e24975dd4af)

Author SHA1 Message Date
Bob Weinand cc876c04b4 Fix too early terminated temporary range with break/cont/goto 11 years ago
Dmitry Stogov 17c5315bdf Fixed exception habdling on "return" statement. 11 years ago
Dmitry Stogov 301ee26568 Fixed situation, when CHECH_EXCEPTION() might change value of "opline" variable and the following "opline" useages would access elements of different opcode. That might lead to unpredictable behavior. (Only PHP-7 with GCC global register variables was affected). 11 years ago
Xinchen Hui b9e48073b3 Make sure fast_call_var is initialized properly 11 years ago
Xinchen Hui 3b5876916d Remove outdate comment 11 years ago
Xinchen Hui c6037bd3af Fixed bug #70012 (Exception lost with nested finally block) 11 years ago
Xinchen Hui ca30d5bf39 Fixed bug #70012 (Exception lost with nested finally block) 11 years ago
Aaron Piotrowski 5df893ce3c Use NULL where possible for exception class 11 years ago
Dmitry Stogov 5ee8413259 Fixed bug #62210 (Exceptions can leak temporary variables. As a part of the fix serious refactoring was done. op_array->brk_cont_array was removed, and replaced with more general and speed efficient op_array->T_liveliness. ZEND_GOTO opcode is always replaced by ZEND_JMP at compile time). (Bob, Dmitry, Laruence) 11 years ago
Nikita Popov 89ce8d28de Fix crash when exception is thrown during ROPE_END 11 years ago
Xinchen Hui ce550cefde Fixed segfault while with generating ext info 11 years ago
Aaron Piotrowski 22c38b2ef5 Remove need to pass error level 11 years ago
Aaron Piotrowski 5a99c07ecc Enable throwing custom exceptions from errors 11 years ago
Bob Weinand 007d7ac7ca Use DivisionByZeroError instead of exception for %/intdiv() 11 years ago
Dmitry Stogov 7aa7627172 Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes). 11 years ago
Aaron Piotrowski ffd36e0fc8 Throw Error on dynamic call to instance method when called statically 11 years ago
Dmitry Stogov 4a2e40bb86 Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes). 11 years ago
Dmitry Stogov 4bd22cf1c1 Improved zend_string API (Francois Laupretre) 11 years ago
Dmitry Stogov 1bba4452e7 Reverted wrong fb08798c9f 11 years ago
Dmitry Stogov 8e923197b4 Fixed bug #69955 (Segfault when trying to combine [] and assign-op on ArrayAccess object). (Laruence) 11 years ago
Bob Weinand fb08798c9f Fix bug #69957 (Different ways of handling div/mod by zero) 11 years ago
Aaron Piotrowski ba67fc2218 Fix 'Class::method' indirect call with empty method name 11 years ago
Nikita Popov ddf41d3aeb Fix generator memory leak 11 years ago
Nikita Popov c7f4c5a2fe Avoid unnecessary separations in VERIFY_RETURN_TYPE 11 years ago
Dmitry Stogov a524a375d9 Improved class type hints checks, by caching resolved class entries in run-time cache. 11 years ago
Nikita Popov 5d3cf577aa Make convert_to_* safe with rc>1 11 years ago
Dmitry Stogov 51dbf73954 Fetch operands of opceodes for binary operators in certain order (from left to right). 11 years ago
Dmitry Stogov 7f39ee7159 Delay checks for undefined CV variables after checks for fast paths. 11 years ago
Dmitry Stogov aca6a1a1c9 Convert "switch" into series of "if". This allows better fast-path placement, additional specialization and makes final code less. 11 years ago
Dmitry Stogov 0040efb170 Avoid useless copying and duplication 11 years ago
Dmitry Stogov f07d770f0b Specialize out useless checks. Only IS_VAR may be EG(error). 11 years ago
Dmitry Stogov 2fcdad6a58 Removed useless code (there is nothing to free for string offsets). 11 years ago
Dmitry Stogov 36c36ee56d Removed dead code (IS_CONST operand can't be IS_OBJECT) 11 years ago
Dmitry Stogov 544fb5c7bc Separate rare used increment/decrement/assign_op of overloaded properies into non inlined functions. 11 years ago
Dmitry Stogov 58dc22cc13 Reorder conditions to check for fast paths first 11 years ago
Dmitry Stogov ce2a78939d isset() micro-optimisation 11 years ago
Dmitry Stogov b21191ba78 Removed commented code 11 years ago
Dmitry Stogov c09698753e CONCAT optimization 11 years ago
Dmitry Stogov 0d054f5faf Avoid useless duplication. Constant values have to be duplicated only for internal constants in ZTS build, to prevent simultaneous modification of reference counters from different threads. 11 years ago
Dmitry Stogov ce862a25d5 Reorder conditions to check for fast paths first. 11 years ago
Dmitry Stogov 9031a902e3 Fixed bug #69732 (can induce segmentation fault with basic php code). 11 years ago
Bob Weinand b73f87b1e4 Add test for memory leak with wrong return type 11 years ago
Bob Weinand f7f7d6e385 Fix memory leak with return types upon failure 11 years ago
Dmitry Stogov 18cd4b17cc Fixed typo 11 years ago
Dmitry Stogov c436e25fd5 Fixed bug #69700 (tests/lang/this_assignment.phpt memory errors) 11 years ago
Nikita Popov 8542befa7b Remove ZEND_BRK/ZEND_CONT from VM 11 years ago
Nikita Popov 9325ada725 Embed break/continue depth into opline 11 years ago
Nikita Popov d0e265392f Drop FREE_ON_RETURN flag, check brk_cont->start instead 11 years ago
Dmitry Stogov d6bcf2bf2e Micro optimization 11 years ago
Dmitry Stogov cee88571d9 Fixed bug #69649 (segfault with --enable-dtrace) 11 years ago