3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'a|b'; echo explode('|', $s);

preferences:
80.58 ms | 402 KiB | 5 Q