3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = 'hey this is a beautiful day #content_start#The World is Beautiful#content_end#'; var_dump(explode('#', $data));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(5) { [0]=> string(28) "hey this is a beautiful day " [1]=> string(13) "content_start" [2]=> string(22) "The World is Beautiful" [3]=> string(11) "content_end" [4]=> string(0) "" }