Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

${'varname_'.$x} variable in PHP [closed]

Tags:

variables

php

Can someone please remind me how you call this type of variable

${'varname_'.$x}

Thanks!

like image 301
mspir Avatar asked Mar 18 '26 21:03

mspir


1 Answers

It's called variable variables!

like image 177
Shef Avatar answered Mar 20 '26 12:03

Shef



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!