I don't know if PHP 4 supports static but I need help on achieving this or workaround on having something like
Thanks.Code:<?php class test { static $a; function b() { if (!isset(test::$a)) { test::$a = "hello world"; } return test::$a; } } echo test::b();




Reply With Quote