3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mb_ereg('\0', chr(0), $matches); var_dump($matches);
Output for 4.3.4 - 7.1.7
array(1) { [0]=> string(1) "" }
Output for 4.3.2 - 4.3.3
Fatal error: Call to undefined function: mb_ereg() in /in/kf7Z8 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mb_ereg() in /in/kf7Z8 on line 2