3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IC {} class C implements IC { public function go() { return true; } } class CC implements IC { public function stop() { return false; } } $c = new CC; $c = null; if ( $c instanceof IC === false || $c->go() === false ) { echo 'Rurro'; }

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.0100.01016.75
8.3.50.0130.00621.97
8.3.40.0080.00818.47
8.3.30.0070.00718.61
8.3.20.0040.00420.16
8.3.10.0050.00323.71
8.3.00.0050.00319.38
8.2.180.0100.01021.93
8.2.170.0090.01222.96
8.2.160.0100.00320.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0100.00019.36
8.2.120.0000.00726.35
8.2.110.0090.00021.03
8.2.100.0060.00617.63
8.2.90.0000.00819.05
8.2.80.0030.00617.97
8.2.70.0000.00817.63
8.2.60.0050.00317.80
8.2.50.0050.00318.07
8.2.40.0040.00419.11
8.2.30.0070.00020.64
8.2.20.0000.00817.62
8.2.10.0040.00418.13
8.2.00.0030.00618.05
8.1.280.0170.00325.92
8.1.270.0000.00923.96
8.1.260.0070.00028.09
8.1.250.0080.00028.09
8.1.240.0060.00322.14
8.1.230.0040.00817.79
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0040.00417.36
8.1.190.0040.00417.70
8.1.180.0000.00718.10
8.1.170.0040.00418.49
8.1.160.0040.00421.98
8.1.150.0000.00818.89
8.1.140.0040.00419.46
8.1.130.0000.00717.68
8.1.120.0050.00317.48
8.1.110.0040.00417.46
8.1.100.0070.00017.46
8.1.90.0080.00017.45
8.1.80.0040.00417.52
8.1.70.0040.00417.42
8.1.60.0040.00417.61
8.1.50.0040.00417.45
8.1.40.0050.00217.52
8.1.30.0000.01017.64
8.1.20.0050.00317.64
8.1.10.0020.00517.55
8.1.00.0040.00417.48
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0070.00018.46
8.0.270.0030.00317.32
8.0.260.0000.00717.29
8.0.250.0030.00316.98
8.0.240.0000.00716.86
8.0.230.0020.00516.96
8.0.220.0050.00516.84
8.0.210.0070.00016.90
8.0.200.0030.00317.03
8.0.190.0050.00316.97
8.0.180.0000.00817.00
8.0.170.0030.00516.98
8.0.160.0000.00717.00
8.0.150.0070.00316.90
8.0.140.0000.00716.86
8.0.130.0000.00513.37
8.0.120.0040.00416.90
8.0.110.0040.00416.75
8.0.100.0000.00716.75
8.0.90.0040.00416.86
8.0.80.0150.00616.95
8.0.70.0040.00416.97
8.0.60.0000.00716.85
8.0.50.0000.00716.91
8.0.30.0110.01016.95
8.0.20.0130.00717.40
8.0.10.0050.00316.96
8.0.00.0070.01016.84
7.4.330.0000.00516.82
7.4.320.0030.00316.47
7.4.300.0040.00416.50
7.4.290.0050.00216.48
7.4.280.0090.00016.42
7.4.270.0030.00316.43
7.4.260.0080.00016.59
7.4.250.0040.00416.51
7.4.240.0030.00516.60
7.4.230.0070.00016.36
7.4.220.0060.01616.63
7.4.210.0000.01916.41
7.4.200.0030.00316.42
7.4.160.0090.00616.51
7.4.150.0130.00917.40
7.4.140.0110.00717.86
7.4.130.0140.00516.46
7.4.120.0100.00616.44
7.4.110.0140.00316.49
7.4.100.0040.01416.55
7.4.90.0090.01516.41
7.4.80.0070.01019.39
7.4.70.0140.00616.46
7.4.60.0130.00316.54
7.4.50.0100.00716.43
7.4.40.0140.00316.44
7.4.30.0030.01416.60
7.4.00.0140.00414.89
7.3.330.0050.00013.38
7.3.320.0060.00013.17
7.3.310.0030.00316.16
7.3.300.0050.00216.29
7.3.290.0090.00816.26
7.3.280.0080.00816.29
7.3.270.0120.00617.40
7.3.260.0070.01016.22
7.3.250.0140.00416.48
7.3.240.0110.00816.54
7.3.230.0140.00716.39
7.3.210.0070.01016.46
7.3.200.0130.00416.50
7.3.190.0080.01116.52
7.3.180.0070.01016.46
7.3.170.0130.00316.39
7.3.160.0120.00316.38
7.2.330.0300.02316.67
7.2.320.0100.01416.64
7.2.310.0160.00616.49
7.2.300.0060.01216.71
7.2.290.0070.01016.64
7.2.00.0100.00719.37
7.1.100.0030.00918.13
7.1.70.0070.00017.14
7.1.60.0130.01019.36
7.1.50.0070.01716.86
7.1.00.0030.07722.54
7.0.200.0040.00416.40
7.0.60.0070.08319.95
7.0.50.0070.07017.82
7.0.40.0100.05020.20
7.0.30.0170.04020.34
7.0.20.0230.08320.15
7.0.10.0030.06720.07
7.0.00.0100.08020.22
5.6.280.0070.05721.15
5.6.210.0070.08320.65
5.6.200.0070.05318.14
5.6.190.0030.06320.43
5.6.180.0170.04320.47
5.6.170.0330.07020.50
5.6.160.0070.05020.50
5.6.150.0100.08318.27
5.6.140.0200.07318.14
5.6.130.0030.04018.22
5.6.120.0030.07321.13
5.6.110.0170.07721.12
5.6.100.0130.06321.02
5.6.90.0100.07720.97
5.6.80.0130.07320.51
5.5.350.0170.08720.35
5.5.340.0030.08317.96
5.5.330.0030.05720.32
5.5.320.0030.05720.35
5.5.310.0330.03720.29
5.5.300.0100.08018.04
5.5.290.0130.07717.98
5.5.280.0070.04020.77
5.5.270.0070.07020.79
5.5.260.0030.05020.96
5.5.250.0000.05020.69
5.5.240.0400.06020.26

preferences:
32.44 ms | 401 KiB | 5 Q