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