Jump to content

Are Php User Defined Functions Defined/redefined Every Time A Page Loads?


floridaflatlander

Recommended Posts

Are php user defined functions defined/redefined every time a page loads?

 

I have a functions page and function_exist() tells me the function is redefined every time I load a page.

 

Is this correct, is this the nature of the beast that the functions will be redefined each time the function.inc file is used?

 

When they(books) say remember, are they taking about a page that uses the function.inc file 2,3,4 5 times?

 

Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.