1--TEST-- 2class name as scalar from ::class keyword error using parent in method signature 3--FILE-- 4<?php 5 6namespace Foo\Bar { 7 class One { 8 public function baz($x = parent::class) {} 9 } 10} 11?> 12--EXPECTF-- 13Fatal error: parent::class cannot be used for compile-time class name resolution in %s on line %d 14