Re: Can you have pragmas/literals in PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 23, 2005 1:00 am, zzapper said:
> So my question is does PHP have what are in other languages sometimes
> called pragmas or literal.

No.

> I suppose they  could be descibed as variables containing code.

The following are the closest matches, conceptually:

http://php.net/eval
http://php.net/include
http://php.net/define
http://php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

If you posted more about what you were doing, we could even tell you which
one of those is most suitable, or if you would truly be better off writing
in some other language.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux