3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $new = 'test = new user id'; if (strpos($new, 'test') !== FALSE) { $chk = explode("=",$new); $chk = $chk[1]; echo $chk; } else { $chk = ''; } echo $chk;
Output for 4.3.0 - 7.1.0
new user id new user id