3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; if (!empty($a)) echo 'jo';

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.3.60.0110.00418.43
8.3.50.0070.01017.93
8.3.40.0070.00718.69
8.3.30.0040.01118.52
8.3.20.0040.00420.06
8.3.10.0000.00721.54
8.3.00.0050.00323.70
8.2.180.0070.01118.41
8.2.170.0150.00022.96
8.2.160.0070.00720.53
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0050.00221.12
8.2.120.0040.00426.35
8.2.110.0100.00021.02
8.2.100.0060.00617.78
8.2.90.0030.00519.34
8.2.80.0000.00817.97
8.2.70.0080.00017.60
8.2.60.0030.00617.93
8.2.50.0000.00818.16
8.2.40.0040.00420.30
8.2.30.0060.00319.18
8.2.20.0000.00718.05
8.2.10.0060.00318.11
8.2.00.0040.00418.04
8.1.280.0070.01425.92
8.1.270.0040.00422.04
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00322.18
8.1.230.0070.00317.70
8.1.220.0040.00717.76
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0040.00418.48
8.1.160.0000.00718.94
8.1.150.0050.00320.61
8.1.140.0040.00419.02
8.1.130.0030.00318.72
8.1.120.0030.00317.34
8.1.110.0060.00317.43
8.1.100.0050.00317.41
8.1.90.0070.00017.37
8.1.80.0000.00917.43
8.1.70.0020.00517.36
8.1.60.0000.00717.49
8.1.50.0050.00317.40
8.1.40.0040.00917.42
8.1.30.0000.00817.60
8.1.20.0040.00417.46
8.1.10.0040.00417.43
8.1.00.0050.00317.36
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0070.00018.43
8.0.270.0040.00417.11
8.0.260.0000.00816.84
8.0.250.0000.00716.89
8.0.240.0030.00316.99
8.0.230.0050.00216.97
8.0.220.0090.00016.93
8.0.210.0050.00216.88
8.0.200.0000.00716.96
8.0.190.0050.00316.80
8.0.180.0040.00416.88
8.0.170.0040.00416.90
8.0.160.0040.00416.97
8.0.150.0030.00316.89
8.0.140.0040.00416.70
8.0.130.0000.00513.38
8.0.120.0030.00616.73
8.0.110.0000.00716.82
8.0.100.0070.00016.71
8.0.90.0030.00316.71
8.0.80.0050.01016.86
8.0.70.0000.00816.84
8.0.60.0050.00216.82
8.0.50.0090.00016.93
8.0.30.0060.01116.94
8.0.20.0090.00917.40
8.0.10.0000.00817.04
8.0.00.0110.00716.59
7.4.330.0050.00015.55
7.4.320.0050.00316.64
7.4.300.0000.00616.39
7.4.290.0000.00716.53
7.4.280.0000.00816.58
7.4.270.0070.00016.44
7.4.260.0040.00416.38
7.4.250.0000.00716.29
7.4.240.0030.00316.44
7.4.230.0070.00016.46
7.4.220.0060.01916.30
7.4.210.0040.01116.63
7.4.200.0030.00316.32
7.4.160.0090.00716.54
7.4.150.0160.00717.40
7.4.140.0090.01117.86
7.4.130.0150.00716.50
7.4.120.0110.00916.44
7.4.110.0100.00616.55
7.4.100.0120.00416.46
7.4.90.0090.00816.47
7.4.80.0150.00419.39
7.4.70.0100.00716.42
7.4.60.0100.00716.48
7.4.50.0110.00416.55
7.4.40.0070.01316.45
7.4.30.0100.00716.53
7.4.00.0130.00314.96
7.3.330.0030.00312.88
7.3.320.0000.00512.86
7.3.310.0050.00216.17
7.3.300.0030.00316.14
7.3.290.0050.01116.14
7.3.280.0110.00616.12
7.3.270.0090.00817.40
7.3.260.0100.00916.16
7.3.250.0080.01016.36
7.3.240.0100.00916.41
7.3.230.0070.01016.35
7.3.210.0070.01416.16
7.3.200.0060.01616.30
7.3.190.0090.00616.19
7.3.180.0120.00316.56
7.3.170.0150.00616.45
7.3.160.0090.00616.30
7.2.330.0100.00716.56
7.2.320.0070.01316.28
7.2.310.0090.00916.35
7.2.300.0150.00316.49
7.2.290.0060.01216.37
7.2.60.0040.00816.41
7.2.00.0000.01418.86
7.1.200.0060.00615.43
7.1.120.0090.00618.39
7.1.110.0070.00718.02
7.1.100.0000.01317.75
7.1.90.0030.01017.96
7.1.80.0030.01017.84
7.1.70.0060.00617.10
7.1.60.0110.01535.15
7.1.50.0150.01134.67
7.1.40.0220.00634.13
7.1.30.0190.01034.24
7.1.20.0220.00634.44
7.1.10.0070.00716.26
7.1.00.0070.00716.38

preferences:
62.26 ms | 400 KiB | 5 Q