3v4l.org

run code in 300+ PHP versions simultaneously
<?php eval(' if (false) echo "true\n"; else echo "false\n"; '); eval(' if (false) echo "true\n";; else echo "false\n"; ');

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)
8.1.130.0030.00318.86
8.1.120.0050.00317.41
8.1.110.0000.00717.37
8.1.100.0040.00417.29
8.1.90.0040.00417.34
8.1.80.0030.00617.32
8.1.70.0030.00317.34
8.1.60.0030.00617.48
8.1.50.0000.00717.35
8.1.40.0000.00817.37
8.1.30.0070.00317.59
8.1.20.0000.00817.51
8.1.10.0080.00017.40
8.1.00.0000.00817.41
8.0.260.0030.00318.78
8.0.250.0030.00316.91
8.0.240.0000.00716.97
8.0.230.0070.00017.00
8.0.220.0060.00316.95
8.0.210.0030.00316.83
8.0.200.0000.00716.96
8.0.190.0040.00816.90
8.0.180.0000.00817.00
8.0.170.0000.00716.88
8.0.160.0040.00416.96
8.0.150.0060.00316.93
8.0.140.0030.00516.92
8.0.130.0000.00513.38
8.0.120.0040.00416.80
8.0.110.0000.00716.93
8.0.100.0040.00416.91
8.0.90.0030.00517.01
8.0.80.0040.01116.89
8.0.70.0030.00516.88
8.0.60.0000.00716.98
8.0.50.0040.00416.83
8.0.30.0060.01217.08
8.0.20.0120.00817.40
8.0.10.0070.00016.89
8.0.00.0090.00917.02
7.4.330.0000.00515.55
7.4.320.0030.00316.61
7.4.300.0000.00616.64
7.4.290.0030.00316.63
7.4.280.0000.00716.65
7.4.270.0050.00216.39
7.4.260.0000.00716.46
7.4.250.0040.00416.33
7.4.240.0000.00816.42
7.4.230.0000.00716.60
7.4.220.0070.01116.58
7.4.210.0080.00516.48
7.4.200.0030.00316.62
7.4.160.0090.00716.51
7.4.150.0130.00717.40
7.4.140.0100.00717.86
7.4.130.0070.01216.54
7.4.120.0100.00816.65
7.4.110.0060.01616.36
7.4.100.0080.00816.52
7.4.90.0090.00616.67
7.4.80.0030.01519.39
7.4.70.0040.01316.69
7.4.60.0060.01016.47
7.4.50.0100.00716.22
7.4.40.0100.00716.68
7.4.30.0000.01716.55
7.4.20.0100.00716.21
7.4.10.0030.01716.37
7.4.00.0070.00715.65
7.3.330.0020.00213.05
7.3.320.0050.00013.28
7.3.310.0040.00416.21
7.3.300.0000.00916.16
7.3.290.0090.00716.24
7.3.280.0070.00916.26
7.3.270.0070.01117.40
7.3.260.0090.01016.37
7.3.250.0100.01016.33
7.3.240.0150.00416.25
7.3.230.0130.01016.49
7.3.210.0070.01416.48
7.3.200.0110.00516.27
7.3.190.0000.01516.35
7.3.180.0210.00016.48
7.3.170.0100.00616.36
7.3.160.0190.00316.48
7.3.150.0070.01016.38
7.3.140.0130.00316.07
7.3.130.0060.00916.34
7.3.120.0130.00416.34
7.3.110.0060.01216.49
7.3.100.0100.01016.60
7.3.90.0030.01316.41
7.3.80.0080.00816.26
7.3.70.0110.00616.32
7.3.60.0090.00916.29
7.3.50.0130.00316.27
7.3.40.0070.01116.15
7.3.30.0070.01016.29
7.3.20.0140.00316.43
7.3.10.0140.00316.20
7.3.00.0030.01316.25
7.2.330.0070.01116.41
7.2.320.0030.01216.52
7.2.310.0130.00416.71
7.2.300.0070.01116.57
7.2.290.0100.00716.56
7.2.280.0090.00816.57
7.2.270.0180.00316.68
7.2.260.0000.01716.36
7.2.250.0060.01216.31
7.2.240.0090.00916.39
7.2.230.0070.01416.72
7.2.220.0100.00716.66
7.2.210.0060.01516.43
7.2.200.0030.01316.67
7.2.190.0120.00616.57
7.2.180.0100.00716.45
7.2.170.0110.00716.47
7.2.160.0060.01016.54
7.2.150.0090.00916.50
7.2.140.0090.00916.49
7.2.130.0080.00816.45
7.2.120.0060.01616.43
7.2.110.0050.01916.47
7.2.100.0150.01416.57
7.2.90.0150.00716.49
7.2.80.0130.00616.41
7.2.70.0150.01016.69
7.2.60.0090.01016.69
7.2.50.0050.00916.44
7.2.40.0150.00716.64
7.2.30.0180.00316.51
7.2.20.0070.01516.46
7.2.10.0200.01217.18
7.2.00.0260.00817.21
7.1.330.0070.01115.42
7.1.320.0040.01415.10
7.1.310.0040.01715.07
7.1.300.0090.01115.22
7.1.290.0070.01415.14
7.1.280.0080.01115.23
7.1.270.0190.00315.14
7.1.260.0100.01315.12
7.1.250.0060.01015.28
7.1.240.0080.01114.91
7.1.230.0230.01715.29
7.1.220.0030.01714.96
7.1.210.0130.01015.28
7.1.200.0170.01015.51
7.1.190.0030.01815.04
7.1.180.0060.01315.13
7.1.170.0080.01014.96
7.1.160.0100.01215.20
7.1.150.0210.00314.99
7.1.140.0150.00615.11
7.1.130.0200.01015.79
7.1.120.0290.01016.16
7.1.110.0210.00916.02
7.1.100.0150.01215.86
7.1.90.0200.00616.35
7.1.80.0180.00616.43
7.1.70.0130.01015.77
7.1.60.0170.01327.83
7.1.50.0170.01327.60
7.1.40.0200.01127.40
7.1.30.0210.00927.44
7.1.20.0650.01227.45
7.1.10.0110.01115.39
7.1.00.0130.00915.41
7.0.330.0090.00614.76
7.0.320.0110.01114.86
7.0.310.0100.01014.91
7.0.300.0090.01214.93
7.0.290.0130.01015.04
7.0.280.0150.00314.79
7.0.270.0190.01415.70
7.0.260.0170.01415.78
7.0.250.0280.01015.24
7.0.240.0160.01115.46
7.0.230.0240.00615.41
7.0.220.0250.00815.35
7.0.210.0140.01214.75
7.0.200.0130.00915.41
7.0.190.0160.00615.43
7.0.180.0100.01015.15
7.0.170.0150.00815.05
7.0.160.0150.00915.15
7.0.150.0130.00915.30
7.0.140.0150.00915.18
7.0.130.0130.00715.33
7.0.120.0100.01015.35
7.0.110.0100.01315.07
7.0.100.0190.00315.29
7.0.90.0110.00915.22
7.0.80.0160.00715.25
7.0.70.0090.01115.11
7.0.60.0150.00615.11
7.0.50.0110.01015.16
7.0.40.0150.00715.17
7.0.30.0100.01315.29
7.0.20.0110.01015.22
7.0.10.0150.00515.17
7.0.00.0150.00815.14
5.6.400.0140.00815.64
5.6.390.0100.01315.62
5.6.380.0100.01415.42
5.6.370.0150.01015.39
5.6.360.0040.02016.00
5.6.350.0150.01215.58
5.6.340.0180.00716.07
5.6.330.0150.00915.22
5.6.320.0030.01615.43
5.6.310.0060.01615.96
5.6.300.0080.01115.64
5.6.290.0120.00915.86
5.6.280.0060.01315.51
5.6.270.0120.01315.55
5.6.260.0070.01715.43
5.6.250.0060.01615.39
5.6.240.0080.01115.41
5.6.230.0130.00615.68
5.6.220.0110.01115.42
5.6.210.0100.01315.61
5.6.200.0170.00315.61
5.6.190.0120.00915.63
5.6.180.0130.01015.57
5.6.170.0090.00915.44
5.6.160.0100.01115.47
5.6.150.0100.01415.58
5.6.140.0140.00715.33
5.6.130.0180.00315.63
5.6.120.0060.01915.53
5.6.110.0160.00615.67
5.6.100.0110.00715.63
5.6.90.0110.00815.49
5.6.80.0130.01315.65
5.6.70.0180.01115.55
5.6.60.0110.00815.68
5.6.50.0130.01015.86
5.6.40.0150.00315.67
5.6.30.0070.01115.61
5.6.20.0140.00415.45
5.6.10.0100.01115.80
5.6.00.0030.01615.55

preferences:
85.27 ms | 408 KiB | 11 Q