Answers for "what will be the output of the following php code"

PHP
0

what will be the output of the following php code

<?php

var_dump(42 == 042); #bool(false)
var_dump('042' == 42); #bool(true)
var_dump('042' === 42); #bool(false)

$x = 100 + "25%" + "$40";
print $x; // 125

?>
Posted by: Guest on February-10-2021

Code answers related to "what will be the output of the following php code"

Browse Popular Code Answers by Language