3v4l.org

run code in 300+ PHP versions simultaneously
<?php class P { public function __construct(array $array) { print "P"; } } class C extends P { public function __construct(int $int) { print "C"; } } new C(1);

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.4.120.0120.00920.46
8.4.110.0110.00419.08
8.4.100.0100.00917.55
8.4.90.0120.00520.54
8.4.80.0100.01017.71
8.4.70.0040.00417.84
8.4.60.0130.00918.97
8.4.50.0130.00818.34
8.4.40.0140.00719.09
8.4.30.0030.01617.38
8.4.20.0130.00317.59
8.4.10.0030.00617.70
8.3.250.0110.00718.74
8.3.240.0130.00520.52
8.3.230.0070.00716.39
8.3.220.0080.00917.24
8.3.210.0070.00718.33
8.3.200.0040.00516.42
8.3.190.0130.00716.84
8.3.180.0040.00416.20
8.3.170.0160.00317.15
8.3.160.0070.00718.28
8.3.150.0110.00620.66
8.3.140.0090.00016.89
8.3.130.0030.00618.34
8.3.120.0090.00618.84
8.3.110.0050.00520.94
8.3.100.0040.00418.24
8.3.90.0080.00026.77
8.3.80.0000.00816.50
8.3.70.0000.01416.13
8.3.60.0140.00416.50
8.3.50.0140.00616.48
8.3.40.0140.00718.46
8.3.30.0060.00918.47
8.3.20.0030.00520.30
8.3.10.0000.00821.93
8.3.00.0040.00423.73
8.2.290.0060.00222.29
8.2.280.0130.00518.23
8.2.270.0120.00618.96
8.2.260.0050.00316.61
8.2.250.0120.00918.44
8.2.240.0060.00317.16
8.2.230.0120.00322.58
8.2.220.0000.00824.06
8.2.210.0090.00026.77
8.2.200.0090.00016.38
8.2.190.0130.00716.58
8.2.180.0120.00918.22
8.2.170.0170.00322.96
8.2.160.0070.01019.13
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00021.18
8.2.120.0070.00026.35
8.2.110.0040.00422.20
8.2.100.0060.00917.84
8.2.90.0040.00419.12
8.2.80.0060.00317.97
8.2.70.0080.00017.48
8.2.60.0030.00617.90
8.2.50.0000.00818.22
8.2.40.0040.00420.42
8.2.30.0000.00719.17
8.2.20.0000.00717.98
8.2.10.0000.00817.83
8.2.00.0030.00617.82
8.1.330.0090.00921.70
8.1.320.0100.00915.91
8.1.310.0150.00719.93
8.1.300.0030.00617.57
8.1.290.0100.00030.84
8.1.280.0090.01225.92
8.1.270.0070.00022.06
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00020.90
8.1.230.0110.00020.39
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.09
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0040.00418.66
8.1.160.0000.00818.79
8.1.150.0040.00420.06
8.1.140.0000.00719.31
8.1.130.0030.00318.63
8.1.120.0040.00417.33
8.1.110.0000.00717.24
8.1.100.0000.00717.31
8.1.90.0030.00517.24
8.1.80.0000.00717.21
8.1.70.0080.00017.34
8.1.60.0040.00417.49
8.1.50.0040.00417.45
8.1.40.0040.00417.41
8.1.30.0050.00317.58
8.1.20.0080.00017.52
8.1.10.0040.00417.53
8.1.00.0070.00417.46
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00418.41
8.0.270.0000.00816.71
8.0.260.0000.00718.85
8.0.250.0030.00316.84
8.0.240.0070.00316.78
8.0.230.0030.00316.72
8.0.220.0040.00416.65
8.0.210.0030.00316.81
8.0.200.0000.00716.70
8.0.190.0000.01016.76
8.0.180.0000.00716.84
8.0.170.0030.00316.76
8.0.160.0000.00916.74
8.0.150.0000.00716.64
8.0.140.0080.00016.71
8.0.130.0030.00313.20
8.0.120.0050.00216.74
8.0.110.0040.00416.76
8.0.100.0080.00016.62
8.0.90.0000.00716.64
8.0.80.0120.00316.71
8.0.70.0000.00716.61
8.0.60.0070.00016.76
8.0.50.0000.00716.82
8.0.30.0120.00416.95
8.0.20.0100.01017.40
8.0.10.0050.00216.92
8.0.00.0040.01916.62
7.4.330.0030.00315.55
7.4.320.0000.00616.48
7.4.300.0040.00416.32
7.4.290.0030.00316.32
7.4.280.0040.00416.42
7.4.270.0000.00716.41
7.4.260.0030.00316.50
7.4.250.0030.00316.48
7.4.240.0040.00416.57
7.4.230.0000.00716.26
7.4.220.0070.01016.51
7.4.210.0060.01016.39
7.4.200.0030.00316.59
7.4.160.0130.00416.38
7.4.150.0080.00817.40
7.4.140.0090.01417.86
7.4.130.0070.01016.46
7.4.120.0100.01016.39
7.4.110.0030.01716.40
7.4.100.0030.01516.22
7.4.90.0120.00616.39
7.4.80.0090.00919.39
7.4.70.0100.01016.51
7.4.60.0060.00916.39
7.4.50.0040.01416.18
7.4.40.0050.01116.38
7.4.30.0060.00916.34
7.4.00.0110.00714.95
7.3.330.0000.00513.09
7.3.320.0000.00513.16
7.3.310.0070.00016.28
7.3.300.0030.00316.06
7.3.290.0090.00616.24
7.3.280.0070.00916.22
7.3.270.0120.00417.40
7.3.260.0120.00716.36
7.3.250.0110.00816.27
7.3.240.0100.00616.35
7.3.230.0100.00616.18
7.3.210.0100.00716.45
7.3.200.0060.00916.41
7.3.190.0000.01516.29
7.3.180.0060.00916.39
7.3.170.0130.00616.17
7.3.160.0000.01916.21
7.2.330.0180.00416.21
7.2.320.0150.00316.52
7.2.310.0060.01216.56
7.2.300.0150.00416.71
7.2.290.0080.00816.48
7.2.60.0060.00616.89
7.1.200.0120.00015.75
7.1.90.0060.01118.07
7.1.80.0070.01018.20
7.1.70.0060.00616.74
7.1.60.0100.01634.88
7.1.50.0220.00634.82
7.1.40.0190.00634.31
7.1.30.0190.00634.39
7.1.20.0100.01734.45
7.1.10.0070.00716.45
7.1.00.0060.00616.38
7.0.230.0030.01217.86
7.0.220.0070.01017.50
7.0.210.0060.00616.54
7.0.200.0030.00916.75
7.0.190.0060.00616.78
7.0.180.0000.01316.05
7.0.170.0070.00716.13
7.0.160.0100.00316.16
7.0.150.0060.00616.34
7.0.140.0040.00816.27
7.0.130.0000.01216.50
7.0.120.0070.00716.37
7.0.110.0060.00616.22
7.0.100.0060.00616.19
7.0.90.0060.00616.17
7.0.80.0040.01116.18
7.0.70.0070.01016.09
7.0.60.0090.00915.93
7.0.50.0070.01016.19
7.0.40.0030.01016.36
7.0.30.0050.00816.40
7.0.20.0000.01216.33
7.0.10.0000.01216.14
7.0.00.0030.00916.21

preferences:
30.83 ms | 403 KiB | 5 Q