Bug #69040 [NEW]: funny opcache debug output

From: Date: Thu, 12 Feb 2015 11:47:52 +0000
Subject: Bug #69040 [NEW]: funny opcache debug output
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190625@lists.php.net to get a copy of this message
From:             php at bof dot de
Operating system: Linux
PHP version:      master-Git-2015-02-12 (Git)
Package:          opcache
Bug Type:         Bug
Bug description:funny opcache debug output

Description:
------------
Master built some minutes ago, minimalistic test script foo.php as
below, running this command:

php -d opcache.enable_cli=1 foo.php

shows weird output on the "message cached script" line. What looks like
an empty string in the shown "actual result" below, is really a single
byte with value 1 between the two quotes.

Test script:
---------------
<?php echo "hi\n"; ?>

Expected result:
----------------
Thu Feb 12 12:43:05 2015 (25613): Message Cached script 'foo.php'
Thu Feb 12 12:43:05 2015 (25613): Message Added key
'/usr/src/phb/build/master:foo.php:A'
hi

Actual result:
--------------
Thu Feb 12 12:43:05 2015 (25613): Message Cached script ''
Thu Feb 12 12:43:05 2015 (25613): Message Added key
'/usr/src/phb/build/master:foo.php:A'
hi


-- 
Edit bug report at https://bugs.php.net/bug.php?id=69040&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=69040&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=69040&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=69040&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=69040&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=69040&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=69040&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=69040&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=69040&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=69040&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=69040&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=69040&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=69040&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=69040&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69040&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=69040&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=69040&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=69040&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69040&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=69040&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=69040&r=mysqlcfg



Thread (2 messages)

« previous php.bugs (#190625) next »