3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = null; if(isset($foo)) { echo 'defined to null is set"; } else { echo 'no worries'; }

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.260.0030.05718.63
5.4.250.0070.05718.92
5.4.240.0130.05018.95
5.4.230.0070.05318.92
5.4.220.0130.06018.83
5.4.210.0230.05719.02
5.4.200.0130.04718.87
5.4.190.0100.05318.68
5.4.180.0070.06018.87
5.4.170.0130.05718.86
5.4.160.0100.06318.57
5.4.150.0070.05718.94
5.4.140.0100.07316.50
5.4.130.0100.07016.42
5.4.120.0130.07016.48
5.4.110.0070.05016.54
5.4.100.0070.05016.34
5.4.90.0070.05016.55
5.4.80.0030.05716.33
5.4.70.0100.04716.48
5.4.60.0100.04716.28
5.4.50.0130.06716.21
5.4.40.0070.05016.52
5.4.30.0030.07316.54
5.4.20.0100.05016.41
5.4.10.0170.04716.37
5.4.00.0130.05315.87
5.3.280.0170.06714.47
5.3.270.0030.05714.62
5.3.260.0030.06714.70
5.3.250.0100.06714.63
5.3.240.0070.05314.57
5.3.230.0100.05014.61
5.3.220.0170.05714.61
5.3.210.0130.04714.66
5.3.200.0070.05014.59
5.3.190.0100.05014.44
5.3.180.0130.06314.42
5.3.170.0100.05014.43
5.3.160.0100.06014.66
5.3.150.0070.05314.58
5.3.140.0070.05014.55
5.3.130.0200.04314.57
5.3.120.0170.04714.44
5.3.110.0130.04714.60
5.3.100.0030.07713.74
5.3.90.0070.05014.11
5.3.80.0130.04714.18
5.3.70.0070.05013.94
5.3.60.0100.07014.02
5.3.50.0070.07313.72
5.3.40.0170.06313.87
5.3.30.0030.07713.92
5.3.20.0030.06013.54
5.3.10.0270.05313.50
5.3.00.0100.04713.50
5.2.170.0070.05311.06
5.2.160.0070.04011.07
5.2.150.0270.06011.06
5.2.140.0030.05711.28
5.2.130.0030.06010.98
5.2.120.0130.04011.25
5.2.110.0070.05011.21
5.2.100.0070.06011.25
5.2.90.0170.04711.13
5.2.80.0100.04011.01
5.2.70.0070.05711.11
5.2.60.0000.04710.81
5.2.50.0130.05011.08
5.2.40.0100.03711.01
5.2.30.0030.04311.06
5.2.20.0100.03711.11
5.2.10.0030.04310.64
5.2.00.0070.05710.72
5.1.60.0030.04010.18
5.1.50.0100.0339.76
5.1.40.0100.0439.83
5.1.30.0070.05310.39
5.1.20.0100.05010.51
5.1.10.0130.03710.00
5.1.00.0030.05310.09
5.0.50.0100.0279.67
5.0.40.0100.0379.67
5.0.30.0100.0479.68
5.0.20.0070.0379.68
5.0.10.0070.0239.68
5.0.00.0030.0439.68
4.4.90.0030.0309.67
4.4.80.0000.0239.67
4.4.70.0030.0209.67
4.4.60.0030.0239.67
4.4.50.0030.0209.67
4.4.40.0000.0409.67
4.4.30.0000.0239.67
4.4.20.0100.0239.67
4.4.10.0030.0309.67
4.4.00.0030.0339.67
4.3.110.0070.0309.67
4.3.100.0070.0209.68
4.3.90.0030.0279.68
4.3.80.0000.0379.68
4.3.70.0030.0239.68
4.3.60.0070.0179.68
4.3.50.0030.0209.68
4.3.40.0100.0309.68
4.3.30.0000.0239.68
4.3.20.0070.0179.68
4.3.10.0000.0279.68
4.3.00.0130.01714.49

preferences:
142.77 ms | 1394 KiB | 7 Q