3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { function Foo() { echo __METHOD__; }} new Foo;

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.30.0040.00719.24
8.4.20.0110.01117.15
8.4.10.0000.00917.43
8.3.160.0140.00418.23
8.3.150.0150.00320.48
8.3.140.0110.00816.57
8.3.130.0080.00018.19
8.3.120.0150.00019.01
8.3.110.0100.00020.94
8.3.100.0090.00324.06
8.3.90.0180.00026.77
8.3.80.0100.00016.50
8.3.70.0150.00616.58
8.3.60.0110.00418.18
8.3.50.0100.00821.20
8.3.40.0100.00618.58
8.3.30.0140.00018.53
8.3.20.0040.01119.00
8.3.10.0070.00021.85
8.3.00.0040.00422.39
8.2.270.0150.00417.07
8.2.260.0110.00318.20
8.2.250.0060.00316.77
8.2.240.0100.00016.72
8.2.230.0040.00422.58
8.2.220.0030.00737.54
8.2.210.0110.00626.77
8.2.200.0060.00318.41
8.2.190.0160.00616.58
8.2.180.0040.01125.92
8.2.170.0070.01318.71
8.2.160.0100.00322.96
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0070.00020.47
8.2.120.0080.00026.35
8.2.110.0030.00721.11
8.2.100.0110.00017.78
8.2.90.0080.00019.07
8.2.80.0080.00017.97
8.2.70.0030.00517.50
8.2.60.0040.00417.68
8.2.50.0090.00018.10
8.2.40.0040.00420.65
8.2.30.0040.00419.13
8.2.20.0040.00417.83
8.2.10.0000.00717.93
8.2.00.0040.00418.05
8.1.310.0030.00518.41
8.1.300.0000.00916.24
8.1.290.0090.00330.84
8.1.280.0140.00725.92
8.1.270.0030.00522.06
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0000.00923.92
8.1.230.0060.00519.03
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0000.00917.23
8.1.190.0040.00417.18
8.1.180.0070.00018.10
8.1.170.0080.00018.59
8.1.160.0050.00218.69
8.1.150.0070.00020.06
8.1.140.0040.00419.50
8.1.130.0030.00318.75
8.1.120.0000.00717.17
8.1.110.0070.00017.30
8.1.100.0030.00517.25
8.1.90.0060.00317.36
8.1.80.0000.00717.28
8.1.70.0070.00017.21
8.1.60.0040.00417.33
8.1.50.0040.00417.39
8.1.40.0000.00817.29
8.1.30.0040.00417.46
8.1.20.0040.00417.61
8.1.10.0070.00017.52
8.1.00.0030.00517.34
8.0.300.0000.00720.14
8.0.290.0000.00716.63
8.0.280.0000.00718.44
8.0.270.0070.00017.05
8.0.260.0000.00719.04
8.0.250.0030.00516.89
8.0.240.0040.00416.95
8.0.230.0080.00016.68
8.0.220.0030.00316.77
8.0.210.0000.00716.73
8.0.200.0080.00016.82
8.0.190.0030.00916.68
8.0.180.0000.00716.77
8.0.170.0040.00416.81
8.0.160.0000.00816.64
8.0.150.0030.00616.70
8.0.140.0000.00716.73
8.0.130.0060.00313.14
8.0.120.0040.00416.61
8.0.110.0080.00016.57
8.0.100.0040.00416.75
8.0.90.0030.00516.63
8.0.80.0090.00616.82
8.0.70.0040.00416.70
8.0.60.0050.00516.82
8.0.50.0040.00416.62
8.0.30.0110.00816.84
8.0.20.0130.00517.40
8.0.10.0000.00716.90
8.0.00.0140.00916.65
7.4.330.0050.00315.55
7.4.320.0060.00016.36
7.4.300.0040.00416.48
7.4.290.0000.00716.42
7.4.280.0000.00716.51
7.4.270.0070.00016.42
7.4.260.0050.00316.54
7.4.250.0030.00316.46
7.4.240.0050.00216.45
7.4.230.0040.00416.31
7.4.220.0070.01116.42
7.4.210.0070.00716.39
7.4.200.0030.00316.36
7.4.160.0070.01216.56
7.4.150.0130.00717.40
7.4.140.0060.01217.86
7.4.130.0210.00016.38
7.4.120.0120.01016.49
7.4.110.0150.00316.54
7.4.100.0120.00616.45
7.4.90.0090.00916.30
7.4.80.0070.01419.39
7.4.70.0090.01516.50
7.4.60.0060.01016.37
7.4.50.0060.00616.34
7.4.40.0140.00316.29
7.4.30.0100.00716.40
7.4.00.0070.01015.19
7.3.330.0020.00213.29
7.3.320.0000.00513.15
7.3.310.0030.00316.39
7.3.300.0040.00416.20
7.3.290.0070.01016.28
7.3.280.0060.01116.27
7.3.270.0120.00617.40
7.3.260.0110.00816.29
7.3.240.0080.00916.27
7.3.230.0090.01416.15
7.3.210.0210.00016.45
7.3.200.0120.00616.58
7.3.190.0140.00316.38
7.3.180.0070.00816.30
7.3.170.0030.01316.23
7.3.160.0130.00316.32
7.3.120.0080.00914.74
7.3.110.0080.01114.64
7.3.100.0020.01414.58
7.3.90.0070.00814.62
7.3.80.0100.00514.83
7.3.70.0050.01114.62
7.3.60.0040.01014.75
7.3.50.0070.00714.54
7.3.40.0080.00614.79
7.3.30.0000.01114.60
7.3.20.0030.00916.61
7.3.10.0040.00816.51
7.3.00.0050.00616.66
7.2.330.0100.00716.48
7.2.320.0060.01016.56
7.2.310.0060.01416.36
7.2.300.0090.00616.23
7.2.290.0030.01716.48
7.2.250.0080.00914.89
7.2.240.0070.01114.96
7.2.230.0050.01014.71
7.2.220.0060.00714.75
7.2.210.0080.00914.97
7.2.200.0050.01014.95
7.2.190.0030.01014.78
7.2.180.0030.01114.75
7.2.170.0090.00714.93
7.2.60.0090.00316.87
7.2.00.0040.00419.36
7.1.330.0070.00715.51
7.1.320.0120.00215.68
7.1.310.0070.00915.69
7.1.300.0020.00915.73
7.1.290.0070.00615.47
7.1.280.0060.00415.72
7.1.270.0070.00515.70
7.1.260.0080.00315.61
7.1.200.0060.00915.62
7.1.70.0000.00716.81
7.1.60.0060.00616.91
7.1.50.1770.00732.78
7.1.40.1400.01032.45
7.1.30.4000.01032.38
7.1.20.2370.00732.46
7.1.10.1570.00314.65
7.1.00.1630.00314.33
7.0.200.0030.01416.74
7.0.190.2330.01314.36
7.0.180.1700.01314.12
7.0.170.2500.01014.18
7.0.160.1570.01014.14
7.0.150.1300.01314.38
7.0.140.1730.00314.43
7.0.130.1270.00714.30
7.0.120.1300.01014.47
7.0.110.1200.00314.29
7.0.100.1070.01314.41
7.0.90.1200.00314.20
7.0.80.1030.00714.38
7.0.70.1370.01314.20
7.0.60.1470.01314.17
7.0.50.2000.00714.45
7.0.40.1500.01314.53
7.0.30.1500.00714.40
7.0.20.1030.00714.34
7.0.10.1070.01014.40
7.0.00.1270.01014.39

preferences:
27.84 ms | 403 KiB | 5 Q