I experimented with PHP's weak / dynamic typing properties in preparation for the test and was completely puzzled by the output of this string concatenation. Can someone please explain how this is possible?
<?php echo 1 . "/n" . '1' + 1 ?><br />
output:
2
source
to share