[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] [doc-en] master: Fix #72656: Object destructor called before constructor
From: "Christoph M. Becker" <noreply () php ! net>
Date: 2021-08-27 11:11:55
Message-ID: HvRH2pZBDLuh2CVZMxlxrKcs2tZhNFUmx71wWUCC0 () main ! php ! net
[Download RAW message or body]
Author: Christoph M. Becker (cmb69)
Date: 2021-08-27T13:12:20+02:00
Commit: https://github.com/php/doc-en/commit/06126805f490aba6f6c107980f673eada0c79e6c
Raw diff: https://github.com/php/doc-en/commit/06126805f490aba6f6c107980f673eada0c79e6c.diff
Fix #72656: Object destructor called before constructor
We just need to document PHP's eager evaluation strategy; the rest is
already documented.
Changed paths:
M language/functions.xml
Diff:
diff --git a/language/functions.xml b/language/functions.xml
index 3b0ecc4655..dfa0a59231 100644
--- a/language/functions.xml
+++ b/language/functions.xml
@@ -175,7 +175,8 @@ function recursion($a)
<simpara>
Information may be passed to functions via the argument list,
which is a comma-delimited list of expressions. The arguments are
- evaluated from left to right.
+ evaluated from left to right, before the function is actually called
+ (<emphasis>eager</emphasis> evaluation).
</simpara>
<para>
--
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