3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //0 === strpos('VeryStrangeThirdPartyLibraryName\\This\\Is\\A\\Very\\Long\\Namespace\\Path\\With\\Many\\Parts\\To\\This\\Class', 'Yii\\'); 'Yii\\' === substr($class, 0, 4);
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: class in /in/FdLi3 on line 5
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: class in /in/FdLi3 on line 5