3v4l.org

run code in 300+ PHP versions simultaneously
<?php $new = 'test = new user id'; if (stripos($new, 'test') !== FALSE) { $chk = explode("=",$new); $chk = $chk[1]; } else { $chk = ''; } echo $chk;

preferences:
38.81 ms | 402 KiB | 5 Q