3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $matches = array(' protected $pkgVersion = \'1.1\';'); $exploded = explode('=', array_shift($matches)); $result = trim(array_pop($exploded), '\t ;\'"'); var_dump($result);
Output for 4.3.0 - 7.1.0
string(5) " '1.1"