3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace A\C\D\C { class F{} } namespace B { use A\C\D\C\F; $foo = new F(); assert('$foo instanceof F', 'something amiss'); }
Output for 7.2.0
Deprecated: assert(): Calling assert() with a string argument is deprecated in /in/DKRdk on line 11 Warning: assert(): something amiss: "$foo instanceof F" failed in /in/DKRdk on line 11
Output for 5.4.8 - 7.1.10
Warning: assert(): something amiss: "$foo instanceof F" failed in /in/DKRdk on line 11
Output for 5.3.18 - 5.4.7
Warning: assert() expects exactly 1 parameter, 2 given in /in/DKRdk on line 11