php-src/Zend/tests/bug27304.phpt
2020-02-03 22:52:20 +01:00

22 lines
275 B
PHP

--TEST--
Bug #27304 (Static functions don't function properly)
--FILE--
<?php
class Staticexample
{
static function test()
{
var_dump(isset($this));
}
}
$b = new Staticexample();
Staticexample::test();
$b->test();
?>
--EXPECT--
bool(false)
bool(false)