3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $UA = "TeachMe-App v000003 Android 4.4.2 on generic"; $v = substr($UA, strpos($UA, "v") +1, 6); print_r($v);
based on 1KBlS
Output for 4.3.0 - 7.1.0
000003