Today I have read a question what is difference between final, finally and finalize ?
Final is a keyword. Finally is a block.
Final Keyword
Variable - If you make any variable as final, you cannot change the value of final variable(It will be constant).
Method - If you make any method as final, you cannot override it.
Class - If you make any class as final, you cannot extend it
Finally Block
Code within the finally block will always be executed after the try and catch blocks, regardless of whether an exception has been thrown, and before normal execution resumes.
What is finalize,Is it possible with PHP? If yes, then How?