hinom 5 Denunciar post Postado Outubro 24, 2008 Exercise 33 What will be the output of the following code? echo 12.6; A. 12.6 B. 126 C. 18 D. Error: You cannot add integers through the concatenation operator(.) Compartilhar este post Link para o post Compartilhar em outros sites
hinom 5 Denunciar post Postado Outubro 24, 2008 Answer: A Explanation Don't have space before or after concatenation simbol, therefore, literal value will be printed simple test <?php echo 12.6; ?> <?php echo 12. 6; ?> <?php echo 12 .6; ?> <?php echo 12 . 6; ?> http://php.net/language.operators.string Compartilhar este post Link para o post Compartilhar em outros sites