Skip to content

Latest commit

History

History
21 lines (17 loc) 路 476 Bytes

File metadata and controls

21 lines (17 loc) 路 476 Bytes

Given the two values below, which of the following possiblities will print 10 foos20 bars?

$var1 = "10 foos";
$var2 = "20 bars";    
print ???????;
  • A) implode("", array($var1,$var2));
  • B) $var1 . $var2
  • C) "{$var1}{$var2}"
  • D) None of the above
Answer

Answer: A, B, C