Bug #73546 [NEW]: Logging for opcache leave filename blank

From: Date: Wed, 16 Nov 2016 19:53:52 +0000
Subject: Bug #73546 [NEW]: Logging for opcache leave filename blank
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205417@lists.php.net to get a copy of this message
From: mhagstrand at gmail dot com Operating system: Any PHP version: 7.0.13 Package: opcache Bug Type: Bug Bug description:Logging for opcache leave filename blank Description: ------------ If the log_verbosity_level set to INFO (3) or higher it should output the filename of the script when it is cached. In the logs the filename is an empty string. Test script: --------------- --- php.ini --- opcache.enable=1 opcache.enable_cli=1 opcache.log_verbosity_level=4 --- script --- <?php echo "Hello World!\n"; ?> Expected result: ---------------- Wed Nov 16 19:05:22 2016 (5299): Message Cached script '/tmp/testlogging.php' Wed Nov 16 19:05:22 2016 (5299): Message Added key 'test.php:189568:189616' Hello World! Actual result: -------------- Wed Nov 16 19:05:22 2016 (5299): Message Cached script '' Wed Nov 16 19:05:22 2016 (5299): Message Added key 'test.php:189568:189616' Hello World! -- Edit bug report at https://bugs.php.net/bug.php?id=73546&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73546&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73546&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73546&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73546&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73546&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73546&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73546&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73546&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73546&r=support Expected behavior: https://bugs.php.net/fix.php?id=73546&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73546&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73546&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73546&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73546&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73546&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73546&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73546&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73546&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73546&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73546&r=mysqlcfg

« previous php.bugs (#205417) next »