HI,
I was little confused with php5.2.x behavior.
Usually , static functions can be accessed with out instantiating. But Non static functuions also accessed .
Irrespective of whether i use or not static keyword for a function, it will be accessed out side of the class.
Need some examples to clarify this .
Example: Non static can be accessed with out using object using scope resolution.
<?php
class One{
function disp(){
echo " helfdfdflo";
}
}
$obj = new One();
$obj->disp();
One::disp(); // Directly accessed the non static function using class name
?>
Thanks,