1--TEST-- 2ReflectionClass::getName - forbid static invocation 3--FILE-- 4<?php 5ReflectionClass::getName(); 6?> 7--EXPECTF-- 8Fatal error: Non-static method ReflectionClass::getName() cannot be called statically in %s on line 2 9