3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __construct() { return "I'm ignored"; } } (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.5.30.0100.00717.57
8.5.20.0090.00916.77
8.5.10.0040.00416.44
8.5.00.0120.00919.65
8.4.180.0120.01019.73
8.4.170.0140.00823.79
8.4.160.0100.01023.95
8.4.150.0080.00416.87
8.4.140.0120.00917.56
8.4.130.0100.01019.15
8.4.120.0110.00920.68
8.4.110.0040.00520.52
8.4.100.0070.00218.82
8.4.90.0060.00220.54
8.4.80.0040.00518.82
8.4.70.0090.00718.78
8.4.60.0140.00618.54
8.4.50.0100.01020.16
8.4.40.0090.00017.50
8.4.30.0030.00620.37
8.4.20.0000.00918.73
8.4.10.0030.00622.57
8.3.300.0120.01018.25
8.3.290.0110.00820.75
8.3.280.0140.01018.38
8.3.270.0090.01116.42
8.3.260.0120.00616.54
8.3.250.0090.00917.13
8.3.240.0130.00516.70
8.3.230.0150.00416.75
8.3.220.0030.00518.75
8.3.210.0100.00916.46
8.3.200.0040.00516.64
8.3.190.0080.00716.91
8.3.180.0120.00616.58
8.3.170.0090.00916.87
8.3.160.0030.01516.36
8.3.150.0040.00718.86
8.3.140.0040.00417.21
8.3.130.0120.00618.43
8.3.120.0030.00620.82
8.3.110.0060.00320.94
8.3.100.0030.00724.06
8.3.90.0040.00426.77
8.3.80.0000.00919.36
8.3.70.0150.00616.58
8.3.60.0110.00418.30
8.3.50.0120.00524.51
8.3.40.0070.01418.84
8.3.30.0150.00618.52
8.3.20.0060.00324.18
8.3.10.0060.00324.66
8.3.00.0030.00526.16
8.2.300.0090.01220.30
8.2.290.0060.00320.25
8.2.280.0080.01018.31
8.2.270.0060.00317.27
8.2.260.0000.00816.61
8.2.250.0040.00416.65
8.2.240.0060.00316.82
8.2.230.0030.00622.58
8.2.220.0050.00337.54
8.2.210.0040.00426.77
8.2.200.0040.00418.88
8.2.190.0100.01016.58
8.2.180.0140.00725.92
8.2.170.0090.00618.89
8.2.160.0140.00622.96
8.2.150.0100.00725.66
8.2.140.0070.01124.66
8.2.130.0030.00526.16
8.2.120.0060.00326.35
8.2.110.0090.00022.14
8.2.100.0040.00817.66
8.2.90.0040.00418.09
8.2.80.0090.00017.97
8.2.70.0040.00417.38
8.2.60.0080.00017.25
8.2.50.0000.00818.05
8.2.40.0000.00819.59
8.2.30.0000.00717.84
8.2.20.0040.00417.94
8.2.10.0040.00419.01
8.2.00.0040.00419.07
8.1.340.0070.01217.35
8.1.330.0120.00622.02
8.1.320.0110.00917.62
8.1.310.0120.00316.67
8.1.300.0080.00020.16
8.1.290.0030.00630.84
8.1.280.0040.01125.92
8.1.270.0040.00424.01
8.1.260.0120.00628.09
8.1.250.0080.00028.09
8.1.240.0060.00323.83
8.1.230.0070.00421.04
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0000.00817.39
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0020.00518.96
8.1.160.0040.00418.74
8.1.150.0030.00618.76
8.1.140.0080.00018.75
8.1.130.0030.00320.02
8.1.120.0000.00817.16
8.1.110.0000.00817.29
8.1.100.0000.00817.19
8.1.90.0030.00517.32
8.1.80.0040.00717.34
8.1.70.0040.00417.20
8.1.60.0040.00417.41
8.1.50.0040.00417.46
8.1.40.0030.00617.33
8.1.30.0000.00817.52
8.1.20.0000.00817.43
8.1.10.0030.01017.52
8.1.00.0000.00817.35
8.0.300.0070.00020.11
8.0.290.0060.00316.61
8.0.280.0100.00018.29
8.0.270.0000.00717.85
8.0.260.0000.00718.40
8.0.250.0000.00716.79
8.0.240.0000.00716.88
8.0.230.0020.00516.71
8.0.220.0030.00316.73
8.0.210.0030.00316.82
8.0.200.0000.00816.82
8.0.190.0050.00316.71
8.0.180.0040.00416.84
8.0.170.0060.00316.74
8.0.160.0000.00716.84
8.0.150.0050.00216.74
8.0.140.0050.00316.64
8.0.130.0030.00313.18
8.0.120.0000.00716.73
8.0.110.0040.00416.66
8.0.100.0040.00416.73
8.0.90.0000.00816.88
8.0.80.0070.00716.73
8.0.70.0040.00416.79
8.0.60.0040.00416.65
8.0.50.0040.00416.66
8.0.30.0130.00316.77
8.0.20.0090.01216.88
8.0.10.0000.00816.90
8.0.00.0130.00716.75
7.4.330.0050.00015.55
7.4.320.0000.00716.37
7.4.300.0060.00016.55
7.4.290.0050.00216.43
7.4.280.0060.00316.35
7.4.270.0040.00416.38
7.4.260.0000.00513.26
7.4.250.0070.00016.35
7.4.240.0070.00016.44
7.4.230.0030.00316.51
7.4.220.0050.00216.43
7.4.210.0100.00816.51
7.4.200.0050.00216.46
7.4.130.0120.00816.58
7.4.120.0150.00316.39
7.4.110.0060.01216.50
7.4.100.0140.00516.32
7.4.90.0070.01016.24
7.4.80.0100.00716.46
7.4.70.0150.01316.14
7.4.60.0110.01116.29
7.4.50.0170.00716.39
7.4.40.0120.00616.20
7.4.30.0070.01416.18
7.4.20.0140.00616.40
7.4.10.0140.00616.14
7.4.00.0140.01116.37
7.3.330.0000.00915.99
7.3.320.0050.00013.23
7.3.310.0070.00016.12
7.3.300.0070.00016.24
7.3.290.0120.00416.22
7.3.260.0070.01116.28
7.3.230.0100.00716.32
7.3.210.0160.00916.17
7.3.200.0060.01216.13
7.3.190.0130.01016.32
7.3.180.0140.01016.16
7.3.170.0110.00816.48
7.3.160.0110.01416.21
7.3.150.0090.01216.50
7.3.140.0130.00616.24
7.3.130.0200.00316.03
7.3.120.0100.01016.13
7.3.110.0100.01816.43
7.3.100.0060.01616.22
7.3.90.0150.00616.47
7.3.80.0110.01116.31
7.3.70.0190.00316.39
7.3.60.0190.00716.24
7.3.50.0120.00816.38
7.3.40.0050.01316.30
7.3.30.0150.00616.18
7.3.20.0170.00816.42
7.3.10.0100.01316.40
7.3.00.0150.00616.05
7.2.330.0140.00716.46
7.2.320.0080.01216.66
7.2.310.0120.01216.55
7.2.300.0140.01116.31
7.2.290.0160.00616.48
7.2.280.0120.00616.55
7.2.270.0090.01316.60
7.2.260.0090.01416.00
7.2.250.0110.00816.50
7.2.240.0130.00916.23
7.2.230.0110.01116.51
7.2.220.0140.00716.43
7.2.210.0230.00016.41
7.2.200.0030.02016.46
7.2.190.0080.01716.51
7.2.180.0170.00716.27
7.2.170.0110.00816.35
7.2.160.0100.01016.25
7.2.150.0200.00316.47
7.2.140.0150.00716.37
7.2.130.0060.01216.35
7.2.120.0100.01016.41
7.2.110.0060.01316.58
7.2.100.0120.00616.57
7.2.90.0110.00816.41
7.2.80.0070.01316.41
7.2.70.0160.00416.55
7.2.60.0180.00416.38
7.2.50.0090.01216.36
7.2.40.0060.01316.60
7.2.30.0100.01316.53
7.2.20.0160.00616.46
7.2.10.0160.00616.44
7.2.00.0120.00916.51

preferences:
106.25 ms | 1460 KiB | 5 Q