Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions reference/array/functions/array-product.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,34 @@ xmlns:xlink="http://www.w3.org/1999/xlink">
Returns the product as an integer or float.
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
Now emits <constant>E_WARNING</constant> when <parameter>array</parameter> values
cannot be converted to &integer; or &float;.
Previously &array;s and &object;s where ignored whilst every other value was cast to &integer;.
Moreover, objects that define a numeric cast (e.g. <classname>GMP</classname>) are now cast instead of ignored.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down
28 changes: 28 additions & 0 deletions reference/array/functions/array-sum.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,34 @@
<parameter>array</parameter> is empty.
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
Now emits <constant>E_WARNING</constant> when <parameter>array</parameter> values
cannot be converted to &integer; or &float;.
Previously &array;s and &object;s where ignored whilst every other value was cast to &integer;.
Moreover, objects that define a numeric cast (e.g. <classname>GMP</classname>) are now cast instead of ignored.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down
24 changes: 24 additions & 0 deletions reference/misc/functions/highlight-file.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,30 @@ AddType application/x-httpd-php-source .phps
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
The resulting HTML has changed.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>

<refsect1 role="notes">
&reftitle.notes;
<caution>
Expand Down
30 changes: 30 additions & 0 deletions reference/misc/functions/highlight-string.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,30 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
The resulting HTML has changed.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand All @@ -72,6 +96,12 @@ highlight_string('<?php phpinfo(); ?>');
<span style="color: #0000BB">&lt;?php phpinfo</span><span style="color: #007700">(); </span><span style="color: #0000BB">?&gt;</span>
</span>
</code>
]]>
</screen>
&example.outputs.83;
<screen>
<![CDATA[
<pre><code style="color: #000000"><span style="color: #0000BB">&lt;?php phpinfo</span><span style="color: #007700">(); </span><span style="color: #0000BB">?&gt;</span></code></pre>
]]>
</screen>
</example>
Expand Down
24 changes: 24 additions & 0 deletions reference/strings/functions/strtok.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,30 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
Now emits <constant>E_WARNING</constant> when <parameter>token</parameter> is not provided.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down
9 changes: 8 additions & 1 deletion reference/var/functions/unserialize.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
</para>
<para>
In case the passed string is not unserializeable, &false; is returned and
<constant>E_NOTICE</constant> is issued.
<constant>E_WARNING</constant> is issued.
</para>
</refsect1>

Expand All @@ -157,6 +157,13 @@
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
Now emits <constant>E_WARNING</constant> when the passed string is not unserializeable;
previously <constant>E_NOTICE</constant> was emitted.
</entry>
</row>
<row>
<entry>7.4.0</entry>
<entry>
Expand Down