3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function foo() {} } $f = new Foo; var_dump(method_exists($f, NULL));

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.01018.55
8.3.50.0130.00921.07
8.3.40.0170.00018.50
8.3.30.0150.00018.75
8.3.20.0040.00420.12
8.3.10.0050.00323.62
8.3.00.0030.00619.43
8.2.180.0140.00416.88
8.2.170.0110.00322.96
8.2.160.0050.00820.39
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0030.00617.75
8.2.110.0060.00320.82
8.2.100.0090.00319.65
8.2.90.0030.00519.09
8.2.80.0080.00017.97
8.2.70.0000.00917.50
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0090.00019.34
8.2.30.0040.00420.61
8.2.20.0000.00717.59
8.2.10.0050.00217.86
8.2.00.0040.00417.97
8.1.280.0060.01325.92
8.1.270.0090.00923.83
8.1.260.0070.00026.35
8.1.250.0090.00028.09
8.1.240.0000.00920.84
8.1.230.0100.00317.64
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00717.35
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0000.00818.49
8.1.160.0080.00021.87
8.1.150.0000.00718.74
8.1.140.0060.00317.30
8.1.130.0070.00017.25
8.1.120.0040.00417.29
8.1.110.0000.00817.30
8.1.100.0020.00517.34
8.1.90.0040.00417.29
8.1.80.0040.00417.35
8.1.70.0070.00017.29
8.1.60.0000.00817.50
8.1.50.0000.00817.39
8.1.40.0030.00517.43
8.1.30.0080.00017.64
8.1.20.0040.00417.63
8.1.10.0040.00417.46
8.1.00.0070.00017.33
8.0.300.0030.00618.77
8.0.290.0070.00316.63
8.0.280.0040.00418.35
8.0.270.0000.00717.25
8.0.260.0030.00316.77
8.0.250.0070.00016.91
8.0.240.0000.00716.88
8.0.230.0000.00716.77
8.0.220.0070.00016.73
8.0.210.0070.00016.71
8.0.200.0040.00416.86
8.0.190.0090.00016.89
8.0.180.0030.00616.75
8.0.170.0070.00016.87
8.0.160.0040.00416.80
8.0.150.0030.00516.80
8.0.140.0030.00516.84
8.0.130.0060.00013.25
8.0.120.0040.00416.77
8.0.110.0070.00016.79
8.0.100.0030.00516.71
8.0.90.0040.00416.83
8.0.80.0040.01416.77
8.0.70.0040.00416.70
8.0.60.0000.00716.89
8.0.50.0000.00716.78
8.0.30.0120.00617.04
8.0.20.0100.00817.40
8.0.10.0030.00616.92
8.0.00.0110.01116.67
7.4.330.0030.00315.08
7.4.320.0030.00316.36
7.4.300.0000.00716.57
7.4.290.0030.00316.60
7.4.280.0070.00016.54
7.4.270.0000.00616.61
7.4.260.0000.00716.57
7.4.250.0000.00716.56
7.4.240.0020.00516.49
7.4.230.0030.00316.54
7.4.220.0100.00616.35
7.4.210.0040.01116.54
7.4.200.0070.00016.59
7.4.160.0100.00616.68
7.4.150.0110.00817.40
7.4.140.0100.00717.86
7.4.130.0090.01216.54
7.4.120.0140.00716.49
7.4.110.0030.01316.54
7.4.100.0180.00316.23
7.4.90.0120.00616.31
7.4.80.0070.01019.39
7.4.70.0060.00916.51
7.4.60.0180.00016.39
7.4.50.0040.00416.45
7.4.40.0000.01716.53
7.4.30.0150.00316.39
7.4.00.0140.00315.07
7.3.330.0000.00613.13
7.3.320.0000.00713.08
7.3.310.0000.00716.28
7.3.300.0030.00316.31
7.3.290.0090.00716.27
7.3.280.0090.00816.29
7.3.270.0040.01317.40
7.3.260.0160.00016.30
7.3.240.0120.00916.44
7.3.230.0170.00316.39
7.3.210.0160.00016.37
7.3.200.0140.00316.16
7.3.190.0170.00616.09
7.3.180.0110.00416.29
7.3.170.0030.01316.27
7.3.160.0070.01016.14
7.2.330.0100.00716.36
7.2.320.0200.00316.51
7.2.310.0130.00316.65
7.2.300.0130.00716.57
7.2.290.0040.01416.62
7.2.60.0050.00916.03
7.2.00.0060.00819.37
7.1.200.0080.00015.79
7.1.100.0030.01417.97
7.1.70.0030.01717.28
7.1.60.0090.00319.29
7.1.50.0220.01334.59
7.1.00.0030.07722.55
7.0.200.0000.00916.59
7.0.60.0030.08719.96
7.0.50.0030.04017.89
7.0.40.0070.07020.02
7.0.30.0230.07720.20
7.0.20.0200.08320.21
7.0.10.0030.05020.26
7.0.00.0070.03720.19
5.6.280.0030.03321.07
5.6.210.0000.04320.51
5.6.200.0130.07318.22
5.6.190.0130.07720.55
5.6.180.0200.05020.64
5.6.170.0330.07320.44
5.6.160.0100.08320.61
5.6.150.0100.06718.18
5.6.140.0070.07018.11
5.6.130.0030.08018.17
5.6.120.0100.04020.88
5.6.110.0100.08021.11
5.6.100.0100.05020.97
5.6.90.0170.07321.13
5.6.80.0100.05720.53
5.5.350.0070.08320.40
5.5.340.0070.06717.94
5.5.330.0100.04320.13
5.5.320.2630.03320.25
5.5.310.0300.06720.35
5.5.300.0030.04018.07
5.5.290.0030.04317.92
5.5.280.0030.07020.90
5.5.270.0030.04020.87
5.5.260.0030.05020.96
5.5.250.0070.08320.61
5.5.240.0000.07720.26
5.4.450.0670.05019.61
5.4.440.0030.07019.63
5.4.430.0470.05019.33
5.4.420.0570.08019.47
5.4.410.0530.06019.04
5.4.400.0600.04718.98
5.4.390.0230.05319.15
5.4.380.0230.05319.30
5.4.370.0400.06319.28
5.4.360.0330.05719.29
5.4.350.0200.07019.30
5.4.340.0200.07719.01
5.4.320.0330.06318.87
5.4.310.0330.07019.25
5.4.300.0500.07018.83
5.4.290.0400.06019.22
5.4.280.0300.06719.05
5.4.270.0400.06018.87
5.4.260.0230.05319.25
5.4.250.0330.04319.31
5.4.240.0270.05719.05
5.4.230.0230.05719.26
5.4.220.0230.05718.98
5.4.210.0330.05019.05
5.4.200.0230.05318.97
5.4.190.0230.05318.82
5.4.180.0270.05319.05
5.4.170.0270.05019.13
5.4.160.0230.06019.13
5.4.150.0270.05319.23
5.4.140.0200.05716.57
5.4.130.0330.06716.52
5.4.120.0130.06716.45
5.4.110.0230.06016.25
5.4.100.0370.05016.19
5.4.90.0370.03716.44
5.4.80.0270.05016.51
5.4.70.0230.06016.34
5.4.60.0230.06016.33
5.4.50.0070.07316.16
5.4.40.0370.04016.52
5.4.30.0000.04316.42
5.4.20.0270.04716.53
5.4.10.0300.07716.55

preferences:
61.46 ms | 401 KiB | 5 Q