PHP variable evaluation.

  • Troubadour
  • Graduate
  • Graduate
  • User avatar
  • Posts: 137
  • Loc: Melbourne, Australia

Post 3+ Months Ago

Hey there,

just a quick one...

What's the function name to retrieve the value of a second variable, that is actually referenced by a another variable?

I don't have PHP ide here and it has been a about 9 months since my last PHP task.

Thanks in advance.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

I'm not positive what you mean, but is this what you are looking for?

http://www.php.net/manual/en/language.v ... riable.php
  • Troubadour
  • Graduate
  • Graduate
  • User avatar
  • Posts: 137
  • Loc: Melbourne, Australia

Post 3+ Months Ago

Thanks for the reply,:D
In that artivle I actually found the answer though not directly.

it is the "eval" function.
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

Glad ya found it!

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 80 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.