note 87917 added to language.oop5.final

From: Date: Tue, 30 Dec 2008 16:52:07 +0000
Subject: note 87917 added to language.oop5.final
Groups: php.notes 
Request: Send a blank email to php-notes+get-148682@lists.php.net to get a copy of this message
santoshjoshi2003 To declare constants in Java you use the "final" keywork. In PHP, to declare class constants the keyword is 'cons' class Foo { const Bar = 'value'; } ---- Server IP: 200.185.126.110 Probable Submitter: 200.205.10.254 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.final.php Edit -- https://master.php.net/note/edit/87917 Del: integrated -- https://master.php.net/note/delete/87917/integrated Del: useless -- https://master.php.net/note/delete/87917/useless Del: bad code -- https://master.php.net/note/delete/87917/bad+code Del: spam -- https://master.php.net/note/delete/87917/spam Del: non-english -- https://master.php.net/note/delete/87917/non-english Del: in docs -- https://master.php.net/note/delete/87917/in+docs Del: other reasons-- https://master.php.net/note/delete/87917 Reject -- https://master.php.net/note/reject/87917 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#148682) next »