3v4l.org

run code in 300+ PHP versions simultaneously
<?php $thing = 'Tom Dallaway'; $one = strstr($thing, 'D'); $two = strstr($thing, ' ', true); echo $one;

preferences:
36.75 ms | 402 KiB | 5 Q