note 116400 added to language.oop5.constants

From: Date: Sat, 27 Dec 2014 16:40:22 +0000
Subject: note 116400 added to language.oop5.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-201263@lists.php.net to get a copy of this message
class Test { const BAR = <<<EOT Some constant value EOT; } // also works $obj1 = new Test(); echo $obj1::BAR; ---- Server IP: 72.52.91.14 Probable Submitter: 213.197.169.106 ---- Manual Page -- http://php.net/manual/en/language.oop5.constants.php Edit -- https://master.php.net/note/edit/116400 Del: integrated -- https://master.php.net/note/delete/116400/integrated Del: useless -- https://master.php.net/note/delete/116400/useless Del: bad code -- https://master.php.net/note/delete/116400/bad+code Del: spam -- https://master.php.net/note/delete/116400/spam Del: non-english -- https://master.php.net/note/delete/116400/non-english Del: in docs -- https://master.php.net/note/delete/116400/in+docs Del: other reasons-- https://master.php.net/note/delete/116400 Reject -- https://master.php.net/note/reject/116400 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#201263) next »