3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $name = "M14910_20130831_120000_3Q13_revenue.txt.gz"; echo substr($name, 0, ($filenamelength - 3)); ?>
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: filenamelength in /in/7tZTl on line 3 M14910_20130831_120000_3Q13_revenue.txt
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: filenamelength in /in/7tZTl on line 3 M14910_20130831_120000_3Q13_revenue.txt