Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed incorrect order of free/finally on exception | Dmitry Stogov | 2015-11-10 | 1 | -2/+0 |
| | |||||
* | Added tests | Dmitry Stogov | 2015-11-10 | 2 | -0/+84 |
| | |||||
* | Don't propagate into ops that error on non-string | Nikita Popov | 2015-11-08 | 1 | -0/+11 |
| | | | | | To properly support this make update_opN_const fallible -- they are not always called through replace_with_const. | ||||
* | Strip leading backslash in update_opN_const | Nikita Popov | 2015-11-08 | 1 | -0/+13 |
| | |||||
* | Fix update_opX_const lowercasing | Nikita Popov | 2015-11-08 | 1 | -0/+13 |
| | | | | It was lowering in-place. | ||||
* | Fixed bug #70873 (Regression on private static properties access) | Xinchen Hui | 2015-11-08 | 1 | -0/+34 |
| | |||||
* | Fixed bug #70868 (PCRE JIT and pattern reuse segfault) | Xinchen Hui | 2015-11-08 | 1 | -32/+0 |
| | |||||
* | add failing test for bug #70868 | Márcio Almada | 2015-11-08 | 1 | -0/+32 |
| | |||||
* | Fixed bug #70805 (Segmentation faults whilst running Drupal 8 test suite) | Xinchen Hui | 2015-11-08 | 3 | -0/+126 |
| | |||||
* | Fixed bug #70785 (Infinite loop due to exception during identical comparison) | Xinchen Hui | 2015-10-27 | 1 | -0/+25 |
| | |||||
* | Fix bug #70782 | Nikita Popov | 2015-10-24 | 1 | -0/+10 |
| | |||||
* | Merge branch 'PHP-5.6' into PHP-7.0 | Xinchen Hui | 2015-10-23 | 1 | -0/+20 |
| | | | | | Conflicts: Zend/zend_ini_scanner.c | ||||
* | Fixed bug #70430 | Nikita Popov | 2015-10-18 | 1 | -0/+10 |
| | |||||
* | Fixed bug #70689 (Exception handler does not work as expected) | Xinchen Hui | 2015-10-18 | 1 | -0/+22 |
| | |||||
* | Do not create a fake Closure for real Closuresphp-7.0.0RC5 | Bob Weinand | 2015-10-14 | 1 | -0/+33 |
| | | | | That is solved by just returning the Closure as is, which is safe due to Closures being immutable objects | ||||
* | Add more tests for closure binding | Nikita Popov | 2015-10-12 | 2 | -1/+209 |
| | |||||
* | Forbid "fake" closure rebinding | Dmitry Stogov | 2015-10-12 | 1 | -1/+1 |
| | |||||
* | Merge branch 'PHP-5.6' into PHP-7.0 | Nikita Popov | 2015-10-10 | 1 | -0/+22 |
|\ | | | | | | | | | Conflicts: Zend/zend_closures.c | ||||
| * | Fixed bug #70685 | Nikita Popov | 2015-10-10 | 1 | -0/+22 |
| | | | | | | | | Doing a less intrusive variant of the PHP 7.0 fix for 5.6. | ||||
* | | Normalize rebinding failures | Nikita Popov | 2015-10-10 | 3 | -23/+7 |
| | | | | | | | | | | | | | | Move all rebinding checks into one function to make sure they stay in sync. Normalize return value to be NULL for all rebinding failures, instead of returning an improperly bound closure in some cases. | ||||
* | | Merge branch 'PHP-5.6' into PHP-7.0 | Nikita Popov | 2015-10-09 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | Improve previous fix | Nikita Popov | 2015-10-09 | 1 | -0/+5 |
| | | | | | | | | Don't forbid null binding on plain functions. | ||||
* | | Merge branch 'PHP-5.6' into PHP-7.0 | Nikita Popov | 2015-10-09 | 1 | -0/+11 |
|\ \ | |/ | |||||
| * | Fixed bug #70681 | Nikita Popov | 2015-10-09 | 1 | -0/+11 |
| | | |||||
* | | Fixed bug #70630 (Closure::call/bind() crash with ↵ | Dmitry Stogov | 2015-10-09 | 1 | -0/+10 |
| | | | | | | | | ReflectionFunction->getClosure()) | ||||
* | | Fix bug #70662 | Nikita Popov | 2015-10-08 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | This replaces add_new with update for the RW case. This should not be problematic for performance, as this branch throws a notice. Alternatively add_new could also be replaced with add. I went with update, because it makes $a[0] += 1 behavior the same as $a[0] = $a[0] + 1. | ||||
* | | Revert "Fixed bug #70630 (Closure::call/bind() crash with ↵ | Dmitry Stogov | 2015-10-06 | 2 | -88/+0 |
| | | | | | | | | | | | | ReflectionFunction->getClosure())" This reverts commit 517b5536259ecf7697f353f4bfbafde857fc1f81. | ||||
* | | Revert "Improve 517b55362 (scope rebinding on method Closures)" | Dmitry Stogov | 2015-10-06 | 4 | -97/+6 |
| | | | | | | | | This reverts commit 881c50252066132f83e190325e344f532be19033. | ||||
* | | Revert "Allow random $this on non-internal Closures again" | Dmitry Stogov | 2015-10-06 | 7 | -47/+54 |
| | | | | | | | | This reverts commit 35d0405c4790f0ce668c9e1b8b05197e55d29a05. | ||||
* | | Allow random $this on non-internal Closures again | Bob Weinand | 2015-10-05 | 7 | -54/+47 |
| | | | | | | | | | | | | | | | | | | | | As it turns out, there is actually no reason to prevent this, it even was a bigger BC break than expected... Also fixes a memory leak (the Closure leaks) when calling internal functions via Closure by moving it out of leave helper onto caller side for TOP_CODE: $z = new SplStack; $z->push(20); $x = (new ReflectionMethod("SplStack", "pop"))->getClosure($z); var_dump($x()); | ||||
* | | Improve 517b55362 (scope rebinding on method Closures) | Bob Weinand | 2015-10-05 | 4 | -6/+97 |
| | | | | | | | | | | | | Now it is completely impossible to rebind a scoped method Closure (only the kind you get from ReflectionMethod::getClosure()) to a foreign scope Adding a lot of tests to ensure this... Also, properly return NULL in case the Closure could not be created instead of some crippled unbound Closure | ||||
* | | Fixed bug #70630 (Closure::call/bind() crash with ↵ | Bob Weinand | 2015-10-04 | 2 | -0/+88 |
| | | | | | | | | | | | | | | ReflectionFunction->getClosure()) This additionally removes support for binding to an unknown (not in parent hierarchy) scope. Removing support for cross-scope is necessary for certain compile-time assumptions (like class constants) to prevent unexpected results | ||||
* | | Fixed memory leak. | Dmitry Stogov | 2015-09-23 | 1 | -0/+18 |
| | | |||||
* | | Fixed test | Dmitry Stogov | 2015-09-23 | 1 | -1/+1 |
| | | |||||
* | | Fixed Bug #70557 (Memleak on return type verifying failed) | Xinchen Hui | 2015-09-23 | 1 | -0/+19 |
| | | |||||
* | | Fixed bug #70548 (Redundant information printed in case of uncaught engine ↵ | Xinchen Hui | 2015-09-23 | 2 | -2/+2 |
| | | | | | | | | exception) | ||||
* | | Fixed bug #70555 (fun_get_arg() on unsetted vars return UNKNOW) | Xinchen Hui | 2015-09-23 | 1 | -21/+23 |
| | | | | | | | | | | and also keep the indices of func_get_args(). since they are similar issue of #70574, thus reuse its test script. | ||||
* | | Fixed #70547 similar bug in func_get_args | Xinchen Hui | 2015-09-22 | 1 | -10/+43 |
| | | |||||
* | | Fixed bug #70547 (unsetting function variables corrupts backtrace) | Xinchen Hui | 2015-09-22 | 1 | -0/+48 |
| | | |||||
* | | Fixed bug #70528 (assert() with instanceof adds apostrophes around class name) | Xinchen Hui | 2015-09-19 | 1 | -0/+23 |
| | | |||||
* | | Fixed bug #70478 (**= does no longer work) | Bob Weinand | 2015-09-12 | 1 | -0/+20 |
| | | | | | | | | Reordered ZEND_(ASSIGN_)POW opcodes in zend_vm_def.h so that it won't be missed in future | ||||
* | | adds missing tokens to list of semi-reserved words and regenerates test suite | Márcio Almada | 2015-09-04 | 5 | -60/+234 |
| | | |||||
* | | We should keep one refcount to resource | Xinchen Hui | 2015-09-02 | 1 | -8/+9 |
| | | |||||
* | | Fixed bug #70398 (SIGSEGV, Segmentation fault zend_ast_destroy_ex) | Xinchen Hui | 2015-09-02 | 1 | -0/+17 |
| | | |||||
* | | Fixed bug #70397 (Segmentation fault when using Closure::call and yield) | Bob Weinand | 2015-09-01 | 1 | -0/+15 |
| | | |||||
* | | Fixed one more problem related to bug #70187 (Notice: unserialize(): ↵ | Dmitry Stogov | 2015-09-01 | 1 | -0/+11 |
| | | | | | | | | Unexpected end of serialized data) | ||||
* | | Fix bug #62441 | Nikita Popov | 2015-08-28 | 1 | -0/+20 |
| | | | | | | | | | | These checks were introduced by 8646d9afce989718cde927c526684bbbc1c96e97 back when name resolution was working differently. | ||||
* | | Fixed bug #70187 (Notice: unserialize(): Unexpected end of serialized data) | Dmitry Stogov | 2015-08-26 | 1 | -0/+19 |
| | | |||||
* | | Fixed Bug #70332 (Wrong behavior while returning reference on object) | Xinchen Hui | 2015-08-23 | 1 | -0/+24 |
| | | | | | | | | | | This fix is actually made for array acessing bug fix (#70262) which is discarded since we have another better fix, anyway now seems this is still useful | ||||
* | | Re-Fixed bug #70321 (Magic getter breaks reference to array property) | Xinchen Hui | 2015-08-23 | 1 | -0/+49 |
| | |