Req #68202 [NEW]: equivalent to persistent_compile_file to a string

From: Date: Thu, 09 Oct 2014 20:39:45 +0000
Subject: Req #68202 [NEW]: equivalent to persistent_compile_file to a string
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187991@lists.php.net to get a copy of this message
From: dmorilha at gmail dot com Operating system: PHP version: Irrelevant Package: opcache Bug Type: Feature/Change Request Bug description:equivalent to persistent_compile_file to a string Description: ------------ Would it be possible to expose a function similar to persistent_compile_file which accepts a string instead of a pointer to zend_file_handle? I would like to offer a require statement which accept multiple arguments, concatenate their content and add the result into the opcache. It looks like multiple requires perform slower when compared with a single require with all the code merged -- Edit bug report at https://bugs.php.net/bug.php?id=68202&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68202&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68202&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68202&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68202&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68202&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68202&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68202&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68202&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68202&r=support Expected behavior: https://bugs.php.net/fix.php?id=68202&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68202&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68202&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68202&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68202&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68202&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68202&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68202&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68202&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68202&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68202&r=mysqlcfg

« previous php.bugs (#187991) next »