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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Mar 29 06:01:29 2024 UTC