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.63
8.3.50.0150.00522.05
8.3.40.0120.00318.84
8.3.30.0070.01118.73
8.3.20.0040.00420.29
8.3.10.0040.00423.52
8.3.00.0080.00019.26
8.2.180.0090.00616.88
8.2.170.0060.01522.96
8.2.160.0140.00020.52
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00417.63
8.2.120.0030.00626.35
8.2.110.0070.00321.04
8.2.100.0090.00317.63
8.2.90.0040.00419.09
8.2.80.0060.00317.97
8.2.70.0080.00017.63
8.2.60.0000.00717.93
8.2.50.0080.00018.07
8.2.40.0050.00319.44
8.2.30.0000.00720.72
8.2.20.0040.00417.68
8.2.10.0060.00318.00
8.2.00.0100.00018.05
8.1.280.0060.00825.92
8.1.270.0000.01023.88
8.1.260.0050.00228.09
8.1.250.0050.00228.09
8.1.240.0040.00422.05
8.1.230.0040.00817.66
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0030.00617.35
8.1.190.0040.00417.72
8.1.180.0040.00418.10
8.1.170.0070.00018.65
8.1.160.0050.00321.94
8.1.150.0000.00818.90
8.1.140.0000.00819.58
8.1.130.0000.00717.75
8.1.120.0050.00217.46
8.1.110.0000.00717.39
8.1.100.0040.00417.38
8.1.90.0070.00017.50
8.1.80.0050.00217.43
8.1.70.0000.00717.46
8.1.60.0000.00717.52
8.1.50.0040.00417.48
8.1.40.0050.00317.51
8.1.30.0030.00617.64
8.1.20.0030.00617.52
8.1.10.0040.00417.60
8.1.00.0000.00817.50
8.0.300.0030.00518.77
8.0.290.0040.00416.88
8.0.280.0070.00018.50
8.0.270.0030.00317.27
8.0.260.0070.00017.29
8.0.250.0030.00317.07
8.0.240.0070.00016.92
8.0.230.0030.00316.94
8.0.220.0000.00916.85
8.0.210.0070.00016.96
8.0.200.0000.00616.92
8.0.190.0030.00316.96
8.0.180.0000.00916.90
8.0.170.0040.00417.00
8.0.160.0030.00317.02
8.0.150.0070.00416.93
8.0.140.0030.00316.87
8.0.130.0000.00613.46
8.0.120.0000.00816.95
8.0.110.0040.00417.01
8.0.100.0050.00316.95
8.0.90.0050.00216.86
8.0.80.0120.00316.96
8.0.70.0030.00516.95
8.0.60.0040.00417.00
8.0.50.0070.00016.99
8.0.30.0130.00417.19
8.0.20.0090.01117.42
8.0.10.0040.00417.04
8.0.00.0070.01016.86
7.4.330.0030.00316.67
7.4.320.0030.00316.66
7.4.300.0030.00316.56
7.4.290.0040.00416.51
7.4.280.0030.00616.42
7.4.270.0000.00716.52
7.4.260.0070.00016.49
7.4.250.0000.00816.48
7.4.240.0020.00616.54
7.4.230.0040.00416.42
7.4.220.0160.00316.55
7.4.210.0040.01116.57
7.4.200.0050.00316.49
7.4.160.0130.00316.54
7.4.150.0070.01117.40
7.4.140.0110.00717.86
7.4.130.0060.01116.54
7.4.120.0110.00516.48
7.4.110.0150.00416.53
7.4.100.0030.01416.63
7.4.90.0070.01316.45
7.4.80.0150.00619.39
7.4.70.0070.01016.66
7.4.60.0060.01016.60
7.4.50.0090.00316.35
7.4.40.0100.00616.46
7.4.30.0120.00616.68
7.4.00.0000.01315.08
7.3.330.0050.00013.37
7.3.320.0030.00313.16
7.3.310.0040.00416.23
7.3.300.0060.00016.41
7.3.290.0080.00616.34
7.3.280.0040.01316.34
7.3.270.0100.01317.40
7.3.260.0100.00716.64
7.3.250.0110.00816.49
7.3.240.0110.00516.56
7.3.230.0180.00016.39
7.3.210.0080.00816.31
7.3.200.0100.00716.44
7.3.190.0110.01016.42
7.3.180.0100.00716.59
7.3.170.0100.00716.54
7.3.160.0030.01316.62
7.2.330.0170.00416.73
7.2.320.0030.02116.68
7.2.310.0090.01416.47
7.2.300.0100.00616.72
7.2.290.0150.00616.39
7.2.60.0060.00716.91
7.2.00.0120.00619.53
7.1.200.0070.00615.63
7.1.100.0030.00917.98
7.1.70.0000.00816.85
7.1.60.0120.01219.36
7.1.50.0030.01916.88
7.1.00.0030.07722.54
7.0.200.0050.00216.70
7.0.60.0000.08720.07
7.0.50.0070.05717.88
7.0.40.0070.06720.09
7.0.30.0170.05720.25
7.0.20.0230.07720.16
7.0.10.0030.08320.30
7.0.00.0130.08320.22
5.6.280.0130.05320.82
5.6.210.0170.06720.77
5.6.200.0030.06318.15
5.6.190.0030.08720.61
5.6.180.0130.04720.50
5.6.170.0330.07020.54
5.6.160.0000.04720.39
5.6.150.0100.07718.25
5.6.140.0100.07318.28
5.6.130.0070.04018.23
5.6.120.0030.08721.04
5.6.110.0100.06321.03
5.6.100.0030.06721.02
5.6.90.0070.08720.88
5.6.80.0230.04720.37
5.5.350.0170.06320.39
5.5.340.0030.04717.98
5.5.330.0100.08020.40
5.5.320.0000.05720.27
5.5.310.0230.04320.25
5.5.300.0070.05317.95
5.5.290.0070.08017.96
5.5.280.0070.08720.80
5.5.270.0070.05320.84
5.5.260.0100.03720.79
5.5.250.0070.06720.78
5.5.240.0300.07320.27

preferences:
48.58 ms | 401 KiB | 5 Q