Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php string interpolation

<?php
$apples = 5;
$bananas = 3;
echo "There are $apples apples and $bananas bananas.";
echo "
";
echo "I have {$apples} apples and {$bananas} bananas.";
Source by en.wikipedia.org #
 
PREVIOUS NEXT
Tagged: #php #string #interpolation
ADD COMMENT
Topic
Name
6+4 =