3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = function() { $name = 'world'; echo 'Hello, ' . $name; }; call_user_func($f);

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.130.0050.00216.66
8.3.120.0000.00920.74
8.3.110.0100.00020.94
8.3.100.0080.00016.62
8.3.90.0110.00718.19
8.3.80.0060.00617.97
8.3.70.0110.00418.05
8.3.60.0160.00016.75
8.3.50.0090.00717.15
8.3.40.0040.01118.92
8.3.30.0060.00918.89
8.3.20.0040.00421.73
8.3.10.0040.00421.82
8.3.00.0000.00819.59
8.2.250.0000.00818.57
8.2.240.0030.00617.07
8.2.230.0000.00922.58
8.2.220.0060.01024.06
8.2.210.0000.00826.77
8.2.200.0060.00318.16
8.2.190.0120.00916.58
8.2.180.0040.01118.01
8.2.170.0070.00722.96
8.2.160.0070.00719.19
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00620.53
8.2.120.0000.00726.35
8.2.110.0050.00522.20
8.2.100.0030.00918.22
8.2.90.0040.00420.02
8.2.80.0000.00817.97
8.2.70.0040.00417.93
8.2.60.0090.00018.09
8.2.50.0080.00018.10
8.2.40.0000.00720.58
8.2.30.0040.00419.30
8.2.20.0040.00417.93
8.2.10.0000.00717.99
8.2.00.0000.00818.02
8.1.300.0000.00818.47
8.1.290.0060.00318.88
8.1.280.0070.00725.92
8.1.270.0040.00420.56
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00322.19
8.1.230.0080.00319.10
8.1.220.0040.00417.78
8.1.210.0080.00018.77
8.1.200.0000.00917.23
8.1.190.0080.00017.10
8.1.180.0080.00018.10
8.1.170.0100.00018.50
8.1.160.0000.00718.82
8.1.150.0050.00318.84
8.1.140.0050.00319.57
8.1.130.0060.00318.80
8.1.120.0030.00317.45
8.1.110.0000.00717.49
8.1.100.0000.00717.33
8.1.90.0000.00817.38
8.1.80.0040.00417.45
8.1.70.0070.00017.44
8.1.60.0050.00317.50
8.1.50.0040.00417.56
8.1.40.0000.00917.38
8.1.30.0040.00417.62
8.1.20.0030.00617.64
8.1.10.0060.00317.63
8.1.00.0030.00517.54
8.0.300.0080.00019.61
8.0.290.0090.00016.63
8.0.280.0070.00018.50
8.0.270.0030.00317.15
8.0.260.0060.00017.16
8.0.250.0040.00416.82
8.0.240.0030.00516.84
8.0.230.0030.00316.87
8.0.220.0000.00816.77
8.0.210.0000.00716.85
8.0.200.0070.00016.87
8.0.190.0050.00316.92
8.0.180.0070.00416.91
8.0.170.0000.01116.89
8.0.160.0050.00316.82
8.0.150.0050.00216.68
8.0.140.0070.00016.79
8.0.130.0030.00313.34
8.0.120.0000.00816.90
8.0.110.0000.00816.86
8.0.100.0000.00816.77
8.0.90.0040.00416.66
8.0.80.0120.00316.92
8.0.70.0070.00016.70
8.0.60.0060.00316.81
8.0.50.0040.00416.86
8.0.30.0050.01116.99
8.0.20.0110.01017.40
8.0.10.0000.00716.87
8.0.00.0130.01016.53
7.4.330.0030.00315.55
7.4.320.0070.00016.50
7.4.300.0070.00016.63
7.4.290.0050.00216.50
7.4.280.0000.00816.58
7.4.270.0000.00816.57
7.4.260.0000.00816.56
7.4.250.0030.00316.46
7.4.240.0050.00216.57
7.4.230.0000.00716.56
7.4.220.0140.01016.47
7.4.210.0030.01116.56
7.4.200.0000.00716.59
7.4.160.0100.00916.52
7.4.150.0070.01117.40
7.4.140.0150.00417.86
7.4.130.0060.01616.66
7.4.120.0090.01016.65
7.4.110.0060.01016.51
7.4.100.0060.01616.54
7.4.90.0100.00716.35
7.4.80.0160.00019.39
7.4.70.0100.00616.64
7.4.60.0090.00616.51
7.4.50.0040.01116.57
7.4.40.0040.01216.39
7.4.30.0100.00616.55
7.4.00.0030.01214.79
7.3.330.0030.00313.29
7.3.320.0030.00313.07
7.3.310.0050.00216.29
7.3.300.0000.00716.19
7.3.290.0050.00916.29
7.3.280.0060.00916.24
7.3.270.0110.00717.40
7.3.260.0120.00916.52
7.3.250.0050.01416.32
7.3.240.0080.00816.54
7.3.230.0120.00616.48
7.3.210.0100.00616.21
7.3.200.0120.00316.61
7.3.190.0100.00616.43
7.3.180.0090.00916.34
7.3.170.0060.01116.36
7.3.160.0070.01416.32
7.3.120.0070.01014.72
7.3.110.0040.01414.50
7.3.100.0100.00714.74
7.3.90.0030.00614.60
7.3.80.0090.00014.73
7.3.70.0040.00414.63
7.3.60.0060.00914.69
7.3.50.0060.00914.76
7.3.40.0090.00314.57
7.3.30.0070.00714.66
7.3.20.0070.00716.80
7.3.10.0000.01416.77
7.3.00.0000.01316.57
7.2.330.0070.01116.56
7.2.320.0070.01016.60
7.2.310.0100.00616.41
7.2.300.0080.01616.68
7.2.290.0070.01316.64
7.2.250.0130.00314.82
7.2.240.0120.00314.86
7.2.230.0100.00715.20
7.2.220.0030.00615.08
7.2.210.0030.00914.90
7.2.200.0040.01115.00
7.2.190.0120.00614.86
7.2.180.0070.01114.79
7.2.170.0000.01115.04
7.2.60.0060.00816.86
7.1.330.0090.00615.89
7.1.320.0060.00315.73
7.1.310.0090.00316.01
7.1.300.0100.00615.54
7.1.290.0060.01215.69
7.1.280.0030.00515.91
7.1.270.0090.00315.63
7.1.260.0030.00715.66
7.1.200.0090.00615.64
7.1.70.0000.01016.89
7.1.60.0040.00817.30
7.1.50.0090.00916.73
7.1.40.0100.00316.52
7.1.30.0040.00716.79
7.1.20.0060.00616.71
7.1.10.0000.00916.52
7.1.00.0090.00416.64
7.0.200.0040.00716.63
7.0.190.0080.00416.57
7.0.180.0030.00916.52
7.0.170.0040.00416.52
7.0.160.0060.00316.52
7.0.150.0090.00016.52
7.0.140.0060.00916.52
7.0.130.0060.00316.58
7.0.120.0000.00816.62
7.0.110.0060.00316.52
7.0.100.0030.00716.52
7.0.90.0000.00816.52
7.0.80.0000.00816.52
7.0.70.0000.00716.52
7.0.60.0050.00316.52
7.0.50.0000.00716.52
7.0.40.0030.00516.52
7.0.30.0040.00416.52
7.0.20.0070.00016.52
7.0.10.0000.00816.52
7.0.00.0030.00616.52
5.6.300.0100.04820.93
5.6.290.0100.03620.95
5.6.280.0000.04920.88
5.6.270.0030.05120.96
5.6.260.0000.04420.80
5.6.250.0070.03920.81
5.6.240.0030.04520.98
5.6.230.0100.04220.82
5.6.220.0000.04620.82
5.6.210.0060.03820.80
5.6.200.0000.04820.93
5.6.190.0040.04620.83
5.6.180.0030.04320.84
5.6.170.0060.03821.04
5.6.160.0060.04221.04
5.6.150.0280.03120.84
5.6.140.0060.03820.98
5.6.130.0030.04021.01
5.6.120.0000.04920.96
5.6.110.0070.04320.86
5.6.100.0000.04820.97
5.6.90.0170.04320.82
5.6.80.0030.04320.24
5.6.70.0030.03820.41
5.6.60.0070.03920.21
5.6.50.0060.03520.14
5.6.40.0070.03320.19
5.6.30.0100.04220.10
5.6.20.0030.05020.21
5.6.10.0000.04120.31
5.6.00.0030.03920.30
5.5.380.0000.04417.54
5.5.370.0030.04117.54
5.5.360.0030.03917.60
5.5.350.0000.04517.44
5.5.340.0000.04617.86
5.5.330.0000.04718.07
5.5.320.0100.03218.04
5.5.310.0030.04118.11
5.5.300.0030.04118.03
5.5.290.0130.03718.02
5.5.280.0000.04717.74
5.5.270.0000.05117.85
5.5.260.0000.04718.03
5.5.250.0030.04917.93
5.5.240.0100.04817.58
5.5.230.0030.04017.47
5.5.220.0040.03617.38
5.5.210.0060.04117.39
5.5.200.0000.07917.37
5.5.190.0030.05517.35
5.5.180.0030.05417.43
5.5.160.0030.03917.44
5.5.150.0060.03617.38
5.5.140.0030.03817.38
5.5.130.0060.03817.21
5.5.120.0070.03817.44
5.5.110.0030.03717.34
5.5.100.0070.03317.43
5.5.90.0070.03217.33
5.5.80.0100.03017.26
5.5.70.0030.04117.38
5.5.60.0000.04217.35
5.5.50.0000.04217.37
5.5.40.0000.03916.95
5.5.30.0030.03817.25
5.5.20.0030.03717.24
5.5.10.0030.03917.33
5.5.00.0060.03917.32
5.4.450.0030.04819.49
5.4.440.0070.05219.25
5.4.430.0060.03819.31
5.4.420.0070.04019.30
5.4.410.0000.04719.25
5.4.400.0000.04519.04
5.4.390.0070.05718.97
5.4.380.0030.05619.06
5.4.370.0070.03718.98
5.4.360.0070.04719.04
5.4.350.0070.03818.98
5.4.340.0070.03318.98
5.4.320.0030.04018.92
5.4.310.0000.04819.07
5.4.300.0000.04419.20
5.4.290.0060.03919.09
5.4.280.0070.04018.91
5.4.270.0070.03719.05
5.4.260.0030.04018.92
5.4.250.0030.04119.15
5.4.240.0030.03718.97
5.4.230.0030.03719.15
5.4.220.0060.04119.06
5.4.210.0030.04318.97
5.4.200.0240.03719.14
5.4.190.0030.03719.15
5.4.180.0000.03919.07
5.4.170.0030.03919.07
5.4.160.0120.02818.96
5.4.150.0000.04119.22
5.4.140.0070.03716.52
5.4.130.0030.04716.52
5.4.120.0030.03616.65
5.4.110.0030.03816.63
5.4.100.0200.02616.52
5.4.90.0070.06216.52
5.4.80.0030.03316.52
5.4.70.0000.05816.52
5.4.60.0000.06316.59
5.4.50.0000.04116.52
5.4.40.0030.04316.52
5.4.30.0070.03316.52
5.4.20.0070.03116.71
5.4.10.0000.04316.61
5.4.00.0070.03016.52
5.3.290.0000.04016.52
5.3.280.0060.03216.52
5.3.270.0030.04816.52
5.3.260.0000.04016.52
5.3.250.0000.04216.52
5.3.240.0070.03716.52
5.3.230.0030.03816.52
5.3.220.0260.03616.52
5.3.210.0040.03516.52
5.3.200.0030.03616.52
5.3.190.0030.04616.52
5.3.180.0100.07016.52
5.3.170.0070.07416.52
5.3.160.0000.04116.52
5.3.150.0030.03416.52
5.3.140.0030.05816.52
5.3.130.0000.08516.52
5.3.120.0030.03716.52
5.3.110.0030.04016.52
5.3.100.0030.03816.52
5.3.90.0100.04116.52
5.3.80.0030.03416.52
5.3.70.0030.04116.52
5.3.60.0000.04216.52
5.3.50.0030.03516.52
5.3.40.0040.03316.52
5.3.30.0070.03416.52
5.3.20.0070.03316.52
5.3.10.0000.04016.52
5.3.00.0030.03716.52
5.2.170.0000.03316.52
5.2.160.0000.03216.52
5.2.150.0030.07416.52
5.2.140.0000.03116.52
5.2.130.0000.03316.52
5.2.120.0070.04016.52
5.2.110.0000.03016.52
5.2.100.0000.02916.52
5.2.90.0000.03116.52
5.2.80.0000.03016.52
5.2.70.0000.03416.52
5.2.60.0030.03616.52
5.2.50.0030.03016.52
5.2.40.0070.02516.52
5.2.30.0030.03116.52
5.2.20.0070.03016.52
5.2.10.0070.02716.52
5.2.00.0030.02616.52
5.1.60.0000.02616.52
5.1.50.0060.02216.52
5.1.40.0030.02616.52
5.1.30.0030.02516.52
5.1.20.0030.02616.52
5.1.10.0090.02216.52
5.1.00.0170.03116.52
5.0.50.0060.01616.52
5.0.40.0000.02316.52
5.0.30.0000.03616.52
5.0.20.0000.02116.52
5.0.10.0030.01716.52
5.0.00.0160.02916.52
4.4.90.0040.01816.52
4.4.80.0000.02316.52
4.4.70.0030.01516.52
4.4.60.0030.01316.52
4.4.50.0000.01616.52
4.4.40.0000.02916.52
4.4.30.0000.01616.52
4.4.20.0060.01216.52
4.4.10.0000.01816.52
4.4.00.0030.02216.52
4.3.110.0000.01716.52
4.3.100.0030.01616.52
4.3.90.0000.01716.52
4.3.80.0070.02016.52
4.3.70.0000.01616.52
4.3.60.0000.01816.52
4.3.50.0070.01316.52
4.3.40.0030.02316.52
4.3.30.0000.01616.52
4.3.20.0000.01716.52
4.3.10.0030.01716.52
4.3.00.0060.01216.52

preferences:
28.79 ms | 403 KiB | 5 Q