ID: 41572 Updated by: [EMAIL PROTECTED] Reported By: salsi at icosaedro dot it -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Initialized to array(). Previous Comments: ------------------------------------------------------------------------ [2007-06-02 21:17:38] salsi at icosaedro dot it Description: ------------ Manual page about the Reflection* classes, example 10.40 "Extending the built-in classes". The property My_Reflection_Method::$visibility gets initialized with an empty string, then an array generated by Reflection::getModifierNames() is assigned. This confused me a bit before I realized the returned value is, indeed, an array. I suggest to modify this example so to save time to the future readers either changing the initial value of the property to "array()" or adding a join() to the value returned by getModifierNames(). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41572&edit=1