3v4l.org

run code in 300+ PHP versions simultaneously
<?php $workspace_id = ""; if(!$workspace_id) { echo "I'm not"; } else { echo "I am!" }

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.390.0330.05718.59
5.4.380.0400.06018.56
5.4.370.0330.06018.46
5.4.360.0430.04718.84
5.4.350.0430.05018.84
5.4.340.0330.05318.79
5.4.320.0430.05718.84
5.4.310.0500.06718.71
5.4.300.0500.07718.77
5.4.290.0330.06018.75
5.4.280.0370.07318.71
5.4.270.0500.04718.78
5.4.260.0300.06718.52
5.4.250.0500.08318.71
5.4.240.0400.05018.61
5.4.230.0470.04318.68
5.4.220.0370.05318.72
5.4.210.0500.06718.45
5.4.200.0500.07316.59
5.4.190.0400.05018.70
5.4.180.0400.05718.45
5.4.170.0530.06718.73
5.4.160.0330.06018.55
5.4.150.0430.06018.73
5.4.140.0430.06016.19
5.4.130.0530.05316.44
5.4.120.0430.04716.31
5.4.110.0300.05016.27
5.4.100.0370.05316.25
5.4.90.0530.05716.24
5.4.80.0230.07316.26
5.4.70.0370.08316.23
5.4.60.0600.04016.25
5.4.50.0330.05016.25
5.4.40.0370.06016.22
5.4.30.0570.04716.39
5.4.20.0570.05316.15
5.4.10.0300.06316.24
5.4.00.0500.06015.70
5.3.290.0500.08014.75
5.3.280.0500.06014.49
5.3.270.0400.07014.54
5.3.260.0500.05014.68
5.3.250.0370.07014.61
5.3.240.0500.06314.54
5.3.230.0530.06014.63
5.3.220.0470.07314.67
5.3.210.0470.05314.55
5.3.200.0430.05314.46
5.3.190.0370.05714.59
5.3.180.0600.06714.51
5.3.170.0430.06714.63
5.3.160.0430.07014.66
5.3.150.0430.06314.64
5.3.140.0330.07014.55
5.3.130.0270.05014.48
5.3.120.0400.07314.55
5.3.110.0470.06314.48
5.3.100.0370.06014.03
5.3.90.0500.05314.05
5.3.80.0370.05714.00
5.3.70.0370.05014.00
5.3.60.0270.05713.96
5.3.50.0470.05713.89
5.3.40.0300.07013.93
5.3.30.0270.05713.89
5.3.20.0370.04713.78
5.3.10.0370.06013.75
5.3.00.0400.04713.55
5.2.170.0230.06011.20
5.2.160.0230.06011.07
5.2.150.0470.03011.11
5.2.140.0370.04311.21
5.2.130.0400.03711.10
5.2.120.0270.05011.13
5.2.110.0330.04311.09
5.2.100.0230.04011.11
5.2.90.0400.03711.14
5.2.80.0330.04311.08
5.2.70.0430.05711.01
5.2.60.0530.05011.20
5.2.50.0300.04011.08
5.2.40.0270.04011.07
5.2.30.0230.04310.92
5.2.20.0270.05010.96
5.2.10.0400.03310.88
5.2.00.0270.03310.74
5.1.60.0300.03010.02
5.1.50.0300.03310.05
5.1.40.0200.04010.02
5.1.30.0370.04310.34
5.1.20.0270.04010.51
5.1.10.0270.04010.06
5.1.00.0400.04310.14
5.0.50.0100.0378.53
5.0.40.0270.0238.41
5.0.30.0130.0478.25
5.0.20.0130.0308.22
5.0.10.0070.0338.16
5.0.00.0070.0478.34
4.4.90.0170.0136.29
4.4.80.0100.0206.29
4.4.70.0130.0206.29
4.4.60.0170.0306.29
4.4.50.0130.0306.29
4.4.40.0100.0376.29
4.4.30.0130.0206.29
4.4.20.0070.0336.29
4.4.10.0100.0336.29
4.4.00.0070.0476.29
4.3.110.0200.0276.29
4.3.100.0130.0336.29
4.3.90.0070.0306.29
4.3.80.0170.0406.29
4.3.70.0130.0236.29
4.3.60.0100.0206.29
4.3.50.0070.0376.29
4.3.40.0230.0336.29
4.3.30.0070.0276.29
4.3.20.0130.0176.29
4.3.10.0000.0276.29
4.3.00.0130.0237.24

preferences:
152.97 ms | 939 KiB | 8 Q