ScotlandPHP 2019


Please answer this simple SPAM challenge: max(two, six)?
(Example: nine)

The Note You're Voting On

y007pig at yahoo dot com dot cn
13 years ago
In reply to pike at kw dot nl, '&' is only apply to PHP 4.
PHP 5 changed the behavior and the object is defaultly passed by references and if you turn on E_STRICT, you will get a notice:
Strict Standards: Assigning the return value of new by reference is deprecated in xxxx
If you want to *copy* object in PHP 5, use object clone.

<< Back to user notes page

To Top