3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php /** @param \SplFileInfo $object The object (not referenced). */ function testOk($object) { $object->getATime (); // Content Assist works } /** * * @param * \SplFileInfo &$object The object (referenced, notice the &). * */ function testOk2(&$object) { $object->getATime (); // Content Assist does not work } ?>
Output for 4.3.0 - 7.1.0