3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Foo { public function __construct(){ var_dump('hello world'); } } class Bar extends Foo {} $bar = new Bar;

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.0120.00316.50
8.3.50.0140.00016.50
8.3.40.0130.00318.54
8.3.30.0110.00418.42
8.3.20.0070.00320.22
8.3.10.0080.00023.48
8.3.00.0050.00319.53
8.2.180.0100.00725.92
8.2.170.0070.00718.83
8.2.160.0100.00322.96
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0000.00719.30
8.2.120.0080.00026.35
8.2.110.0040.00721.06
8.2.100.0040.00819.34
8.2.90.0040.00419.17
8.2.80.0030.00520.36
8.2.70.0080.00017.79
8.2.60.0030.00617.92
8.2.50.0040.00418.10
8.2.40.0060.00320.66
8.2.30.0040.00420.82
8.2.20.0030.00617.97
8.2.10.0040.00417.86
8.2.00.0050.00217.86
8.1.270.0030.00623.84
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00322.14
8.1.230.0040.00720.92
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0000.00817.11
8.1.180.0050.00318.10
8.1.170.0040.00418.65
8.1.160.0040.00418.91
8.1.150.0060.00318.77
8.1.140.0050.00319.49
8.1.130.0040.00418.74
8.1.120.0000.00817.29
8.1.110.0000.00817.35
8.1.100.0000.00717.35
8.1.90.0020.00517.38
8.1.80.0000.00717.29
8.1.70.0000.00717.27
8.1.60.0060.00317.57
8.1.50.0040.00417.39
8.1.40.0040.00417.43
8.1.30.0060.00317.49
8.1.20.0040.00417.49
8.1.10.0040.00417.46
8.1.00.0040.00417.45
8.0.300.0030.00320.11
8.0.290.0050.00316.75
8.0.280.0040.00418.31
8.0.270.0050.00216.62
8.0.260.0050.00218.36
8.0.250.0030.00316.92
8.0.240.0070.00016.86
8.0.230.0040.00416.76
8.0.220.0000.00716.84
8.0.210.0030.00316.82
8.0.200.0000.00616.87
8.0.190.0090.00016.85
8.0.180.0050.00316.86
8.0.170.0000.00816.72
8.0.160.0040.00316.87
8.0.150.0030.00716.73
8.0.140.0000.00716.78
8.0.130.0000.00513.24
8.0.120.0000.00716.66
8.0.110.0070.00016.71
8.0.100.0000.00716.88
8.0.90.0040.00416.89
8.0.80.0000.02116.81
8.0.70.0000.00816.79
8.0.60.0070.00016.93
8.0.50.0050.00216.84
8.0.30.0090.01216.71
8.0.20.0100.01117.40
8.0.10.0040.00416.85
8.0.00.0100.00716.66
7.4.330.0030.00315.55
7.4.320.0030.00316.50
7.4.300.0040.00416.42
7.4.290.0000.00716.57
7.4.280.0060.00316.58
7.4.270.0000.00716.52
7.4.260.0000.00716.49
7.4.250.0030.00316.46
7.4.240.0000.00716.48
7.4.230.0030.00316.56
7.4.220.0140.00416.50
7.4.210.0060.00816.41
7.4.200.0030.00316.59
7.4.160.0090.00916.47
7.4.150.0110.00717.40
7.4.140.0130.01217.86
7.4.130.0160.00316.44
7.4.120.0100.00916.55
7.4.110.0030.01316.39
7.4.100.0000.02116.32
7.4.90.0140.01016.26
7.4.80.0070.01019.39
7.4.70.0070.01016.54
7.4.60.0090.00616.58
7.4.50.0070.01116.57
7.4.40.0140.00716.43
7.4.30.0100.00716.49
7.4.00.0070.00714.69
7.3.330.0000.00513.22
7.3.320.0060.00013.08
7.3.310.0030.00316.09
7.3.300.0070.00016.00
7.3.290.0080.00616.19
7.3.280.0080.00916.23
7.3.270.0120.00417.40
7.3.260.0090.01016.26
7.3.250.0080.01116.28
7.3.240.0100.00816.20
7.3.230.0090.00916.23
7.3.210.0040.01216.18
7.3.200.0090.00616.57
7.3.190.0100.00716.30
7.3.180.0080.00816.27
7.3.170.0070.01016.45
7.3.160.0080.00816.28
7.2.330.0070.01016.56
7.2.320.0130.00316.32
7.2.310.0090.00916.66
7.2.300.0030.01316.42
7.2.290.0060.01216.23
7.2.80.0040.00416.73
7.2.60.0070.00716.67
7.2.00.0000.01419.30
7.1.200.0140.00715.74
7.1.100.0080.00318.10
7.1.70.0100.01016.80
7.1.60.0330.01235.17
7.1.50.0330.00934.79
7.1.40.0320.01034.46
7.1.30.0220.01634.38
7.1.20.0310.00934.38
7.1.10.0070.01416.39
7.1.00.0140.00516.60
7.0.200.0100.00916.79
7.0.190.0030.01716.76
7.0.180.0180.00316.21
7.0.170.0100.01016.07
7.0.160.0100.00616.10
7.0.150.0120.00616.13
7.0.140.0100.00716.40
7.0.130.0120.00916.35
7.0.120.0090.01316.46
7.0.110.0090.01216.46
7.0.100.0130.00916.32
7.0.90.0080.01216.29
7.0.80.0140.00616.53
7.0.70.0030.01716.28
7.0.60.0030.01516.08
7.0.50.0100.01116.33
7.0.40.0060.01416.29
7.0.30.0110.01116.27
7.0.20.0100.01316.41
7.0.10.0110.01116.34
7.0.00.0130.00616.23

preferences:
50.18 ms | 400 KiB | 5 Q