Variable Parsing in PHP

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

four

Yes, it is OK.

[Home]