Edit report at http://bugs.php.net/bug.php?id=20680&edit=1

 ID:                 20680
 Updated by:         johan...@php.net
 Reported by:        tit dot petric at telemach dot net
 Summary:            php references - error reporting
-Status:             Open
+Status:             Bogus
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 Operating System:   linux(all)
 PHP Version:        4.2.3
 Block user comment: N
 Private report:     N

 New Comment:

omitting the & might be done on purpose.


Previous Comments:
------------------------------------------------------------------------
[2002-11-27 11:06:39] tit dot petric at telemach dot net

function &reference_return($val) {

  global $ref_array;

  return $ref_array[$val];

}



<b>$ref = &reference_return(0);</b>



is it possible to get an E_NOTICE if people forget to type the "&"
before the function which should return references?

------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=20680&edit=1

Reply via email to