nlopess Sat Feb 18 20:23:31 2006 UTC
Modified files:
/phpdoc/en/language/oop5 reflection.xml
Log:
catch up with latest PHP 5.1
http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/oop5/reflection.xml?r1=1.17&r2=1.18&diff_format=u
Index: phpdoc/en/language/oop5/reflection.xml
diff -u phpdoc/en/language/oop5/reflection.xml:1.17
phpdoc/en/language/oop5/reflection.xml:1.18
--- phpdoc/en/language/oop5/reflection.xml:1.17 Wed Jan 11 10:24:59 2006
+++ phpdoc/en/language/oop5/reflection.xml Sat Feb 18 20:23:31 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.17 $ -->
+<!-- $Revision: 1.18 $ -->
<sect1 id="language.oop5.reflection">
<title>Reflection</title>
<sect2 id="language.oop5.reflection.introduction">
@@ -246,7 +246,7 @@
public static string export(mixed function, mixed parameter, bool return)
public string getName()
public bool isPassedByReference()
- public ReflectionClass getClass()
+ public ReflectionClass getDeclaringClass()
public bool isArray()
public bool allowsNull()
public bool isOptional()
@@ -350,6 +350,7 @@
public int getModifiers()
public bool isInstance(stdclass object)
public stdclass newInstance(mixed args)
+ public stdclass newInstanceArgs(array args)
public ReflectionClass getParentClass()
public bool isSubclassOf(ReflectionClass class)
public array getStaticProperties()
@@ -369,7 +370,8 @@
<simpara>
<function>hasConstant</function>, <function>hasMethod</function>,
<function>hasProperty</function>,
<function>getStaticPropertyValue</function>
- and <function>setStaticPropertyValue</function> were added in PHP 5.1.0.
+ and <function>setStaticPropertyValue</function> were added in PHP 5.1.0,
while
+ <function>newInstanceArgs</function> was added in PHP 5.1.3.
</simpara>
</note>
<para>