Jump to content
Stef's Coding Community

Notation in the documentation?


Recommended Posts

Hi there

 

 

Please can someone point me in the right direction, where in the documentation can I read up on the following notation?...

 

I am trying to figure out what the purpose of the braces around the variable are? $this->{$spec}

if (is_string($spec)) {

$subForm = $this->{$spec};

}

Link to post
Share on other sites

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...