- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.31
- Fatal error: Cannot redeclare testOk() (previously declared in /in/IsQF7:6) in /in/IsQF7 on line 17
Process exited with code 255.
<?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 testOk(&$object) {
$object->getATime (); // Content Assist does not work
}
?>