3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fileContent = <<<'PHP' before ----- after PHP; echo $fileContent; echo PHP_EOL . PHP_EOL . PHP_EOL . PHP_EOL; [$before, $after] = explode("\n-----\n", $fileContent); echo $before; echo PHP_EOL . PHP_EOL; echo $after; echo PHP_EOL . PHP_EOL;

preferences:
27.84 ms | 402 KiB | 5 Q