reference/phar/Phar/convertToExecutable.xml
befe29ff6f206fa631ba654e82bbf8186e9b3939
...
...
@@ -9,11 +9,11 @@
9
9

10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>Phar</type><methodname>Phar::convertToExecutable</methodname>
14
-
<methodparam choice="opt"><type>int</type><parameter>format</parameter><initializer>9021976</initializer></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter>compression</parameter><initializer>9021976</initializer></methodparam>
16
-
<methodparam choice="opt"><type>string</type><parameter>extension</parameter></methodparam>
12
+
<methodsynopsis role="Phar">
13
+
<modifier>public</modifier> <type class="union"><type>Phar</type><type>null</type></type><methodname>Phar::convertToExecutable</methodname>
14
+
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>format</parameter><initializer>&null;</initializer></methodparam>
15
+
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>compression</parameter><initializer>&null;</initializer></methodparam>
16
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>extension</parameter><initializer>&null;</initializer></methodparam>
17
17
</methodsynopsis>
18
18
&phar.write;
19
19
<para>
...
...
@@ -83,8 +83,8 @@
83
83
<refsect1 role="returnvalues">
84
84
&reftitle.returnvalues;
85
85
<para>
86
-
The method returns a <classname>Phar</classname> object on success and throws an
87
-
exception on failure.
86
+
The method returns a <classname>Phar</classname> object on success,
87
+
or &null; on failure.
88
88
</para>
89
89
</refsect1>
90
90

...
...
@@ -101,6 +101,28 @@
101
101
</para>
102
102
</refsect1>
103
103

104
+
<refsect1 role="changelog">
105
+
&reftitle.changelog;
106
+
<informaltable>
107
+
<tgroup cols="2">
108
+
<thead>
109
+
<row>
110
+
<entry>&Version;</entry>
111
+
<entry>&Description;</entry>
112
+
</row>
113
+
</thead>
114
+
<tbody>
115
+
<row>
116
+
<entry>8.0.0</entry>
117
+
<entry>
118
+
<parameter>format</parameter>, <parameter>compression</parameter>, and <parameter>extension</parameter> are now nullable.
119
+
</entry>
120
+
</row>
121
+
</tbody>
122
+
</tgroup>
123
+
</informaltable>
124
+
</refsect1>
125
+

104
126
<refsect1 role="examples">
105
127
&reftitle.examples;
106
128
<para>
...
...
@@ -142,7 +164,6 @@ try {
142
164
</refsect1>
143
165

144
166
</refentry>
145
-

146
167
<!-- Keep this comment at the end of the file
147
168
Local variables:
148
169
mode: sgml
149
170