mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
e9f783fcdd
For rationale, see #6787 Extensions migrated in part 3: * ftp * gmp * iconv * opcache * shmop
25 lines
372 B
PHP
25 lines
372 B
PHP
--TEST--
|
|
JIT ASSIGN: 024
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.file_update_protection=0
|
|
opcache.jit_buffer_size=1M
|
|
;opcache.jit_debug=257
|
|
--EXTENSIONS--
|
|
opcache
|
|
--FILE--
|
|
<?php
|
|
function foo() {
|
|
$a = $undef;
|
|
for($i=0; $i<6; $i++) {
|
|
$undef = 1;
|
|
}
|
|
}
|
|
foo();
|
|
echo "ok\n";
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Undefined variable $undef in %s on line %d
|
|
ok
|