I wrote a simple script for echoing total of two variables to <h1>
tag, but it gives strange results
<?php
$i=10; $j=20;
var_dump($i);
var_dump($j);
echo '<h1>'.$i+$j.'</h1>';
?>
Result of this script:
int(10)
int(20)
20</h1>
I was expecting 30 but it ate up <h1>
tag, how can i do this as expected?