php-src/Zend/tests/bug27304.phpt
2012-10-10 10:27:49 +08:00

24 lines
290 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();
?>
===DONE===
--EXPECT--
bool(false)
bool(false)
===DONE===