Req #81080 [NEW]: Support opcache for eval input
| From: | video dot ice dot power at seznam dot cz | Date: | Tue, 25 May 2021 10:09:09 +0000 |
| Subject: | Req #81080 [NEW]: Support opcache for eval input | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-234012@lists.php.net to get a copy of this message | ||
From: video dot ice dot power at seznam dot cz
Operating system: any
PHP version: 8.0.6
Package: opcache
Bug Type: Feature/Change Request
Bug description:Support opcache for eval input
Description:
------------
Eval is very often used to execute some compiled scripts.
To speedup the processing, the usual approach is to save the script to
FS to utilize opcache.
This is a feature request to process eval input thru opcache as if the
input was from a file. This improves performance as saving one-shot only
file to FS is completely unneeded. Input hash can be very easily used as
a cache key.
To prevent pruning all file cache data, opcache size for eval should be
limited to like 50%.
--
Edit bug report at https://bugs.php.net/bug.php?id=81080&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81080&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81080&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81080&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81080&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81080&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81080&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81080&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81080&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81080&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81080&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81080&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81080&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81080&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81080&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81080&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81080&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81080&r=mysqlcfg