PHP 8.5.0 Alpha 4 available for testing

Voting

: max(six, eight)?
(Example: nine)

The Note You're Voting On

Baptiste
17 years ago
There is nothing wrong with PHP namespaces, except that those 2 instructions give a false impression of package management.
... while they just correspond to the "with()" instruction of Javascript.

By contrast, a package is a namespace for its members, but it offers more (like deployment facilities), and a compiler knows exactly what classes are in a package, and where to find them.

<< Back to user notes page

To Top