summaryrefslogtreecommitdiff
path: root/ext/opcache/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-01-151-0/+0
|\ | | | | | | | | * PHP-7.0: fix AppVeyor failures with Opcache enabled
| * fix AppVeyor failures with Opcache enabledAnatol Belski2017-01-151-0/+0
| | | | | | | | | | | | | | | | | | opcache_reset() only schedules the restart. Under circumstances, the follow up requests might run uncached, until the restart condition is met. To mitigate the false positives caused by this behavior, any tests using opcache_reset() should not be put in between other tests. Thus, moving the corresponding test to be executed last.
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-01-141-0/+4
|\ \ | |/ | | | | | | * PHP-7.0: Added test for "opcache: print restart reason" to basic_logging.phpt
| * Added test for "opcache: print restart reason" to basic_logging.phptMitch Hagstrand2017-01-141-0/+4
| |
* | refix testAnatol Belski2017-01-131-3/+2
| |
* | fix testAnatol Belski2017-01-131-1/+2
| | | | | | | | | | | | Same as before actulaly - the host process running with Opcache enabled, all the intermediate scripts land in cache. So the count can be variable, maybe even better to just test for > 0.
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-01-131-2/+10
|\ \ | |/ | | | | | | * PHP-7.0: Increase wait time for tests involving sockets to improve Travis relability
| * Increase wait time for tests involving sockets to improve Travis relabilityMitch Hagstrand2017-01-131-2/+10
| | | | | | | | | | 1. Increased sleep time from 25ms to 50ms 2. Added sleep to shutdown handlers
| * Fix opcache test dependenciesRasmus Lerdorf2017-01-024-10/+12
| |
* | Fix opcache test dependenciesRasmus Lerdorf2017-01-024-10/+12
| |
* | Fix bug #73847Nikita Popov2016-12-311-0/+44
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-12-291-14/+29
|\ \ | |/
| * Make Opcache tests using the cli server more reliableMitch Hagstrand2016-12-291-14/+29
| | | | | | | | | | | | | | | | Same fix already applied to ext/curl/tests/server.inc and sapi/cli/tests/php_cli_server.inc 1. Increases the amount of time for the PHP built-in server to accept a connection 2. Outputs an error if the PHP built-in server fails
* | Fixed bug #73789 (Strange behavior of class constants in switch/case block)Xinchen Hui2016-12-201-0/+30
| |
* | Fixed bug #73746 (Method that returns string returns UNKNOWN:0 instead)Xinchen Hui2016-12-161-0/+28
| |
* | Fix bug #73668Nikita Popov2016-12-061-0/+8
| | | | | | | | | | Not bothering to implement special handling to get an accurate range for this case.
* | Fix bug #73654Nikita Popov2016-12-051-0/+17
| |
* | Fixed bug #73583 (Segfaults when conditionally declared class and function ↵Xinchen Hui2016-11-231-0/+19
| | | | | | | | | | | | | | have the same name) bug was introduced in rev 88eae43f , and the runtime defined key is not merged-able
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-11-161-0/+19
|\ \ | |/
| * Fix #73546: Logging for opcache has an empty file nameMitch Hagstrand2016-11-161-0/+19
| |
* | Don't inline if function has ref argumentsNikita Popov2016-11-121-0/+22
| | | | | | | | | | Otherwise we end up leaving opcodes like FETCH_DIM_W behind. The test case demonstrates a leak in particular.
* | Fix block pass leaksNikita Popov2016-11-101-1/+3
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-11-101-0/+15
|\ \ | |/
| * Fcall optimization: Avoid FETCH_DIM_R with UNUSED op2Nikita Popov2016-11-101-0/+15
| |
* | Don't elide undef var noticeNikita Popov2016-11-101-0/+8
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2016-10-291-0/+29
|\ \ | |/ | | | | | | * PHP-7.0: Fixed bug #73402 (Opcache segfault when using class constant to call a method)
| * Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2016-10-291-0/+29
| |\ | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fixed bug #73402 (Opcache segfault when using class constant to call a method) Conflicts: ext/opcache/Optimizer/zend_optimizer.c
| | * Fixed bug #73402 (Opcache segfault when using class constant to call a method)Xinchen Hui2016-10-291-0/+29
| | |
| * | Fixed bug in zend_accel_error() and cleaned up kill_all_lockers()Mitch Hagstrand2016-10-121-0/+19
| | | | | | | | | | | | | | | 1. zend_accel_error was only executing clean up if log_verbosity_level is high enough to log 2. Cleaned up kill_all_lockers function and fixed comments.
* | | Fixed bug in zend_accel_error() and cleaned up kill_all_lockers()Mitch Hagstrand2016-10-141-0/+19
| | | | | | | | | | | | | | | | | | | | | 1. zend_accel_error was only executing clean up if log_verbosity_level is high enough to log 2. Cleaned up kill_all_lockers function and fixed comments. (cherry picked from commit bcee2fdbec4f4bba59d4134003cfaf5b1f9b67ab)
* | | Fixed bug #72762Nikita Popov2016-08-051-0/+23
| | |
* | | Fix optimization of $i = $i++Nikita Popov2016-07-171-0/+20
| | |
* | | Prevent inlining through call_user_func() and call_user_func_array()Dmitry Stogov2016-07-011-0/+23
| | |
* | | Introduce new CHECK_VAR instruction to keep warnings about undefined variables.Dmitry Stogov2016-06-301-0/+23
| | |
* | | Disable inlining for $this->foo(), because $this may be not in object contextDmitry Stogov2016-06-301-1/+1
| | |
* | | Disable inlining for $this->foo(), because $this may be used not in object ↵Dmitry Stogov2016-06-301-0/+29
| | | | | | | | | | | | context
* | | Fixed incorrect constant propagationDmitry Stogov2016-06-301-0/+28
| | |
* | | Exception safety for direct CV assign of *CALL instrsNikita Popov2016-06-182-0/+43
| | | | | | | | | | | | | | | | | | Converting T = *CALL; ASSIGN $v, T into $v = *CALL may not be safe if an exception is thrown after the return value has been populated -- in this case the value might be destroyed twice.
* | | Fix VERIFY_RETURN_TYPE elisionNikita Popov2016-06-051-0/+38
| | | | | | | | | | | | | | | This both fixes incorrect elision and allows elision for cases where we only have a subset (e.g. true of bool).
* | | Fix bug71843.phptNikita Popov2016-06-051-0/+4
| | | | | | | | | | | | Is Travis not running opcache tests?
* | | Check SKIP_SLOW_TESTS in issue0140.phptNikita Popov2016-06-051-0/+1
| | | | | | | | | | | | This test contains two sleeps...
* | | Fix SSA NOP removalNikita Popov2016-06-051-0/+16
| | | | | | | | | | | | | | | NOPs need to be tracked in the shiftlist as well, as there may be jumps to NOPs.
* | | Merge branch 'PHP-7.0'Xinchen Hui2016-04-141-0/+29
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: Fixed bug #72014 (Including a file with anonymous classes multiple times leads to fatal error)
| * | Fixed bug #72014 (Including a file with anonymous classes multiple times ↵Xinchen Hui2016-04-141-0/+29
| | | | | | | | | | | | leads to fatal error)
* | | Merge branch 'PHP-7.0'Xinchen Hui2016-03-171-1/+1
|\ \ \ | |/ /
| * | Fixed test & ZEND_BOOL should result TMP_VARXinchen Hui2016-03-171-1/+1
| | |
* | | Merge branch 'PHP-7.0'Xinchen Hui2016-03-171-0/+21
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Remove unnecessary pattern Fixed for PHP7 Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER) Conflicts: ext/opcache/Optimizer/block_pass.c
| * | Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2016-03-171-0/+21
| |\ \ | | |/ | | | | | | | | | * PHP-5.6: Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER)
| | * Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER)Xinchen Hui2016-03-171-0/+21
| | |
* | | Merge branch 'PHP-7.0'Anatol Belski2016-02-283-8/+26
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: test fixes