nlopess Sun Sep 12 05:57:43 2004 EDT
Modified files: /phpdoc/en/appendices migration5.xml Log: add get_parent_class() and get_methods() http://cvs.php.net/diff.php/phpdoc/en/appendices/migration5.xml?r1=1.36&r2=1.37&ty=u Index: phpdoc/en/appendices/migration5.xml diff -u phpdoc/en/appendices/migration5.xml:1.36 phpdoc/en/appendices/migration5.xml:1.37 --- phpdoc/en/appendices/migration5.xml:1.36 Fri Sep 10 09:49:51 2004 +++ phpdoc/en/appendices/migration5.xml Sun Sep 12 05:57:43 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.36 $ --> +<!-- $Revision: 1.37 $ --> <appendix id="migration5"> <title>Migrating from PHP 4 to PHP 5</title> @@ -92,11 +92,12 @@ </listitem> <listitem> <simpara> - <function>get_class</function> now returns the name of the class as it - was declared (case-sensitive) which may lead to problems in older scripts - that rely on the previous behaviour (the class name was always returned - lowercased). A possible solution is to search for - <function>get_class</function> in all your scripts and use + <function>get_class</function>, <function>get_parent_class</function> + and <function>get_class_methods</function> now return the name of the + classes/methods as they were declared (case-sensitive) which may lead to + problems in older scripts that rely on the previous behaviour (the + class/method name was always returned lowercased). A possible solution + is to search for those functions in all your scripts and use <function>strtolower</function>. </simpara> <simpara>