PHP 8.5.0 Alpha 4 available for testing

Voting

: min(two, one)?
(Example: nine)

The Note You're Voting On

santoshjoshi2003 at yahoo dot co dot in
16 years ago
The use of final keyword is just like that occurs in Java
In java final has three uses
1) prevent class Inheritance
2) prevent method overriding or redifination of
method in subclass
3) and to declare constants
But the third point seems to be missing from the PHP
I guess, as i am a java developer Currently gaining competence in PHP

<< Back to user notes page

To Top