mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
22 lines
275 B
PHP
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)
|