ID:               41061
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Assigned
 Bug Type:         Unknown/Other Function
 Operating System: Linux
 PHP Version:      5CVS-2007-04-12 (CVS)
-Assigned To:      
+Assigned To:      helly


Previous Comments:
------------------------------------------------------------------------

[2007-04-12 12:20:59] [EMAIL PROTECTED]

Description:
------------
ReflectionFunction() incorrectly presumes function flags can be only
private, protected or public.

Reproduce code:
---------------
function foo(){} 
$f = new ReflectionFunction("foo"); 
$f->export("foo");

Expected result:
----------------
Function [ <user> function foo ] {
  @@ Command line code 1 - 1
}


Actual result:
--------------
Function [ <user> <visibility error> function foo ] {
  @@ Command line code 1 - 1
}



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


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

Reply via email to