FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » require*/include*: compile-time or runtime?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: require*/include*: compile-time or runtime? [message #170927 is a reply to message #170922] Thu, 09 December 2010 00:11 Go to previous messageGo to previous message
Helmut Chang is currently offline  Helmut Chang
Messages: 22
Registered: September 2010
Karma:
Junior Member
Am 08.12.2010 20:30, schrieb pakalk:

> What compile-time instructions do u know in interpreted language?

"Interpreted language" doesn't mean, the code isn't compiled. The
difference is, that a program, written in an interpreted language is
compiled each time, (before) the program runs.

And there are compile-time instructions in PHP. An example are class
constants. Those are evaluated during compile time and therefore you
cannot use constructs like:

const FOO = 'Foo'.'Bar';

or

const BAR = 1 + 2;
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: drupal php google analytics
Next Topic: Adsense approval Trick
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 03 13:18:29 GMT 2024

Total time taken to generate the page: 0.07485 seconds