reference/spl/functions/spl-autoload-extensions.xml
60809ebcf7d0c261b2f00e093e4fab70326ffc7b
...
...
@@ -9,7 +9,7 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>string</type><methodname>spl_autoload_extensions</methodname>
12
-
<methodparam choice="opt"><type>string</type><parameter>file_extensions</parameter></methodparam>
12
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>file_extensions</parameter><initializer>&null;</initializer></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
15
This function can modify and check the file extensions that the built in
...
...
@@ -31,7 +31,7 @@
31
31
<term><parameter>file_extensions</parameter></term>
32
32
<listitem>
33
33
<para>
34
-
When calling without an argument, it simply returns the current list
34
+
If &null;, it simply returns the current list
35
35
of extensions each separated by comma. To modify the list of file
36
36
extensions, simply invoke the functions with the new list of file
37
37
extensions to use in a single string with each extensions separated
...
...
@@ -51,6 +51,30 @@
51
51
</para>
52
52
</refsect1>
53
53

54
+
<refsect1 role="changelog">
55
+
&reftitle.changelog;
56
+
<para>
57
+
<informaltable>
58
+
<tgroup cols="2">
59
+
<thead>
60
+
<row>
61
+
<entry>&Version;</entry>
62
+
<entry>&Description;</entry>
63
+
</row>
64
+
</thead>
65
+
<tbody>
66
+
<row>
67
+
<entry>8.0.0</entry>
68
+
<entry>
69
+
<parameter>file_extensions</parameter> is now nullable.
70
+
</entry>
71
+
</row>
72
+
</tbody>
73
+
</tgroup>
74
+
</informaltable>
75
+
</para>
76
+
</refsect1>
77
+

54
78
<refsect1 role="examples">
55
79
&reftitle.examples;
56
80
<example>
...
...
@@ -66,7 +90,6 @@ spl_autoload_extensions(".php,.inc");
66
90
</refsect1>
67
91
68
92
</refentry>
69
-

70
93
<!-- Keep this comment at the end of the file
71
94
Local variables:
72
95
mode: sgml
73
96