mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
add get_parent_class() and get_methods()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168427 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
df75ab52c3
commit
fb36f55e2c
1 changed files with 7 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue