note 112662 added to language.oop5.constants

From: Date: Wed, 10 Jul 2013 10:12:14 +0000
Subject: note 112662 added to language.oop5.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-195556@lists.php.net to get a copy of this message
class Country{ const IND = "India'; const PK='Pakistan'; contst NK='Nanhe kumar'; } $countryCode='IND'; constant("Country::$countryCode"); $countryCode='PK'; constant("Country::$countryCode"); ---- Server IP: 69.147.83.199 Probable Submitter: 210.7.74.130 ---- Manual Page -- http://php.net/manual/en/language.oop5.constants.php Edit -- https://master.php.net/note/edit/112662 Del: integrated -- https://master.php.net/note/delete/112662/integrated Del: useless -- https://master.php.net/note/delete/112662/useless Del: bad code -- https://master.php.net/note/delete/112662/bad+code Del: spam -- https://master.php.net/note/delete/112662/spam Del: non-english -- https://master.php.net/note/delete/112662/non-english Del: in docs -- https://master.php.net/note/delete/112662/in+docs Del: other reasons-- https://master.php.net/note/delete/112662 Reject -- https://master.php.net/note/reject/112662 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#195556) next »