3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public static function method() { echo 'called'; } } $c = [Test::class, 'method']; if (is_callable($c)) { $c(); }

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.70.0130.00716.50
8.3.60.0070.00718.43
8.3.50.0120.01122.04
8.3.40.0110.00418.47
8.3.30.0030.01018.73
8.3.20.0030.01020.35
8.3.10.0050.00318.73
8.3.00.0060.00318.45
8.2.190.0040.01116.75
8.2.180.0070.01116.35
8.2.170.0030.01022.96
8.2.160.0080.00520.36
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0050.00319.11
8.2.120.0040.00426.35
8.2.110.0090.00019.34
8.2.100.0060.00617.63
8.2.90.0090.00019.22
8.2.80.0080.00017.97
8.2.70.0050.00317.38
8.2.60.0080.00017.78
8.2.50.0040.00418.09
8.2.40.0120.00020.32
8.2.30.0080.00419.32
8.2.20.0060.00317.72
8.2.10.0050.00318.08
8.2.00.0030.00317.90
8.1.280.0120.00325.92
8.1.270.0050.00323.96
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0090.00023.85
8.1.230.0060.00619.54
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0070.00317.12
8.1.190.0080.00017.11
8.1.180.0040.00418.10
8.1.170.0080.00018.65
8.1.160.0070.00020.98
8.1.150.0000.00718.65
8.1.140.0020.00519.42
8.1.130.0000.00817.63
8.1.120.0080.00017.42
8.1.110.0070.00017.38
8.1.100.0040.00417.37
8.1.90.0040.00417.40
8.1.80.0050.00217.30
8.1.70.0030.00317.39
8.1.60.0040.00417.47
8.1.50.0000.00817.47
8.1.40.0000.00817.54
8.1.30.0040.00417.66
8.1.20.0080.00017.68
8.1.10.0000.00817.42
8.1.00.0080.00017.44
8.0.300.0030.00518.77
8.0.290.0000.00816.63
8.0.280.0050.00218.43
8.0.270.0000.00717.25
8.0.260.0030.00317.18
8.0.250.0000.00616.77
8.0.240.0080.00016.90
8.0.230.0030.00316.89
8.0.220.0000.00716.83
8.0.210.0030.00316.75
8.0.200.0070.00016.92
8.0.190.0000.00716.84
8.0.180.0000.00716.89
8.0.170.0080.00016.89
8.0.160.0100.00016.86
8.0.150.0050.00216.72
8.0.140.0000.00716.77
8.0.130.0030.00513.24
8.0.120.0020.00516.77
8.0.110.0060.00316.80
8.0.100.0030.00316.69
8.0.90.0040.00416.78
8.0.80.0040.01216.84
8.0.70.0050.00216.80
8.0.60.0000.00816.69
8.0.50.0040.00416.78
8.0.30.0130.00516.94
8.0.20.0120.00717.40
8.0.10.0030.00316.83
8.0.00.0090.01016.88
7.4.330.0000.00616.77
7.4.320.0060.00016.43
7.4.300.0060.00016.40
7.4.290.0000.00716.56
7.4.280.0060.00316.59
7.4.270.0000.00716.42
7.4.260.0070.00016.46
7.4.250.0040.00416.45
7.4.240.0000.00716.55
7.4.230.0000.00816.42
7.4.220.0110.00716.56
7.4.210.0090.00616.39
7.4.200.0080.00016.39
7.4.160.0100.00616.50
7.4.150.0130.00317.40
7.4.140.0080.01017.86
7.4.130.0100.00716.38
7.4.120.0100.00716.37
7.4.110.0100.00716.41
7.4.100.0090.00916.59
7.4.90.0140.00716.58
7.4.80.0150.00319.39
7.4.70.0180.00016.55
7.4.60.0060.01016.46
7.4.50.0070.01016.23
7.4.40.0100.00616.66
7.4.30.0040.01216.39
7.4.00.0090.00914.70
7.3.330.0000.00513.22
7.3.320.0030.00313.19
7.3.310.0000.00716.30
7.3.300.0040.00416.29
7.3.290.0000.00716.26
7.3.280.0110.00716.24
7.3.270.0160.00717.40
7.3.260.0070.01116.41
7.3.250.0130.00616.29
7.3.240.0110.00716.51
7.3.230.0170.00716.51
7.3.210.0130.00316.25
7.3.200.0030.01316.27
7.3.190.0070.01016.40
7.3.180.0130.00316.28
7.3.170.0120.00916.32
7.3.160.0100.01016.52
7.3.10.0000.00916.36
7.3.00.0030.01416.43
7.2.330.0090.00916.79
7.2.320.0060.01316.64
7.2.310.0120.00916.65
7.2.300.0120.00616.67
7.2.290.0030.01316.55
7.2.130.0000.01316.55
7.2.120.0110.00416.80
7.2.110.0030.01216.65
7.2.100.0070.00416.84
7.2.90.0120.00616.60
7.2.80.0000.01316.60
7.2.70.0030.00816.78
7.2.60.0020.01116.63
7.2.50.0090.00616.68
7.2.40.0040.00716.91
7.2.30.0090.00616.86
7.2.20.0070.00716.89
7.2.10.0070.00716.83
7.2.00.0040.00417.84
7.1.250.0030.00615.70
7.1.200.0000.01315.45
7.1.100.0120.01017.87
7.1.70.0050.00517.13
7.1.60.0090.00517.18
7.1.50.0000.01616.71
7.1.40.0040.00816.41
7.1.30.0110.00416.41
7.1.20.0030.01416.75
7.1.10.0060.00816.36
7.1.00.0040.00416.50
7.0.200.0000.01116.63
7.0.190.0090.00216.75
7.0.180.0000.01316.16
7.0.170.0070.00416.48
7.0.160.0000.01116.34
7.0.150.0050.00516.20
7.0.140.0000.00816.41
7.0.130.0040.00416.29
7.0.120.0000.01016.37
7.0.110.0050.00516.37
7.0.100.0050.00516.24
7.0.90.0000.00916.40
7.0.80.0040.00416.30
7.0.70.0030.00816.35
7.0.60.0060.00616.14
7.0.50.0060.00616.39
7.0.40.0090.00215.18
7.0.30.0080.00415.18
7.0.20.0080.00515.18
7.0.10.0090.00315.18
7.0.00.0000.01015.18
5.6.300.0070.08020.82
5.6.290.0100.03721.00
5.6.280.0170.03820.87
5.6.270.0040.05020.76
5.6.260.0000.05020.96
5.6.250.0000.05120.87
5.6.240.0030.05121.05
5.6.230.0070.03920.96
5.6.220.0090.04320.76
5.6.210.0000.04720.96
5.6.200.0070.04120.96
5.6.190.0040.04621.01
5.6.180.0130.03321.04
5.6.170.0060.04120.84
5.6.160.0120.03421.01
5.6.150.0100.04920.75
5.6.140.0030.04721.00
5.6.130.0060.04220.93
5.6.120.0070.04420.82
5.6.110.0030.04920.80
5.6.100.0060.04820.95
5.6.90.0160.02920.91
5.6.80.0060.03820.21
5.6.70.0070.03620.34
5.6.60.0000.04820.20
5.6.50.0030.04420.09
5.6.40.0030.04020.19
5.6.30.0030.04320.30
5.6.20.0030.04320.38
5.6.10.0030.04020.21
5.6.00.0030.04120.28
5.5.380.0000.04717.53
5.5.370.0040.04617.54
5.5.360.0000.04617.56
5.5.350.0030.04017.52
5.5.340.0030.04418.20
5.5.330.0030.04017.75
5.5.320.0070.04018.09
5.5.310.0070.04618.13
5.5.300.0090.04018.09
5.5.290.0070.04718.13
5.5.280.0030.04618.08
5.5.270.0100.03517.73
5.5.260.0000.04617.70
5.5.250.0040.04217.90
5.5.240.0000.03917.56
5.5.230.0030.04117.24
5.5.220.0070.03617.46
5.5.210.0030.04117.56
5.5.200.0030.03917.06
5.5.190.0030.04317.21
5.5.180.0000.04517.38
5.5.160.0160.03517.05
5.5.150.0000.04717.41
5.5.140.0000.04417.09
5.5.130.0040.03917.44
5.5.120.0100.03317.37
5.5.110.0070.03617.05
5.5.100.0070.03617.32
5.5.90.0000.04017.43
5.5.80.0070.04016.95
5.5.70.0030.04117.34
5.5.60.0030.03817.28
5.5.50.0060.03617.27
5.5.40.0030.03717.34
5.5.30.0000.04217.33
5.5.20.0030.03617.29
5.5.10.0000.04217.37
5.5.00.0100.03317.27

preferences:
40.99 ms | 401 KiB | 5 Q