Req #81080 [Com]: Support opcache for eval input

From: Date: Sat, 31 Dec 2022 10:21:09 +0000
Subject: Req #81080 [Com]: Support opcache for eval input
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243302@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81080&edit=1 ID: 81080 Comment by: melindaetinw81 at gmail dot com Reported by: video dot ice dot power at seznam dot cz Summary: Support opcache for eval input Status: Open Type: Feature/Change Request Package: opcache Operating System: any PHP Version: 8.0.6 Block user comment: N Private report: N New Comment: I have faced the same issue. Can anyone help me? (https://www.gomedicare.onl/)github.com Previous Comments: ------------------------------------------------------------------------ [2021-05-25 10:09:09] video dot ice dot power at seznam dot cz 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 this bug report at https://bugs.php.net/bug.php?id=81080&edit=1

« previous php.bugs (#243302) next »