# A quick function Q

**URL:** <https://forum.kirupa.com/t/a-quick-function-q/44308>\
**Category:** programming\
**Created:** [March 2, 2004, 7:20pm UTC](https://forum.kirupa.com/t/a-quick-function-q/44308 "2004-03-02T19:20:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andr\_in](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/andr_in/32/37_2.png) [@andr\_in](https://forum.kirupa.com/u/andr_in)\
**Post date:** [March 2, 2004, 7:20pm UTC](https://forum.kirupa.com/t/a-quick-function-q/44308/1 "2004-03-02T19:20:57Z")

</div>

in flash you have  
eval(“str”+var);  
or  
[“str”+var]

how is eval in php?  
I wanna mix up variable out of other variables.

liek if I have  
$var1 =“string”  
$var2 = “banana”;

I want to make up a variable name $bananastring using these variables
