Bug #73983 [NEW]: crash on finish work with phar in cli + opcache

From: Date: Tue, 24 Jan 2017 09:07:59 +0000
Subject: Bug #73983 [NEW]: crash on finish work with phar in cli + opcache
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206908@lists.php.net to get a copy of this message
From: sailormax at inbox dot lv Operating system: Windows 10 PHP version: 7.1.1 Package: opcache Bug Type: Bug Bug description:crash on finish work with phar in cli + opcache Description: ------------ sample files: PHP: http://windows.php.net/downloads/releases/php-7.1.1-nts-Win32-VC14-x64.zip PHAR: http://static.phpmd.org/php/2.6.0/phpmd.phar test.php: <? function foo($foo = 10) { $aa = 12; } ?> php.ini: extension_dir = ".\ext" extension=php_bz2.dll extension=php_mbstring.dll ;extension=php_v8js.dll memory_limit = 4096M display_errors = On display_startup_errors = On error_reporting = E_ALL log_errors = On error_log = "./" zend_extension=php_opcache.dll opcache.enable = 1 opcache.enable_cli = 1 opcache.huge_code_pages = 1 opcache.file_cache="c:\\Temp" opcache.file_cache_only = 1 opcache.file_cache_consistency_checks = 1 opcache.file_cache_fallback = 1 Test script: --------------- php -f phpmd.phar test.php text unusedcode Expected result: ---------------- test.php:2 Avoid unused parameters such as '$foo'. test.php:4 Avoid unused local variables such as '$aa'. Actual result: -------------- test.php:2 Avoid unused parameters such as '$foo'. test.php:4 Avoid unused local variables such as '$aa'. **crash** -- Edit bug report at https://bugs.php.net/bug.php?id=73983&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73983&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73983&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73983&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73983&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73983&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73983&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73983&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73983&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73983&r=support Expected behavior: https://bugs.php.net/fix.php?id=73983&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73983&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73983&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73983&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73983&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73983&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73983&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73983&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73983&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73983&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73983&r=mysqlcfg

« previous php.bugs (#206908) next »