note 78356 added to language.constants

From: Date: Mon, 08 Oct 2007 11:52:58 +0000
Subject: note 78356 added to language.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-131223@lists.php.net to get a copy of this message
I had a question about Define; and I can't find it here. What if I want to define that something can be two things? For example: define ("ADMIN_USERNAME", X); And then I want that X is either Admin or Webchicken. I tried a few things but nothing is working, can someone help me with this, or is what I want imposible? ---- Server IP: 83.137.20.107 Probable Submitter: 195.240.168.173 ---- Manual Page -- http://www.php.net/manual/en/language.constants.php Edit -- https://master.php.net/note/edit/78356 Del: integrated -- https://master.php.net/note/delete/78356/integrated Del: useless -- https://master.php.net/note/delete/78356/useless Del: bad code -- https://master.php.net/note/delete/78356/bad+code Del: spam -- https://master.php.net/note/delete/78356/spam Del: non-english -- https://master.php.net/note/delete/78356/non-english Del: in docs -- https://master.php.net/note/delete/78356/in+docs Del: other reasons-- https://master.php.net/note/delete/78356 Reject -- https://master.php.net/note/reject/78356 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131223) next »