3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'null == false? ', (null == false) ? 'yes' : 'no', '<br />'; echo 'null == 0?', (null == 0) ? 'yes' : 'no', '<br />'; echo 'null == "0"?', (null == "0") ? 'yes' : 'no', '<br />'; echo 'null == $undefined?', (null == $undefined) ? 'yes', 'no' : '<br />'; echo 'null == ""?', (null == "") ? 'yes' : 'no', '<br />'; echo 'false == 0?', (false == 0) ? 'yes' : 'no', '<br />'; echo 'false == "0"?', (false == "0") ? 'yes' : 'no', '<br />'; echo 'false == $undefined?', (false == $undefined) ? 'yes' : 'no', '<br />'; echo 'false == ""?', (false == "") ? 'yes' : 'no', '<br />'; echo '0 == "0"?', (0 == "0") ? 'yes' : 'no', '<br />'; echo '0 == $undefined?', (0 == $undefined) ? 'yes' : 'no', '<br />'; echo '0 == ""?', (0 == "") ? 'yes', 'no' : '<br />'; echo '"0" == $undefined?', ("0" == $undefined) ? 'yes' : 'no', '<br />'; echo '"0" == ""?', ("0" == "") ? 'yes' : 'no', '<br />'; echo '$undefined == ""?', ($undefined == "") ? 'yes' : 'no', '<br />';

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.170.0900.03018.94
5.4.160.0470.04319.09
5.4.150.0670.04019.20
5.4.140.0330.04016.35
5.4.130.0770.03716.32
5.4.120.0570.03316.50
5.4.110.0970.02716.38
5.4.100.0600.03316.54
5.4.90.0270.03016.56
5.4.80.0370.04316.34
5.4.70.0600.03016.17
5.4.60.0530.03716.33
5.4.50.0170.03716.24
5.4.40.0800.03016.32
5.4.30.0830.02716.23
5.4.20.0630.05316.51
5.4.10.0470.03716.55
5.4.00.0630.04315.80
5.3.270.0730.05015.77
5.3.260.0730.03715.77
5.3.250.0670.03315.77
5.3.240.0570.03715.77
5.3.230.0470.03715.77
5.3.220.0430.04015.77
5.3.210.0700.04015.77
5.3.200.0500.03315.77
5.3.190.0500.02715.77
5.3.180.0970.03315.77
5.3.170.0830.03315.77
5.3.160.0900.03715.77
5.3.150.0500.04715.77
5.3.140.0470.02715.77
5.3.130.0470.03715.77
5.3.120.0400.05015.77
5.3.110.0530.04715.77
5.3.100.0770.04715.77
5.3.90.0570.05715.77
5.3.80.0630.05315.77
5.3.70.0530.05715.77
5.3.60.0800.04015.77
5.3.50.0630.03015.77
5.3.40.0700.03315.77
5.3.30.0830.03015.77
5.3.20.0670.03315.77
5.3.10.0530.03715.77
5.3.00.0600.05015.77

preferences:
143.05 ms | 1394 KiB | 7 Q