3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "something"; print strlen($str); $test = []; $test[] = ord('shit'); print $test; print implode(' ',$test);

preferences:
35.47 ms | 402 KiB | 5 Q