Variable Parsing in PHP

Is it OK to reference an array variable in a double-quoted string like so:
print("$numbers[$index]");

two

Yes, it is OK.

[Home]