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"; }
Output for git.master, git.master_jit, rfc.property-hooks
0 e mai mic decat -1 ' 6' == '6' 0e462097431906509019562988736854 si 0e830400451993494058024219903391 sunt egale

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
45.25 ms | 401 KiB | 8 Q