3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace test { use nonexistent; class test { static function run(){ var_dump(nonexistent); existent; } } } namespace { define("test\\existent", "bug!", 1); test\test::run(); }

preferences:
51.34 ms | 402 KiB | 5 Q