3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $teste = 'sfgsdfgsdfgsdgf</body>'; $pos = strpos($teste, '</body>'); if ($pos !== false) { var_dump( substr($teste, $post) ); }
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: post in /in/N6o7F on line 7 string(22) "sfgsdfgsdfgsdgf</body>"
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: post in /in/N6o7F on line 7 string(22) "sfgsdfgsdfgsdgf</body>"