mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
24 lines
282 B
PHP
24 lines
282 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===
|