3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(urlencode(get_class(new class extends stdClass {}) . " some other string"));

preferences:
44.82 ms | 402 KiB | 5 Q