reference/reflection/reflectionclass/newinstancewithoutconstructor.xml
ec2fe9a592f794978114ef5021db9f1d00c2e05d
...
...
@@ -1,17 +1,16 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="reflectionclass.newinstancewithoutconstructor" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>ReflectionClass::newInstanceWithoutConstructor</refname>
7
-
<refpurpose>Creates a new class instance without invoking the constructor.</refpurpose>
6
+
<refpurpose>Creates a new class instance without invoking the constructor</refpurpose>
8
7
</refnamediv>
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="ReflectionClass">
13
12
<modifier>public</modifier> <type>object</type><methodname>ReflectionClass::newInstanceWithoutConstructor</methodname>
14
-
<void />
13
+
<void/>
15
14
</methodsynopsis>
16
15
<para>
17
16
Creates a new instance of the class without invoking the constructor.
...
...
@@ -30,37 +29,12 @@
30
29
</para>
31
30
</refsect1>
32
31

33
-
<refsect1 role="changelog">
34
-
&reftitle.changelog;
35
-
<para>
36
-
<informaltable>
37
-
<tgroup cols="2">
38
-
<thead>
39
-
<row>
40
-
<entry>&Version;</entry>
41
-
<entry>&Description;</entry>
42
-
</row>
43
-
</thead>
44
-
<tbody>
45
-
<row>
46
-
<entry>5.6.0</entry>
47
-
<entry>
48
-
All internal classes can now be instantiated except for those declared
49
-
<link linkend="language.oop5.final">final</link>.
50
-
</entry>
51
-
</row>
52
-
</tbody>
53
-
</tgroup>
54
-
</informaltable>
55
-
</para>
56
-
</refsect1>
57
-

58
32
<refsect1 role="errors">
59
33
&reftitle.errors;
60
34
<para>
61
35
A <classname>ReflectionException</classname> if the class is an internal
62
-
class that cannot be instantiated without invoking the constructor. In PHP
63
-
5.6.0 onwards, this exception is limited only to internal classes that are
36
+
class that cannot be instantiated without invoking the constructor.
37
+
This exception is limited only to internal classes that are
64
38
<link linkend="language.oop5.final">final</link>.
65
39
</para>
66
40
</refsect1>
...
...
@@ -75,7 +49,6 @@
75
49
</para>
76
50
</refsect1>
77
51
</refentry>
78
-

79
52
<!-- Keep this comment at the end of the file
80
53
Local variables:
81
54
mode: sgml
82
55