note 46434 deleted from language.oop5.constants by nlopess

From: Date: Mon, 11 Oct 2004 16:41:22 +0000
Subject: note 46434 deleted from language.oop5.constants by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-78356@lists.php.net to get a copy of this message
Note Submitter: gomikochar at yahoo dot com ---- To Alexandre: I am not sure about the later versions but afaik, static cannot be prefixed to class as of PHP5.0.0. Just changing your example a lil bit: <?php abstract class Booleans { const On = true; const Off = false; const Yes = true; const No = false; } ?>

« previous php.notes (#78356) next »