[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] com doc/en: Revert "Show info about PHP error reporting": language/types/type-juggling.xml
From: Christoph Michael Becker <cmb () php ! net>
Date: 2021-03-19 0:54:04
Message-ID: php-mail-2d8c01e0ae521475d68142e148818075617726674 () git ! php ! net
[Download RAW message or body]
Commit: c4de1a06045b84afa79ac0b6503fa4f60400359c
Author: Christoph M. Becker <cmbecker69@gmx.de> Fri, 19 Mar 2021 01:52:52 \
+0100
Parents: dde64312eb88c1b648edc32e65bf8cfe4b830387
Branches: master
Link: http://git.php.net/?p=doc/en.git;a=commitdiff;h=c4de1a06045b84afa79ac0b6503fa4f60400359c
Log:
Revert "Show info about PHP error reporting"
This reverts commit f3e5da139a9576c522d6e6a43394f1496b72de0e, because
it was accidentally committed.
Cf. <https://github.com/php/doc-en/pull/465>.
Changed paths:
M language/types/type-juggling.xml
Diff:
diff --git a/language/types/type-juggling.xml b/language/types/type-juggling.xml
index d0a9bc9515..efad88d605 100644
--- a/language/types/type-juggling.xml
+++ b/language/types/type-juggling.xml
@@ -29,8 +29,8 @@
$foo = "1"; // $foo is string (ASCII 49)
$foo *= 2; // $foo is now an integer (2)
$foo = $foo * 1.3; // $foo is now a float (2.6)
-$foo = 5 * "10 Little Piggies"; // $foo is integer (50) and an E_WARNING (A \
non-numeric value encountered) is raised in PHP 8.0.0, E_NOTICE (A non well formed \
numeric value encountered) previously
-$foo = 5 * "10 Small Pigs"; // $foo is integer (50) and an E_WARNING (A \
non-numeric value encountered) is raised in PHP 8.0.0, E_NOTICE (A non well formed \
numeric value encountered) previously +$foo = 5 * "10 Little Piggies"; // $foo is \
integer (50) +$foo = 5 * "10 Small Pigs"; // $foo is integer (50)
?>
]]>
<!-- bad example, no real operator (must be used with variable, modifies it too)
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic