3v4l.org

run code in 300+ PHP versions simultaneously
<?php $output = "a b\n\nc"; var_dump(preg_split('/\s/', $output, NULL, PREG_SPLIT_NO_EMPTY));

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
167.01 ms | 1474 KiB | 12 Q