Re: zend_auto_global_disable_jit missing in PHP 5.4.5
| From: | Matijn Woudt | Date: | Tue, 05 Jun 2012 15:29:03 +0000 |
| Subject: | Re: zend_auto_global_disable_jit missing in PHP 5.4.5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318167@lists.php.net to get a copy of this message | ||
On Tue, Jun 5, 2012 at 4:39 AM, freeone3000 <freeone3000@gmail.com> wrote:
> I'm working with a third-party PHP extension that makes a call to
> zend_auto_global_disable_jit. However, in PHP5.4.5, there is no
> zend_auto_global_disable_jit available, nor is it in its traditional
> header. Commenting out all zend_auto_global_disable_jit calls causes
> PHP to no longer recognize it as a valid extension, while leaving them
> in attempts for an invalid method to be called.
>
> The file in question is
> https://github.com/mtorromeo/runkit/blob/master/runkit.c line
> 305. As
> is relatively obvious, it's not part of a macro, and its removal
> should not affect whether the library is a PHP extension or not -
> perhaps it's based on PHP's static analysis? If it doesn't call the
> function, it would access a global, possibly before the global has
> been JIT initialized by the runtime. If this is the case, what is the
> replacement function for PHP 5.4.5?
>
> --
> James Moore
>
There's a bug report about it at [1], though there's no solution there.
- Matijn
[1] https://bugs.php.net/bug.php?id=61189