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