----- Original Message ----- From: "Jeroen van Wolffelaar" <[EMAIL PROTECTED]> To: "Damien Seguy" <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> > Newsgroups: php.doc > To: "phpdoc" <[EMAIL PROTECTED]> > 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 > > >