3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = true; $b = "ceva"; $c = 0; $d = false; if (($a == $b) && ($b == $c) && ($c == $d)) { // daca sunt egale intre ele var_dump($a); var_dump($d); echo 'sunt egale'; } echo "\n\n\n"; if ((NULL == 0) && (NULL < -1)) { echo "0 e mai mic decat -1"; } echo "\n\n\n"; $string = "123abc"; $a = 123; $b = "123"; if (($a == $string) && ($b != $string)) { echo "$a == $string is true \n$b != $string is true"; } echo "\n\n\n"; $s1 = " 6"; $s2 = "6"; if ($s1 == $s2) { echo "'$s1' == '$s2'"; } echo "\n\n\n"; $a = md5('240610708'); $b = md5('QNKCDZO'); if ($a == $b) { echo "$a\nsi\n$b\nsunt egale"; }

preferences:
33.82 ms | 402 KiB | 5 Q