ID:               41061
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Assigned
+Status:           Closed
 Bug Type:         Class/Object related
 Operating System: Linux
 PHP Version:      5CVS-2007-04-12 (CVS)
-Assigned To:      helly
+Assigned To:      johannes
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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