PHP 8.5.0 Alpha 4 available for testing

Voting

: max(five, seven)?
(Example: nine)

The Note You're Voting On

emile at webflow dot nl
15 years ago
Another gotcha I encountered: like __construct and __desctruct, you must call parent::__clone() yourself from inside a child's __clone() function. The manual kind of got me on the wrong foot here: "An object's __clone() method cannot be called directly."

<< Back to user notes page

To Top