php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #74841 Export accel_gen_system_id
Submitted: 2017-07-01 18:45 UTC Modified: 2021-07-08 12:35 UTC
From: momchil at bojinov dot info Assigned: cmb (profile)
Status: Wont fix Package: opcache
PHP Version: 7.1.6 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
31 - 1 = ?
Subscribe to this entry?

 
 [2017-07-01 18:45 UTC] momchil at bojinov dot info
Description:
------------
Hello,

Could you please export the ZendAccelerator.c\accel_gen_system_id function so it is visible from PHP code ?

I used the logic behind this script, but it no longer works
https://github.com/GoSecure/php7-opcache-override/blob/master/system_id_scraper.py

Thank you
Momchil




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-07-08 12:35 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-07-08 12:35 UTC] cmb@php.net
If you need to, you can read zend_sysdtem_id (renamed and exported
as of PHP 8.0.0) via ext/ffi[1].

[1] <https://www.php.net/manual/en/ffi.examples-basic.php>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 05:01:33 2024 UTC