php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay

| files >> /var/www/html/sub/images/sym/root/php-7.1.11/ext/opcache/tests/ |
| files >> /var/www/html/sub/images/sym/root/php-7.1.11/ext/opcache/tests/wrong_inlining_002.phpt |
--TEST--
$this not in object context
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
class Foo {
private function getConst() {
return 42;
}
public function test() {
var_dump($this->getConst());
}
}
Foo::test();
?>
--EXPECTF--
Deprecated: Non-static method Foo::test() should not be called statically in %swrong_inlining_002.php on line 11
Fatal error: Uncaught Error: Using $this when not in object context in %swrong_inlining_002.php:7
Stack trace:
#0 %swrong_inlining_002.php(11): Foo::test()
#1 {main}
thrown in %swrong_inlining_002.php on line 7
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`