Fw: constant.xml : clarifying

From: Date: Tue, 10 Jul 2001 18:43:59 +0000
Subject: Fw: constant.xml : clarifying
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969336099@lists.php.net to get a copy of this message
----- Original Message ----- From: "Jeroen van Wolffelaar" <jeroen@a-eskwadraat.nl> To: "Damien Seguy" <damien.seguy@nexen.net> Sent: Tuesday, July 10, 2001 8:40 PM Subject: Re: constant.xml : clarifying > What I wanted to say (should be rewritten anyway, if even the phpdoc-ppl > don't understand me... :): > > $var = 'E_ERROR'; > > $value_of_e_error = constant($var); > > I really can't think of any use of it (also not at that time), but _if_ > someone wan't to reference variable constants, it is _possible_. (it's > always possible via eval() & co, but anyway). > > Jeroen > ----- Original Message ----- > From: "Damien Seguy" <damien.seguy@nexen.net> > Newsgroups: php.doc > To: "phpdoc" <phpdoc@lists.php.net> > Sent: Tuesday, July 10, 2001 8:39 AM > Subject: constant.xml : clarifying > > > > Hi, > > > > I ran into this sentence : > > " You can also use the <function>constant</function>-function, for > > example if the name of the constant is variable. > > " > > which I couldn't understand. > > I think Jeroen wrote this : can you give me a hint? > > > > Best regards, > > Damien Seguy > > >

« previous php.doc (#969336099) next »