this is code:
<?php $a = "4 fox and 3 cows"; // it is simple string $b = 22; echo $ab = $a + $b; echo "output::".$ab; ?>'
output: only first index is being read 26 what is the logic behind this..? instead I should get an error..
2.another example:
<?php
$a = "four fox and 3 cows"; // it is simple string
$b = 22;
echo $ab = $a + $b;
echo "output::".$ab;
?>'
output:
22
what is the logic behind this..?