3v4l.org

run code in 300+ PHP versions simultaneously
<?php use Foo as Bar; class Foo { function __construct() { echo 1; } } 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.0070.01116.63
8.3.50.0070.00716.42
8.3.40.0070.00718.84
8.3.30.0040.01118.60
8.3.20.0000.00719.07
8.3.10.0030.00621.73
8.3.00.0050.00319.41
8.2.180.0090.00916.38
8.2.170.0030.01022.96
8.2.160.0100.00320.39
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00420.56
8.2.120.0040.00426.35
8.2.110.0060.00320.55
8.2.100.0120.00017.54
8.2.90.0080.00019.05
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0040.00417.80
8.2.50.0060.00318.10
8.2.40.0000.00822.27
8.2.30.0080.00020.91
8.2.20.0080.00317.80
8.2.10.0000.00717.80
8.2.00.0050.00217.88
8.1.280.0030.01025.92
8.1.270.0070.00023.70
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00020.96
8.1.230.0080.00419.16
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0000.00716.98
8.1.180.0040.00418.10
8.1.170.0030.00718.43
8.1.160.0040.00419.00
8.1.150.0040.00420.55
8.1.140.0030.00719.44
8.1.130.0040.00418.75
8.1.120.0030.00417.24
8.1.110.0040.00417.21
8.1.100.0050.00217.22
8.1.90.0030.00717.37
8.1.80.0040.00417.32
8.1.70.0070.00017.32
8.1.60.0000.00817.56
8.1.50.0050.00217.44
8.1.40.0030.00617.38
8.1.30.0040.00417.59
8.1.20.0040.00417.57
8.1.10.0000.00817.41
8.1.00.0040.00417.48
8.0.300.0040.00418.77
8.0.290.0050.00216.63
8.0.280.0030.00318.37
8.0.270.0080.00017.25
8.0.260.0000.00616.81
8.0.250.0000.00716.82
8.0.240.0030.00316.77
8.0.230.0030.00316.80
8.0.220.0000.00716.80
8.0.210.0000.00716.76
8.0.200.0070.00016.80
8.0.190.0040.00416.80
8.0.180.0040.00416.76
8.0.170.0000.00716.80
8.0.160.0040.00416.65
8.0.150.0050.00316.71
8.0.140.0090.00016.60
8.0.130.0000.00513.14
8.0.120.0000.00716.73
8.0.110.0030.00316.69
8.0.100.0000.00716.70
8.0.90.0040.00416.80
8.0.80.0070.01616.80
8.0.70.0000.00816.65
8.0.60.0040.00416.65
8.0.50.0030.00516.79
8.0.30.0110.01017.16
8.0.20.0100.01717.40
8.0.10.0030.00316.93
8.0.00.0060.01016.95
7.4.330.0020.00215.55
7.4.320.0000.00616.37
7.4.300.0000.00716.55
7.4.290.0000.00716.43
7.4.280.0040.00416.37
7.4.270.0000.00716.54
7.4.260.0000.00513.22
7.4.250.0030.00316.42
7.4.240.0040.00416.54
7.4.230.0030.00316.54
7.4.220.0070.01116.59
7.4.210.0050.01116.44
7.4.200.0070.00016.31
7.4.160.0070.01316.36
7.4.150.0130.01017.40
7.4.140.0100.01117.86
7.4.130.0090.01416.34
7.4.120.0100.01016.33
7.4.110.0100.00816.26
7.4.100.0100.00716.52
7.4.90.0100.00716.38
7.4.80.0030.01419.39
7.4.70.0110.00616.59
7.4.60.0070.01016.57
7.4.50.0100.00616.30
7.4.40.0080.00816.40
7.4.30.0150.00016.46
7.4.00.0000.01014.99
7.3.330.0000.00813.19
7.3.320.0050.00013.05
7.3.310.0060.00316.10
7.3.300.0030.00316.24
7.3.290.0000.00716.09
7.3.280.0090.00716.23
7.3.270.0150.00317.40
7.3.260.0100.00716.40
7.3.250.0110.01116.23
7.3.240.0090.00716.36
7.3.230.0060.01116.22
7.3.210.0090.00916.27
7.3.200.0060.00916.20
7.3.190.0000.01916.42
7.3.180.0080.00916.34
7.3.170.0000.01516.15
7.3.160.0140.00716.48
7.3.120.0130.00014.75
7.3.110.0080.00414.61
7.3.100.0080.00314.97
7.3.90.0000.01414.79
7.3.80.0040.00814.71
7.3.70.0080.00414.77
7.3.60.0030.00914.54
7.3.50.0040.00714.43
7.3.40.0040.00414.71
7.3.30.0100.00714.84
7.3.20.0030.01016.33
7.3.10.0030.01016.56
7.3.00.0040.00816.73
7.2.330.0100.00716.64
7.2.320.0100.00716.67
7.2.310.0060.01216.22
7.2.300.0150.00616.22
7.2.290.0060.01616.70
7.2.240.0070.00715.00
7.2.230.0040.01115.01
7.2.220.0000.01414.89
7.2.210.0100.00315.11
7.2.200.0030.01015.04
7.2.190.0070.00714.70
7.2.180.0060.01014.75
7.2.170.0030.01014.98
7.2.160.0060.00914.95
7.2.150.0040.01216.61
7.2.140.0060.00916.86
7.2.130.0100.00316.58
7.2.120.0090.00616.70
7.2.110.0000.01316.59
7.2.100.0120.00616.71
7.2.90.0060.00916.81
7.2.80.0030.01016.80
7.2.70.0030.00916.72
7.2.60.0100.00616.74
7.2.50.0110.00416.83
7.2.40.0090.00616.95
7.2.30.0070.00716.93
7.2.20.0090.00616.86
7.2.10.0000.01416.96
7.2.00.0050.00817.81
7.1.330.0000.01415.34
7.1.320.0060.00815.70
7.1.310.0060.00915.74
7.1.300.0090.00615.64
7.1.290.0070.00715.33
7.1.280.0060.00615.63
7.1.270.0040.00815.64
7.1.260.0030.01015.87
7.1.250.0030.00615.68
7.1.100.0000.01117.80
7.1.70.0000.00716.97
7.1.60.1530.01333.00
7.1.50.1500.01032.54
7.1.40.1800.01332.43
7.1.30.2370.02332.56
7.1.20.1530.01332.60
7.1.10.1130.01014.46
7.1.00.1270.01014.62
7.0.200.2000.00714.52
7.0.190.2070.01314.65
7.0.180.1600.01014.43
7.0.170.2100.00714.29
7.0.160.1130.01014.55
7.0.150.1200.00714.56
7.0.140.1100.01314.24
7.0.130.1200.00314.73
7.0.120.1200.01314.74
7.0.110.1100.01314.46
7.0.100.1270.00714.32
7.0.90.1030.01014.34
7.0.80.1070.01314.48
7.0.70.1330.01314.28
7.0.60.0970.01314.33
7.0.50.1070.01014.45
7.0.40.0970.01314.29
7.0.30.1200.00714.68
7.0.20.0470.00714.54
7.0.10.0700.01014.37
7.0.00.0970.01314.36

preferences:
36.09 ms | 401 KiB | 5 Q