3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php$fileobject = new SplFileObject(__FILE__);$fileobject->setMaxLineLen(3);echo $fileobject->getCurrentLine();
based on di1cQ
Output for 5.3.0 - 5.4.32
<?php$fileobject = new SplFileObject(__FILE__);$fileobject->setMaxLineLen(3);echo $fileobject->getCurrentLine();