3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { static function method() { echo "hi\n"; } } function callMe(callable $hi) { $hi(); } callMe('MyClass::method');

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.20.0100.01017.45
8.4.10.0030.00617.29
8.3.150.0180.00017.35
8.3.140.0090.00916.58
8.3.130.0060.00316.73
8.3.120.0090.00018.90
8.3.110.0040.00416.62
8.3.100.0030.00716.65
8.3.90.0080.00026.77
8.3.80.0060.00316.50
8.3.70.0070.00716.58
8.3.60.0070.00716.50
8.3.50.0130.00521.93
8.3.40.0080.01118.84
8.3.30.0070.01018.98
8.3.20.0150.00020.05
8.3.10.0040.00421.53
8.3.00.0080.00017.63
8.2.260.0120.00319.04
8.2.250.0050.00318.24
8.2.240.0000.00816.96
8.2.230.0030.00620.94
8.2.220.0040.01237.54
8.2.210.0040.00426.77
8.2.200.0090.00018.29
8.2.190.0060.00916.58
8.2.180.0070.01125.92
8.2.170.0120.00922.96
8.2.160.0070.00720.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.64
8.2.110.0060.00320.84
8.2.100.0070.00717.72
8.2.90.0000.00719.17
8.2.80.0030.00817.97
8.2.70.0040.00417.50
8.2.60.0000.00818.04
8.2.50.0070.00418.07
8.2.40.0030.00519.89
8.2.30.0050.00318.05
8.2.20.0030.00617.49
8.2.10.0000.00717.91
8.2.00.0040.00417.61
8.1.310.0090.00916.78
8.1.300.0050.00319.87
8.1.290.0050.00530.84
8.1.280.0100.00625.92
8.1.270.0030.00620.36
8.1.260.0040.00426.35
8.1.250.0060.00928.09
8.1.240.0080.00321.85
8.1.230.0090.00322.75
8.1.220.0070.00017.74
8.1.210.0040.00418.77
8.1.200.0000.01217.23
8.1.190.0030.00517.22
8.1.180.0030.00518.10
8.1.170.0060.00318.54
8.1.160.0040.00421.93
8.1.150.0000.00718.75
8.1.140.0040.00419.50
8.1.130.0040.00417.76
8.1.120.0000.00717.33
8.1.110.0030.00317.30
8.1.100.0040.00417.31
8.1.90.0000.00717.28
8.1.80.0090.00017.31
8.1.70.0030.00317.27
8.1.60.0040.00417.39
8.1.50.0060.00617.35
8.1.40.0040.00417.51
8.1.30.0080.00017.56
8.1.20.0020.00517.47
8.1.10.0050.00517.38
8.1.00.0080.00017.40
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00718.44
8.0.270.0040.00416.93
8.0.260.0040.00417.27
8.0.250.0030.00316.94
8.0.240.0000.00616.84
8.0.230.0070.00316.83
8.0.220.0040.00416.83
8.0.210.0050.00216.87
8.0.200.0030.00316.98
8.0.190.0050.00316.84
8.0.180.0040.00416.80
8.0.170.0040.00416.82
8.0.160.0040.00416.78
8.0.150.0000.00816.73
8.0.140.0040.00416.81
8.0.130.0030.00313.24
8.0.120.0080.00016.82
8.0.110.0030.00316.84
8.0.100.0000.00716.87
8.0.90.0080.00016.77
8.0.80.0080.00816.76
8.0.70.0050.00216.82
8.0.60.0040.00416.77
8.0.50.0040.00416.83
8.0.30.0180.00016.92
8.0.20.0160.00817.40
8.0.10.0030.00516.89
8.0.00.0080.00916.67
7.4.330.0030.00315.03
7.4.320.0060.00016.43
7.4.300.0030.00316.40
7.4.290.0040.00716.54
7.4.280.0040.00416.51
7.4.270.0070.00016.43
7.4.260.0000.00716.56
7.4.250.0040.00416.39
7.4.240.0080.00016.48
7.4.230.0000.00816.71
7.4.220.0120.00616.38
7.4.210.0110.00516.58
7.4.200.0000.00716.41
7.4.160.0120.00316.33
7.4.150.0070.01017.40
7.4.140.0090.01117.86
7.4.130.0080.01116.43
7.4.120.0120.00616.44
7.4.110.0060.01616.33
7.4.100.0130.01016.31
7.4.90.0090.00916.31
7.4.80.0080.00819.39
7.4.70.0130.00416.43
7.4.60.0140.00316.46
7.4.50.0000.00416.21
7.4.40.0120.00616.46
7.4.30.0130.00316.43
7.4.00.0130.00614.93
7.3.330.0020.00213.21
7.3.320.0120.00313.37
7.3.310.0030.00316.11
7.3.300.0030.00316.30
7.3.290.0070.00016.18
7.3.280.0060.00916.29
7.3.270.0100.00917.40
7.3.260.0060.01216.46
7.3.250.0090.00816.31
7.3.240.0060.01616.60
7.3.230.0070.01116.39
7.3.210.0090.00616.43
7.3.200.0090.01219.39
7.3.190.0080.01316.55
7.3.180.0090.00616.27
7.3.170.0070.01416.54
7.3.160.0120.00916.33
7.3.120.0090.00915.04
7.3.110.0070.00714.95
7.3.100.0090.00914.45
7.3.90.0060.00314.67
7.3.80.0060.00314.82
7.3.70.0090.00014.50
7.3.60.0110.00614.92
7.3.50.0070.01114.70
7.3.40.0060.00314.80
7.3.30.0030.01314.49
7.3.20.0030.01416.68
7.3.10.0080.00416.64
7.3.00.0070.00816.61
7.2.330.0070.01016.51
7.2.320.0030.01316.54
7.2.310.0100.00716.31
7.2.300.0080.00816.55
7.2.290.0160.00716.28
7.2.250.0030.01714.82
7.2.240.0070.01315.19
7.2.230.0040.01215.16
7.2.220.0060.00315.14
7.2.210.0100.00714.79
7.2.200.0030.00614.68
7.2.190.0100.00714.93
7.2.180.0110.00614.91
7.2.170.0060.00914.96
7.2.130.0030.01216.60
7.2.120.0030.00916.62
7.2.110.0020.01216.34
7.2.100.0030.01216.41
7.2.90.0070.00316.87
7.2.80.0940.01016.06
7.2.70.0740.00916.06
7.2.60.0570.00816.08
7.2.50.0540.00416.02
7.2.40.0950.00916.16
7.2.30.0930.00715.90
7.2.20.0750.01116.08
7.2.10.0660.00515.79
7.2.00.0410.00816.81
7.1.330.0090.00315.64
7.1.320.0060.00615.49
7.1.310.0070.00715.63
7.1.300.0040.01215.71
7.1.290.0000.01015.48
7.1.280.0070.00715.37
7.1.270.0090.00615.70
7.1.260.0060.00915.66
7.1.250.0020.00815.60
7.1.200.0000.01115.46
7.1.190.2300.00713.46
7.1.180.2290.00313.36
7.1.170.2620.01213.47
7.1.160.2490.01013.49
7.1.150.1910.00713.68
7.1.140.2060.00313.33
7.1.130.2500.00613.28
7.1.120.2270.00613.63
7.1.110.1450.01013.91
7.1.100.0640.00715.81
7.1.90.1730.01313.36
7.1.80.1050.01013.42
7.1.70.0500.00215.32
7.1.60.0720.01125.54
7.1.50.0680.01424.34
7.1.40.1190.00731.78
7.1.30.0870.01732.00
7.1.20.0790.02031.80
7.1.10.0840.01213.52
7.1.00.0440.04017.97
7.0.310.2440.01013.30
7.0.300.2260.01313.36
7.0.290.1780.01313.44
7.0.270.2110.00913.45
7.0.260.1500.00613.42
7.0.250.1380.00313.48
7.0.240.1200.01213.60
7.0.230.1230.01313.59
7.0.220.1550.00313.54
7.0.210.0950.00313.67
7.0.200.0440.00814.22
7.0.190.0880.00713.52
7.0.180.0590.00713.57
7.0.170.3600.01313.27
7.0.160.0880.01813.47
7.0.150.0800.01313.57
7.0.140.0300.04017.80
7.0.130.0750.00713.58
7.0.120.0510.00613.40
7.0.110.0300.04216.73
7.0.100.0370.04216.78
7.0.90.0320.04316.69
7.0.80.0380.04016.48
7.0.70.0290.04016.77
7.0.60.0320.04216.61
7.0.50.0230.04817.06
7.0.40.0260.04316.84
7.0.30.0250.04716.75
7.0.20.0310.04316.82
7.0.10.0340.03716.83
7.0.00.0320.04616.69
5.6.300.0080.02114.27
5.6.290.0200.00313.84
5.6.280.0180.03417.54
5.6.270.0140.00914.30
5.6.260.0110.04517.47
5.6.250.0090.04017.38
5.6.240.0100.04317.49
5.6.230.0100.04717.36
5.6.220.0110.04417.44
5.6.210.0180.03517.30
5.6.200.0080.04817.65
5.6.190.0100.04317.50
5.6.180.0110.04517.52
5.6.170.0100.04817.79
5.6.160.0100.04417.73
5.6.150.0100.04517.66
5.6.140.0140.04117.59
5.6.130.0130.04417.59
5.6.120.0130.04217.71
5.6.110.0130.04717.67
5.6.100.0140.03617.60
5.6.90.0100.03317.63
5.6.80.0110.04117.17
5.6.70.0090.03417.24
5.6.60.0090.04617.31
5.6.50.0170.04017.24
5.6.40.0130.04017.18
5.6.30.0170.04017.16
5.6.20.0170.03817.40
5.6.10.0160.03717.16
5.6.00.0100.04717.26
5.5.380.0150.03615.67
5.5.370.0080.04315.74
5.5.360.0140.04015.67
5.5.350.0160.03515.66
5.5.340.0150.03715.86
5.5.330.0100.04015.95
5.5.320.0140.03916.00
5.5.310.0090.04415.78
5.5.300.0070.04715.88
5.5.290.0070.04915.78
5.5.280.0110.03815.87
5.5.270.0080.04916.02
5.5.260.0140.04015.95
5.5.250.0110.04515.82
5.5.240.0050.04715.66
5.5.230.0120.04015.58
5.5.220.0100.04115.70
5.5.210.0100.03615.66
5.5.200.0080.04415.73
5.5.190.0060.04615.71
5.5.180.0130.03315.68
5.5.160.0090.03215.43
5.5.150.0080.04215.50
5.5.140.0070.03115.68
5.5.130.0070.04615.58
5.5.120.0080.02515.47
5.5.110.0070.04015.38
5.5.100.0120.03215.63
5.5.90.0090.04215.61
5.5.80.0120.03715.44
5.5.70.0100.04015.58
5.5.60.0120.03615.66
5.5.50.0090.04015.67
5.5.40.0100.04115.55
5.5.30.0080.03015.52
5.5.20.0080.02715.53
5.5.10.0120.03915.55
5.5.00.0080.02815.63
5.4.450.0090.04415.31
5.4.440.0090.04215.18
5.4.430.0080.04315.15
5.4.420.0100.02415.23
5.4.410.0090.03914.92
5.4.400.0120.03215.08
5.4.390.0070.04314.83
5.4.380.0110.02914.98
5.4.370.0090.03915.01
5.4.360.0160.04215.01
5.4.350.0120.02514.86
5.4.340.0130.03514.92
5.4.320.0120.03815.04
5.4.310.0110.03714.97
5.4.300.0110.03815.02
5.4.290.0130.03614.95
5.4.280.0050.04714.82
5.4.270.0080.04215.00
5.4.260.0020.03714.87
5.4.250.0050.04215.01
5.4.240.0060.03914.89
5.4.230.0140.03815.01
5.4.220.0090.04314.95
5.4.210.0160.03814.83
5.4.200.0050.04314.88
5.4.190.0090.04214.96
5.4.180.0070.04214.71
5.4.170.0160.02315.03
5.4.160.0150.03314.99
5.4.150.0090.04114.94
5.4.140.0120.03313.61
5.4.130.0060.04113.62
5.4.120.0130.03313.68
5.4.110.0060.04213.60
5.4.100.0080.04013.76
5.4.90.0060.04213.59
5.4.80.0080.04013.60
5.4.70.0110.02913.69
5.4.60.0120.03313.53
5.4.50.0070.04113.50
5.4.40.0080.03013.68
5.4.30.0070.03813.61
5.4.20.0090.02113.70
5.4.10.0110.03613.69
5.4.00.0040.02813.38
5.3.290.0130.02112.63
5.3.280.0110.03712.51
5.3.270.0130.02712.55
5.3.260.0130.03812.64
5.3.250.0110.03912.46
5.3.240.0110.03412.43
5.3.230.0070.04212.57
5.3.220.0080.03912.43
5.3.210.0080.04112.45
5.3.200.0080.04312.39
5.3.190.0080.04312.45
5.3.180.0130.02012.51
5.3.170.0060.04312.56
5.3.160.0070.04012.36
5.3.150.0070.03812.58
5.3.140.0070.04312.38
5.3.130.0120.03812.39
5.3.120.0100.02712.51
5.3.110.0090.03712.45
5.3.100.0100.04012.29
5.3.90.0100.03812.15
5.3.80.0100.02012.15
5.3.70.0070.03812.23
5.3.60.0100.03912.34
5.3.50.0100.03512.10
5.3.40.0130.03112.10
5.3.30.0100.03812.09
5.3.20.0050.04212.06
5.3.10.0100.03311.92
5.3.00.0120.03311.94
5.2.170.0070.03010.70
5.2.160.0080.02910.70
5.2.150.0060.03410.61
5.2.140.0110.02210.67
5.2.130.0050.03410.66
5.2.120.0040.03610.64
5.2.110.0040.03510.69
5.2.100.0060.03510.65
5.2.90.0100.03010.67
5.2.80.0100.02810.52
5.2.70.0100.03010.61
5.2.60.0090.03210.58
5.2.50.0080.03310.65
5.2.40.0050.02410.68
5.2.30.0060.02510.51
5.2.20.0060.03310.60
5.2.10.0020.03910.46
5.2.00.0070.03010.47
5.1.60.0060.02710.37
5.1.50.0110.02510.37
5.1.40.0050.02910.37
5.1.30.0060.02510.37
5.1.20.0060.02910.37
5.1.10.0060.01610.37
5.1.00.0060.02710.37
5.0.50.0070.02210.37
5.0.40.0040.02310.37
5.0.30.0120.02510.37
5.0.20.0040.02110.37
5.0.10.0000.02710.37
5.0.00.0080.02710.37
4.4.90.0040.01910.37
4.4.80.0050.01810.37
4.4.70.0020.02010.37
4.4.60.0040.02010.37
4.4.50.0020.01810.37
4.4.40.0020.02910.37
4.4.30.0030.01310.37
4.4.20.0050.02010.37
4.4.10.0030.01910.37
4.4.00.0040.01710.37
4.3.110.0020.02010.37
4.3.100.0030.01210.37
4.3.90.0030.01910.37
4.3.80.0030.02310.37
4.3.70.0040.01610.37
4.3.60.0030.01810.37
4.3.50.0020.02010.37
4.3.40.0030.01510.37
4.3.30.0070.01510.37
4.3.20.0030.01310.37
4.3.10.0040.01010.37
4.3.00.0030.00810.37

preferences:
44.37 ms | 403 KiB | 5 Q