1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/opcache/tests/opt/inline_001.phpt
Dmitry Stogov 229e80c6ef Fix memory leak
This fixes oss-fuzz #48051
2022-06-20 10:59:37 +03:00

23 lines
325 B
PHP

--TEST--
Fuction inlining 001: FETCH_THIS is incompatible with unused result
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--FILE--
<?php
class Foo {
function __construct() {
Some::foo($this);
}
}
class Some {
static function foo() {
}
}
new Foo;
?>
DONE
--EXPECT--
DONE