Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Merge branch 'PHP-5.6' into PHP-7.0" | Anatol Belski | 2015-11-24 | 1 | -27/+6 |
| | | | | This reverts commit 7d2a26b3fd90fb8ef8ab5d1a7134c370f3be0a78. | ||||
* | Revert "Port the fix of 5.6 to 7.0" | Anatol Belski | 2015-11-24 | 1 | -3/+3 |
| | | | | This reverts commit c2f7fadee2fa176bb020f7833686fbc6cd092bc7. | ||||
* | Port the fix of 5.6 to 7.0 | Xinchen Hui | 2015-11-21 | 1 | -3/+3 |
| | |||||
* | Merge branch 'PHP-5.6' into PHP-7.0 | Xinchen Hui | 2015-11-21 | 1 | -6/+27 |
| | | | | | | Conflicts: Zend/tests/bug70944.phpt Zend/zend_exceptions.c | ||||
* | Merge branch 'PHP-5.6' into PHP-7.0 | Xinchen Hui | 2015-11-19 | 1 | -0/+16 |
| | | | | | Conflicts: Zend/zend_exceptions.c | ||||
* | fix test title | Anatol Belski | 2015-11-17 | 1 | -1/+1 |
| | | | | c/p mistake :) | ||||
* | Fixed bug #70914 zend_throw_or_error() format string vulnerability | Taoguang Chen | 2015-11-17 | 1 | -0/+17 |
| | |||||
* | Fixed bug #70912 (Null ptr dereference instantiating class with invalid ↵ | Xinchen Hui | 2015-11-17 | 1 | -0/+10 |
| | | | | array property) | ||||
* | add test for bug #70898 | Anatol Belski | 2015-11-17 | 1 | -0/+22 |
| | |||||
* | Re-fixed #70895 | Xinchen Hui | 2015-11-17 | 1 | -0/+15 |
| | |||||
* | 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 |
| | |