note 106769 added to language.functions

From: Date: Mon, 05 Dec 2011 17:06:42 +0000
Subject: note 106769 added to language.functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-184905@lists.php.net to get a copy of this message
To Jakob Thomsen, class foo { public static function bar(){ return "bar in a class called"; } } $strFN2 = "foo::bar"; //echo $strFN2(); //Fatal error: Call to undefined function ... $strFN3 = "foo"; $strFN4 = "bar"; echo $strFN3::$strFN4(); //works: bar in a class called ---- Server IP: 212.124.37.9 Probable Submitter: 134.76.145.205 ---- Manual Page -- http://www.php.net/manual/en/language.functions.php Edit -- https://master.php.net/note/edit/106769 Del: integrated -- https://master.php.net/note/delete/106769/integrated Del: useless -- https://master.php.net/note/delete/106769/useless Del: bad code -- https://master.php.net/note/delete/106769/bad+code Del: spam -- https://master.php.net/note/delete/106769/spam Del: non-english -- https://master.php.net/note/delete/106769/non-english Del: in docs -- https://master.php.net/note/delete/106769/in+docs Del: other reasons-- https://master.php.net/note/delete/106769 Reject -- https://master.php.net/note/reject/106769 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#184905) next »