Y
Hacker News
new
|
ask
|
show
|
jobs
by
zyxley
4043 days ago
If working in PHP, make sure to use lots of variable variables (
https://php.net/manual/en/language.variables.variable.php
).
$a = 'cat'; $$a = 'hello'; echo "$a"; // "cat" echo "$cat"; // "hello";