3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{ function isFoo(){} } (function(){ /** @var Foo $this */ var_dump($this->isFoo()); }) ->bindTo(new Foo) ->bindTo(new stdclass) ();

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.130.0140.00617.50
8.4.120.0120.00820.34
8.4.110.0040.00522.53
8.4.100.0130.00717.86
8.4.90.0150.00618.53
8.4.80.0030.00618.20
8.4.70.0130.00818.19
8.4.60.0050.00320.51
8.4.50.0050.00417.65
8.4.40.0130.00320.46
8.4.30.0100.01017.63
8.4.20.0100.01017.79
8.4.10.0040.01217.93
8.3.260.0120.00616.59
8.3.250.0100.00918.75
8.3.240.0090.00916.85
8.3.230.0060.00316.50
8.3.220.0080.00716.91
8.3.210.0080.00016.71
8.3.200.0110.00916.59
8.3.190.0120.00717.04
8.3.180.0110.00816.82
8.3.170.0100.00717.00
8.3.160.0120.00618.55
8.3.150.0140.00420.81
8.3.140.0040.00418.49
8.3.130.0090.00616.85
8.3.120.0040.00418.73
8.3.110.0040.00420.94
8.3.100.0030.00616.82
8.3.90.0050.00216.62
8.3.80.0060.00318.55
8.3.70.0110.00416.62
8.3.60.0100.00716.63
8.3.50.0130.01021.27
8.3.40.0070.00718.76
8.3.30.0100.00718.83
8.3.20.0040.00418.73
8.3.10.0040.00419.79
8.3.00.0080.00020.89
8.2.290.0110.00620.36
8.2.280.0040.00618.62
8.2.270.0060.01016.98
8.2.260.0080.00018.52
8.2.250.0110.00716.49
8.2.240.0060.00918.94
8.2.230.0030.00622.58
8.2.220.0070.00324.06
8.2.210.0130.00626.77
8.2.200.0060.00318.41
8.2.190.0140.00416.75
8.2.180.0040.01116.50
8.2.170.0090.00622.96
8.2.160.0090.00622.09
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0080.00021.00
8.2.120.0000.00726.35
8.2.110.0100.00021.11
8.2.100.0110.00018.04
8.2.90.0000.00819.22
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0030.00517.93
8.2.50.0030.00618.10
8.2.40.0060.00320.64
8.2.30.0030.00620.61
8.2.20.0040.00417.73
8.2.10.0020.00518.16
8.2.00.0070.00018.11
8.1.330.0130.00623.55
8.1.320.0070.00816.36
8.1.310.0100.00716.48
8.1.300.0040.01120.28
8.1.290.0080.00018.88
8.1.280.0060.00825.92
8.1.270.0050.00323.85
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0000.01019.28
8.1.230.0040.00817.89
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.50
8.1.190.0080.00017.23
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0060.00318.98
8.1.150.0070.00018.70
8.1.140.0000.00719.57
8.1.130.0030.00317.68
8.1.120.0040.00417.32
8.1.110.0000.00717.36
8.1.100.0040.00417.35
8.1.90.0000.00717.41
8.1.80.0000.00817.39
8.1.70.0000.00717.43
8.1.60.0000.00817.50
8.1.50.0060.00317.45
8.1.40.0030.00617.42
8.1.30.0040.00417.64
8.1.20.0080.00017.50
8.1.10.0070.00017.26
8.1.00.0020.00517.34
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0080.00018.26
8.0.270.0030.00317.10
8.0.260.0060.00017.06
8.0.250.0030.00316.97
8.0.240.0000.00716.86
8.0.230.0070.00016.91
8.0.220.0030.00316.93
8.0.210.0030.00316.79
8.0.200.0060.00016.87
8.0.190.0000.00817.03
8.0.180.0000.00716.95
8.0.170.0000.00716.98
8.0.160.0000.00716.91
8.0.150.0090.00016.90
8.0.140.0000.00716.97
8.0.130.0000.00513.37
8.0.120.0060.00316.93
8.0.110.0030.00616.87
8.0.100.0000.00716.83
8.0.90.0070.00017.01
8.0.80.0060.01216.99
8.0.70.0060.00316.88
8.0.60.0000.00816.90
8.0.50.0050.00216.81
8.0.30.0100.00717.13
8.0.20.0120.00717.40
8.0.10.0000.00716.86
8.0.00.0080.01116.72
7.4.330.0050.00015.08
7.4.320.0060.00016.39
7.4.300.0060.00016.51
7.4.290.0000.00816.59
7.4.280.0080.00016.57
7.4.270.0070.00016.54
7.4.260.0030.00316.45
7.4.250.0030.00516.54
7.4.240.0030.00516.51
7.4.230.0000.00716.59
7.4.220.0030.01416.53
7.4.210.0110.00416.53
7.4.200.0050.00216.47
7.4.160.0150.00316.44
7.4.150.0090.00917.40
7.4.140.0070.01117.86
7.4.130.0100.01016.54
7.4.120.0070.01016.49
7.4.110.0090.00916.57
7.4.100.0120.01216.37
7.4.90.0100.01316.54
7.4.80.0030.01719.39
7.4.70.0090.00916.59
7.4.60.0120.00316.54
7.4.50.0000.01316.61
7.4.40.0040.01916.50
7.4.30.0040.01216.65
7.4.00.0030.01514.93
7.3.330.0030.00313.07
7.3.320.0060.00013.29
7.3.310.0030.00316.25
7.3.300.0070.00016.36
7.3.290.0070.00916.31
7.3.280.0080.00916.28
7.3.270.0030.01517.40
7.3.260.0110.00916.33
7.3.250.0140.00616.38
7.3.240.0060.01616.53
7.3.230.0120.00316.48
7.3.210.0130.00516.47
7.3.200.0110.00516.59
7.3.190.0100.00516.51
7.3.180.0130.00416.56
7.3.170.0160.00016.42
7.3.160.0190.00016.26
7.3.120.0040.01214.77
7.3.110.0110.00414.71
7.3.100.0040.00814.85
7.3.90.0000.01214.68
7.3.80.0060.00615.10
7.3.70.0100.00314.59
7.3.60.0070.00714.80
7.3.50.0090.00614.54
7.3.40.0070.00714.57
7.3.30.0060.00914.85
7.3.20.0000.01716.58
7.3.10.0070.00716.41
7.3.00.0000.01216.67
7.2.330.0100.01316.44
7.2.320.0070.01116.71
7.2.310.0030.01416.71
7.2.300.0110.01116.38
7.2.290.0100.00716.64
7.2.240.0080.00415.16
7.2.230.0040.01114.92
7.2.220.0090.00614.93
7.2.210.0070.01015.13
7.2.200.0040.00414.84
7.2.190.0000.01115.07
7.2.180.0090.00614.61
7.2.170.0100.00714.78
7.2.160.0000.01314.91
7.2.150.0060.00616.75
7.2.140.0110.00416.89
7.2.130.0030.01316.86
7.2.120.0060.00316.80
7.2.110.0000.01416.71
7.2.100.0060.00616.86
7.2.90.0120.00317.01
7.2.80.0070.00717.02
7.2.70.0050.00817.02
7.2.60.0050.00816.89
7.2.50.0080.00416.70
7.2.40.0070.00716.53
7.2.30.0060.00916.96
7.2.20.0030.01016.60
7.2.10.0090.00616.93
7.2.00.0130.00018.03
7.1.330.0030.01015.71
7.1.320.0070.01115.64
7.1.310.0090.00315.81
7.1.300.0000.00915.65
7.1.290.0070.00315.36
7.1.280.0060.00915.77
7.1.270.0120.00315.76
7.1.260.0040.00815.43
7.1.250.0070.00415.52
7.1.200.0170.00415.80
7.1.100.0040.00818.34
7.1.70.0080.00316.95
7.1.60.0180.00720.41
7.1.50.0060.00916.73
7.1.00.0000.08022.31
7.0.200.0340.01014.68
7.0.60.0170.07721.75
7.0.50.0030.04717.83
7.0.40.0230.06320.23
7.0.30.0130.07720.06
7.0.20.0270.06020.32
7.0.10.0370.06320.05
7.0.00.0130.07020.34
5.6.280.0000.09721.13
5.6.210.0000.04320.48
5.6.200.0070.08018.18
5.6.190.0430.06720.48
5.6.180.0430.07720.52
5.6.170.0200.05320.57
5.6.160.0230.06320.57
5.6.150.0230.07020.34
5.6.140.0330.05720.56
5.6.130.0200.06720.38
5.6.120.0170.06720.32
5.6.110.0230.08320.29
5.6.100.0230.07020.55
5.6.90.0300.05020.37
5.6.80.0200.05019.79
5.6.70.0770.05019.77
5.6.60.0630.05319.74
5.6.50.0600.06319.78
5.6.40.0770.05719.75
5.6.30.0670.06719.74
5.6.20.0670.06719.73
5.6.10.0630.06019.70
5.6.00.0770.04319.75
5.5.350.0130.05320.41
5.5.340.0100.06018.09
5.5.330.0170.08020.36
5.5.320.0300.05720.40
5.5.310.0170.08720.32
5.5.300.0570.05720.18
5.5.290.0270.06320.23
5.5.280.0300.06020.22
5.5.270.0230.06720.16
5.5.260.0170.06020.05
5.5.250.0230.04720.00
5.5.240.0300.04319.56
5.5.230.0500.06719.48
5.5.220.0570.06019.52
5.5.210.0730.05019.38
5.5.200.0570.05319.74
5.5.190.0800.06019.71
5.5.180.0600.06719.55
5.5.160.0770.06019.45
5.5.150.0170.08019.42
5.5.140.0200.05719.50
5.5.130.0300.06719.41
5.5.120.0270.05319.35
5.5.110.0230.07719.49
5.5.100.0270.05019.44
5.5.90.0170.05019.25
5.5.80.0270.05319.44
5.5.70.0230.05719.61
5.5.60.0070.08719.60
5.5.50.0200.05319.45
5.5.40.0300.04319.50
5.5.30.0800.05319.48
5.5.20.0770.05719.33
5.5.10.0330.04719.46
5.5.00.0400.04319.33

preferences:
34.5 ms | 403 KiB | 5 Q