php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #80621 Support "user opcode override whitelist"
Submitted: 2021-01-13 09:55 UTC Modified: 2021-04-06 06:05 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%)
Same OS:3 (75.0%)
From: me at dotdev dot ru Assigned: twosee (profile)
Status: Closed Package: JIT
PHP Version: 8.0.1 OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: me at dotdev dot ru
New email:
PHP Version: OS:

 

 [2021-01-13 09:55 UTC] me at dotdev dot ru
Description:
------------
Add something like "user opcode override whitelist" where users can define codes that not disable jit.

The issue comes from swoole php extension. For now php 8.0.1 and swoole 4.6.0 cannot run togather with jit enabled. The issue on github with description:
https://github.com/swoole/swoole-src/issues/3986

And comment from swoole-dev:
https://github.com/swoole/swoole-src/issues/3986#issuecomment-757693415

Can we do something to achive this?

Test script:
---------------
php 8.0.1 docker alpine & swoole 4.6.0


Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-04-06 03:45 UTC] twosee@php.net
The following pull request has been associated:

Patch Name: Ignore ZEND_EXIT, ZEND_BEGIN_SILENCE, ZEND_END_SILENCE in JIT check
On GitHub:  https://github.com/php/php-src/pull/6640
Patch:      https://github.com/php/php-src/pull/6640.patch
 [2021-04-06 06:02 UTC] twosee@php.net
-Assigned To: +Assigned To: twosee
 [2021-04-06 06:05 UTC] twosee@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 09:01:27 2024 UTC