xref: /PHP-5.3/Zend/tests/bug27304.phpt (revision 610c7fbe)
1--TEST--
2Bug #27304 (Static functions don't function properly)
3--FILE--
4<?php
5
6class Staticexample
7{
8	static function test()
9	{
10		var_dump(isset($this));
11	}
12}
13
14$b = new Staticexample();
15Staticexample::test();
16$b->test();
17
18?>
19===DONE===
20--EXPECT--
21bool(false)
22bool(false)
23===DONE===
24