My below programe won’t desplay ?(( huhuhuhuhuhuhuhuhu
[CODE] <?php
class staticex {
protected static $_lkg = 1.55587;
echo self::$_lkg;
}
?> [/CODE]
[code=php] <?php class staticex { protected static $_lkg = 1.55587; public static function showWeight() { echo self::$_lkg; } } staticex::showWeight(); [/code]
[code=php] <?php class staticex { const LKG = 1.55587; } echo staticex::LKG; [/code]
Help @gautamz07 spread the word by sharing this article on Twitter...