3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $reset_Token = "mn:hanspeter;dt:342432;"; $mail_name = getStringBetween($reset_Token,"mn:",";"); echo $mail_name; function getStringBetween($str,$from,$to) { $sub = substr($str, strpos($str,$from)+strlen($from),strlen($str)); return substr($sub,0,strpos($sub,$to)); }
based on 98Vms
Output for 4.3.0 - 7.2.0
hanspeter