1--TEST--
2Calling a static method on a non-existing class
3--FILE--
4<?php
5
6$str = "foo";
7try {
8    Test::{$str . "bar"}();
9} catch (Error $e) {
10    echo $e->getMessage(), "\n";
11}
12
13?>
14--EXPECT--
15Class 'Test' not found
16