3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public static function xxx() { echo __METHOD__; } } echo "LT 5.2.2", (int) version_compare(PHP_VERSION, '5.2.2', '<'); call_user_func('test::xxx'); var_dump(explode('::', 'test::x::2', 2)); call_user_func(array('test', 'xxx'));

preferences:
29.49 ms | 402 KiB | 5 Q