Using ${} is a way to create dynamic variables, simple example: ${‘a’ . ‘b’} = ‘hello there’; echo $ab; // hello there
Source: Using braces with dynamic variable names in PHP – Stack Overflow
Using braces with dynamic variable names in PHP was last modified: June 29th, 2018 by