3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $q_path = explode ("/", '/media/sdb1//The%20Flash/Season%203/The.Flash.2014.S03E01.mkv'); $name= $q_path[count($q_path)-2]; echo strtolower(substr($name,0,6));
based on 6D2lb
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
season