Annotation of embedaddon/php/Zend/tests/bug27304.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #27304 (Static functions don't function properly)
! 3: --FILE--
! 4: <?php
! 5:
! 6: class Staticexample
! 7: {
! 8: static function test()
! 9: {
! 10: var_dump(isset($this));
! 11: }
! 12: }
! 13:
! 14: $b = new Staticexample();
! 15: Staticexample::test();
! 16: $b->test();
! 17:
! 18: ?>
! 19: ===DONE===
! 20: --EXPECT--
! 21: bool(false)
! 22: bool(false)
! 23: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>