--TEST-- Using ::class on an object --FILE-- getMessage(), "\n"; } ?> --EXPECT-- string(8) "stdClass" string(8) "stdClass" string(8) "stdClass" Cannot use "::class" on null