mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
24 lines
290 B
PHP
Executable File
24 lines
290 B
PHP
Executable File
--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===
|