php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #81080 Support opcache for eval input
Submitted: 2021-05-25 10:09 UTC Modified: -
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: video dot ice dot power at seznam dot cz Assigned:
Status: Open Package: opcache
PHP Version: 8.0.6 OS: any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: video dot ice dot power at seznam dot cz
New email:
PHP Version: OS:

 

 [2021-05-25 10:09 UTC] 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%.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2022-12-31 10:21 UTC] melindaetinw81 at gmail dot com
I have faced the same issue. Can anyone help me? (https://www.gomedicare.onl/)github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC