note 93723 added to userlandnaming

From: Date: Thu, 24 Sep 2009 13:35:50 +0000
Subject: note 93723 added to userlandnaming
Groups: php.notes 
Request: Send a blank email to php-notes+get-161017@lists.php.net to get a copy of this message
The characters you can use are somewhat surprising. How about? <? function §() { echo 'test'; } echo §(); ?> or even... <? //A whitespace character 0160 function  () { echo 'test'; } echo  (); ?> If only we could declare infix functions, imagine being able to do: <? function infix ÷($a, $b) { return $a/$b; } echo 4 ÷ 2; ?> ---- Server IP: 208.69.120.35 Probable Submitter: 195.149.46.150 ---- Manual Page -- http://www.php.net/manual/en/userlandnaming.php Edit -- https://master.php.net/note/edit/93723 Del: integrated -- https://master.php.net/note/delete/93723/integrated Del: useless -- https://master.php.net/note/delete/93723/useless Del: bad code -- https://master.php.net/note/delete/93723/bad+code Del: spam -- https://master.php.net/note/delete/93723/spam Del: non-english -- https://master.php.net/note/delete/93723/non-english Del: in docs -- https://master.php.net/note/delete/93723/in+docs Del: other reasons-- https://master.php.net/note/delete/93723 Reject -- https://master.php.net/note/reject/93723 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161017) next »