diff --git a/reference/array/functions/array-product.xml b/reference/array/functions/array-product.xml index e017117e4cdd..a38342bc3912 100644 --- a/reference/array/functions/array-product.xml +++ b/reference/array/functions/array-product.xml @@ -38,6 +38,34 @@ xmlns:xlink="http://www.w3.org/1999/xlink"> Returns the product as an integer or float. + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.3.0 + + Now emits E_WARNING when array 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. GMP) are now cast instead of ignored. + + + + + + + + &reftitle.examples; diff --git a/reference/array/functions/array-sum.xml b/reference/array/functions/array-sum.xml index 7c0b0683cd89..4e64bb9ba98b 100644 --- a/reference/array/functions/array-sum.xml +++ b/reference/array/functions/array-sum.xml @@ -37,6 +37,34 @@ array is empty. + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.3.0 + + Now emits E_WARNING when array 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. GMP) are now cast instead of ignored. + + + + + + + + &reftitle.examples; diff --git a/reference/misc/functions/highlight-file.xml b/reference/misc/functions/highlight-file.xml index 0cc1bbbaf49f..b077786252c6 100644 --- a/reference/misc/functions/highlight-file.xml +++ b/reference/misc/functions/highlight-file.xml @@ -66,6 +66,30 @@ AddType application/x-httpd-php-source .phps + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.3.0 + + The resulting HTML has changed. + + + + + + + + &reftitle.notes; diff --git a/reference/misc/functions/highlight-string.xml b/reference/misc/functions/highlight-string.xml index 3c1e4fe1078a..61801beeca9c 100644 --- a/reference/misc/functions/highlight-string.xml +++ b/reference/misc/functions/highlight-string.xml @@ -53,6 +53,30 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.3.0 + + The resulting HTML has changed. + + + + + + + + &reftitle.examples; @@ -72,6 +96,12 @@ highlight_string(''); <?php phpinfo(); ?> +]]> + + &example.outputs.83; + +<?php phpinfo(); ?> ]]> diff --git a/reference/strings/functions/strtok.xml b/reference/strings/functions/strtok.xml index 692dd60a5988..d6774a980227 100644 --- a/reference/strings/functions/strtok.xml +++ b/reference/strings/functions/strtok.xml @@ -85,6 +85,30 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.3.0 + + Now emits E_WARNING when token is not provided. + + + + + + + + &reftitle.examples; diff --git a/reference/var/functions/unserialize.xml b/reference/var/functions/unserialize.xml index 7a8df7fafcef..8d294f301c0e 100644 --- a/reference/var/functions/unserialize.xml +++ b/reference/var/functions/unserialize.xml @@ -134,7 +134,7 @@ In case the passed string is not unserializeable, &false; is returned and - E_NOTICE is issued. + E_WARNING is issued. @@ -157,6 +157,13 @@ + + 8.3.0 + + Now emits E_WARNING when the passed string is not unserializeable; + previously E_NOTICE was emitted. + + 7.4.0