3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace boule\de\ta\mere; class foo{} $class = 'boule\\de\\ta\\mere\\foo'; $object = new $class(); var_dump($object instanceof boule\de\ta\mere\foo);

preferences:
33.49 ms | 402 KiB | 5 Q