PHP 8.5.0 Alpha 2 available for testing

Voting

: max(three, two)?
(Example: nine)

The Note You're Voting On

balbuf
9 years ago
(It's already been said, but for the sake of searching on the word "relative"...)

The "use" keyword to import a trait into a class will resolve relative to the current namespace and therefore should include a leading slash to represent a full path, whereas "use" at the namespace level is always absolute.

<< Back to user notes page

To Top