Jump to content

Recommended Posts

  • 4 weeks later...
Posted

Are you talking about the difference between language construct and functions in PHP?

I don't exactly understand the difference but I found a helpful post on stackoverflow.

https://stackoverflow.com/questions/1180184/what-is-the-difference-between-a-language-construct-and-a-built-in-function-in

Supposedly, language constructs can't be used in call backs. It's the second post by Pascal Martin, he has example code.

Posted

Functions do something ... they process. You can think of functions as being like mini programs. 

Statement just state something .... there is no processing. That is a non nerd way of describing it. Think of a statement like a verbal statement. 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...