1--TEST--
2ReflectionClass::getName - forbid static invocation
3--FILE--
4<?php
5ReflectionClass::getName();
6?>
7--EXPECTF--
8Fatal error: Uncaught Error: Non-static method ReflectionClass::getName() cannot be called statically in %s:2
9Stack trace:
10#0 {main}
11  thrown in %s on line 2
12