3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'first string --nn-- second string'; $output = explode("--nn--", $str); var_dump($output);
Output for 4.3.0 - 7.1.0
array(2) { [0]=> string(13) "first string " [1]=> string(14) " second string" }