xref: /PHP-8.0/Zend/tests/bug27669.phpt (revision 5dafd7b4)
1--TEST--
2Bug #27669 (PHP 5 didn't support all possibilities for calling static methods dynamically)
3--FILE--
4<?php
5    class A {
6        static function hello() {
7            echo "Hello World\n";
8        }
9    }
10    $y[0] = 'hello';
11    A::{$y[0]}();
12?>
13--EXPECT--
14Hello World
15