Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 218 Bytes

InvalidStringClass.md

File metadata and controls

11 lines (8 loc) · 218 Bytes

InvalidStringClass

Emitted when you have allowStringToStandInForClass="false" in your config and you’re passing a string instead of calling a class directly

<?php

class Foo {}
$a = "Foo";
new $a();