3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ComposerStaticInit9b09a05c4e06ffb39df7e3d597db9ef6 { public static $files = array ( // This the affected line. The error is probably caused by the // fact that in older versions of PHP it was not possible to // use concatenation in variable and property declarations '1d1b89d124cc9cb8219922c9d5569199' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest.php', ); // Other code... }

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.70.0110.00716.58
8.3.60.0080.00816.63
8.3.50.0150.00721.11
8.3.40.0040.01118.72
8.3.30.0110.00418.55
8.3.20.0040.00418.60
8.3.10.0040.00421.90
8.3.00.0080.00017.80
8.2.190.0090.00616.58
8.2.180.0080.00616.38
8.2.170.0120.00322.96
8.2.160.0100.00720.81
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0000.00818.03
8.2.120.0040.00426.35
8.2.110.0000.00919.19
8.2.100.0000.01217.63
8.2.90.0000.00919.14
8.2.80.0000.00817.97
8.2.70.0000.00817.23
8.2.60.0040.00417.90
8.2.50.0060.00318.07
8.2.40.0080.00019.81
8.2.30.0000.00817.92
8.2.20.0040.00417.63
8.2.10.0000.00817.91
8.2.00.0040.00417.86
8.1.280.0070.00725.92
8.1.270.0040.00423.85
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0050.00522.74
8.1.230.0040.00717.70
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0050.00317.10
8.1.180.0030.00718.10
8.1.170.0030.01018.61
8.1.160.0000.00721.85
8.1.150.0030.00518.76
8.1.140.0070.00019.36
8.1.130.0030.00317.49
8.1.120.0040.00417.27
8.1.110.0040.00417.36
8.1.100.0070.00017.34
8.1.90.0040.00417.23
8.1.80.0000.00717.36
8.1.70.0030.00317.36
8.1.60.0030.00617.48
8.1.50.0040.00417.38
8.1.40.0050.00317.43
8.1.30.0040.00417.44
8.1.20.0040.00417.53
8.1.10.0030.00617.34
8.1.00.0030.00517.33
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0030.00318.19
8.0.270.0030.00317.16
8.0.260.0030.00319.94
8.0.250.0000.00716.82
8.0.240.0000.00716.71
8.0.230.0070.00016.77
8.0.220.0050.00216.75
8.0.210.0000.00816.67
8.0.200.0030.00316.82
8.0.190.0040.00416.81
8.0.180.0040.00416.71
8.0.170.0080.00016.70
8.0.160.0080.00016.73
8.0.150.0000.00716.71
8.0.140.0050.00216.70
8.0.130.0070.00013.24
8.0.120.0000.00816.76
8.0.110.0030.00516.72
8.0.100.0050.00316.73
8.0.90.0040.00416.64
8.0.80.0060.00916.73
8.0.70.0050.00316.78
8.0.60.0000.00716.58
8.0.50.0050.00216.82
8.0.30.0120.00416.78
8.0.20.0090.01017.40
8.0.10.0040.00416.93
8.0.00.0030.01916.59
7.4.330.0020.00215.08
7.4.320.0000.00616.44
7.4.300.0000.00716.47
7.4.290.0030.00316.46
7.4.280.0040.00416.35
7.4.270.0030.00316.52
7.4.260.0030.00516.43
7.4.250.0000.00816.38
7.4.240.0000.00716.51
7.4.230.0030.00316.18
7.4.220.0040.01416.44
7.4.210.0150.00016.42
7.4.200.0070.00016.17
7.4.160.0090.00616.38
7.4.150.0110.00717.40
7.4.140.0090.00817.86
7.4.130.0130.00516.41
7.4.120.0120.00916.34
7.4.110.0110.00716.29
7.4.100.0100.00716.26
7.4.90.0060.01216.42
7.4.80.0090.00919.39
7.4.70.0040.01316.30
7.4.60.0110.00616.49
7.4.50.0060.00916.29
7.4.40.0150.00616.32
7.4.30.0060.01016.45
7.4.00.0090.00614.69
7.3.330.0020.00513.18
7.3.320.0000.00513.10
7.3.310.0040.00416.20
7.3.300.0070.00016.18
7.3.290.0080.00816.14
7.3.280.0090.01116.13
7.3.270.0140.00317.40
7.3.260.0100.01016.41
7.3.250.0110.00816.23
7.3.240.0100.00816.33
7.3.230.0150.00316.39
7.3.210.0130.01016.16
7.3.200.0070.01019.39
7.3.190.0070.01016.43
7.3.180.0090.01116.10
7.3.170.0170.00016.25
7.3.160.0060.01016.25
7.2.330.0110.00616.38
7.2.320.0130.00316.44
7.2.310.0070.01016.19
7.2.300.0130.00316.25
7.2.290.0190.00316.46
7.2.60.0040.01116.61
7.2.00.0000.01318.87
7.1.200.0000.01315.43
7.1.100.0070.00717.90
7.1.70.0100.00316.96
7.1.60.0100.01419.41
7.1.00.0000.08022.28
7.0.200.0060.00316.61
7.0.60.0030.09021.90
7.0.50.0210.05120.35
7.0.40.0230.05020.39
7.0.30.0170.06220.25
7.0.20.0200.05620.23
7.0.10.0140.05720.32
7.0.00.0290.05720.33
5.6.280.0000.07721.04
5.6.210.0070.05320.75
5.6.200.0240.05221.08
5.6.190.0200.06121.11
5.6.180.0230.06421.08
5.6.170.0180.06021.07
5.6.160.0220.05621.14
5.6.150.0110.06421.10
5.6.140.0110.06121.07
5.6.130.0200.05621.13
5.6.120.0110.06021.08
5.6.110.0120.06121.01
5.6.100.0190.05321.04
5.6.90.0190.05821.01
5.6.80.0270.04920.43
5.6.70.0170.05720.43
5.6.60.0130.05220.42
5.6.50.0210.04920.42
5.6.40.0160.05320.38
5.6.30.0200.05020.48
5.6.20.0190.05420.40
5.6.10.0170.05620.45
5.6.00.0140.05220.41
5.5.350.0370.05720.42
5.5.340.0190.05120.87
5.5.330.0170.05820.81
5.5.320.0130.06620.85
5.5.310.0110.06620.78
5.5.300.0220.05320.92
5.5.290.0140.05920.82
5.5.280.0220.05120.85
5.5.270.0220.05120.84
5.5.260.0130.07020.87
5.5.250.0190.05420.71
5.5.240.0240.05220.26
5.5.230.0170.05720.17
5.5.220.0160.05620.22
5.5.210.0170.05120.22
5.5.200.0130.05420.29
5.5.190.0190.04920.22
5.5.180.0220.05020.16
5.5.160.0190.04920.16
5.5.150.0200.05020.27
5.5.140.0160.05620.17
5.5.130.0280.04420.24
5.5.120.0220.04920.27
5.5.110.0140.05420.22
5.5.100.0130.05720.18
5.5.90.0100.05720.09
5.5.80.0280.04720.09
5.5.70.0310.05420.16
5.5.60.0230.04420.13
5.5.50.0140.05720.10
5.5.40.0170.06020.15
5.5.30.0210.05220.01
5.5.20.0180.05719.98
5.5.10.0210.05420.08
5.5.00.0240.05720.03

preferences:
19.36 ms | 401 KiB | 5 Q