xref: /PHP-8.1/Zend/tests/bug27304.phpt (revision f8d79582)
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--EXPECT--
20bool(false)
21bool(false)
22