3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(substr('',0,10));
based on 3joRj
Output for 7.0.0 - 7.4.1
string(0) ""
Output for 5.5.0 - 5.6.40
bool(false)