Skip to content

Commit

Permalink
PHP 8.4 optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
sybrew committed Oct 22, 2024
1 parent 1967c00 commit 29d6066
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions TSF/Sniffs/Performance/OpcodesSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
class OpcodesSniff extends Sniff {

/**
* @link <https://github.com/php/php-src/blob/PHP-8.1/Zend/zend_compile.c#L4385-L4469>
* @link <https://github.com/php/php-src/blob/php-8.4.0RC2/Zend/zend_compile.c#L4954-L5025>
* @var string[] $opFuncs
*/
protected $opFuncs = [
Expand Down Expand Up @@ -69,10 +69,11 @@ class OpcodesSniff extends Sniff {
'func_get_args',
'array_slice',
'array_key_exists',
'sprintf',
];

/**
* @link <https://github.com/php/php-src/blob/PHP-8.1/Zend/Optimizer/pass1.c#L316-L478>
* @link <https://github.com/php/php-src/blob/php-8.4.0RC2/Zend/Optimizer/block_pass.c#L341-L346>
* @var string[] $opConstFuncs
*/
protected $opConstFuncs = [
Expand Down

0 comments on commit 29d6066

Please sign in to comment.