Static Members
14/35
Variables
Final
PHP 5 supports static class functions, which is a compiler hint that enforces static usage.
Without Static
<?php
class
Foo
{ function
getName
() { return
$this
->
name
; } } print
Foo
::
getName
();
?>
Output