[ create a new paste ] login | about

Link: http://codepad.org/IwERmB4S    [ raw code | output | fork ]

PHP, pasted on Aug 23:
1
2
3
4
5
<?php 
$foo = 'bar';
$bar = 'test';

echo ${$foo}; 


Output:
1
test


Create a new paste based on this one


Comments: