mirror of
https://github.com/php/php-src.git
synced 2024-12-19 23:11:42 +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)
|