mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
e70d282077
Fixes oss-fuzz #49402
29 lines
416 B
PHP
29 lines
416 B
PHP
--TEST--
|
|
Register Alloction 016: Missing type store
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.file_update_protection=0
|
|
opcache.jit_buffer_size=1M
|
|
--FILE--
|
|
<?php
|
|
function foo() {
|
|
for($cnt = 0; $cnt < 6; $cnt++) {
|
|
var_dump($x);
|
|
$a - 536 >> 4 - $y - 4 << ++$x == $a ?: $b;
|
|
$a .= !$a;
|
|
$x = $a ? $b : $b;
|
|
}
|
|
}
|
|
@foo();
|
|
?>
|
|
DONE
|
|
--EXPECTF--
|
|
NULL
|
|
NULL
|
|
NULL
|
|
NULL
|
|
NULL
|
|
NULL
|
|
DONE
|