InterviewSolution
Saved Bookmarks
| 1. |
Would I Use Print "$a Dollars" Or "{$a} Dollars" To Print Out The Amount Of Dollars In This Example? |
|
Answer» In this EXAMPLE it wouldn’t matter, SINCE the variable is all by itself, but if you were to print SOMETHING like “{$a},000,000 mln dollars”, then you definitely NEED to use the braces. In this example it wouldn’t matter, since the variable is all by itself, but if you were to print something like “{$a},000,000 mln dollars”, then you definitely need to use the braces. |
|