3v4l.org

run code in 300+ PHP versions simultaneously
<?php function custName($name = "Busi") { return "The customer's name is " .$name."."; } custName("Vusi"); ?>

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.120.0030.00620.73
8.3.110.0070.01116.63
8.3.100.0060.00324.06
8.3.90.0070.00026.77
8.3.80.0040.00418.17
8.3.70.0070.01418.31
8.3.60.0110.00418.43
8.3.50.0130.00522.05
8.3.40.0090.00918.45
8.3.30.0030.01018.53
8.3.20.0040.00420.24
8.3.10.0030.00520.36
8.3.00.0050.00320.55
8.2.240.0090.00016.91
8.2.230.0040.00420.94
8.2.220.0070.00437.54
8.2.210.0080.00026.77
8.2.200.0000.00816.25
8.2.190.0110.00416.58
8.2.180.0130.00316.32
8.2.170.0030.01422.96
8.2.160.0100.00719.16
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00519.36
8.2.120.0070.00026.35
8.2.110.0050.00522.25
8.2.100.0090.00317.84
8.2.90.0000.00817.72
8.2.80.0070.00018.03
8.2.70.0040.00417.38
8.2.60.0040.00417.93
8.2.50.0080.00018.10
8.2.40.0070.00020.55
8.2.30.0080.00020.60
8.2.20.0000.00817.63
8.2.10.0040.00417.89
8.2.00.0040.00317.83
8.1.300.0040.00420.19
8.1.290.0030.00630.84
8.1.280.0120.00325.92
8.1.270.0070.00023.99
8.1.260.0000.00728.09
8.1.250.0060.00328.09
8.1.240.0100.00022.46
8.1.230.0000.01220.96
8.1.220.0080.00017.74
8.1.210.0000.00818.91
8.1.200.0030.00617.23
8.1.190.0050.00317.22
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00720.78
8.1.150.0000.00718.83
8.1.140.0040.00419.51
8.1.130.0000.00817.58
8.1.120.0050.00317.44
8.1.110.0040.00417.34
8.1.100.0000.00717.28
8.1.90.0000.00717.36
8.1.80.0000.00717.38
8.1.70.0030.00317.28
8.1.60.0000.00717.48
8.1.50.0080.00017.35
8.1.40.0030.00617.48
8.1.30.0000.00817.50
8.1.20.0040.00417.59
8.1.10.0070.00017.49
8.1.00.0020.00517.44
8.0.300.0040.00419.90
8.0.290.0000.00716.63
8.0.280.0050.00318.30
8.0.270.0030.00317.12
8.0.260.0060.00017.18
8.0.250.0040.00416.85
8.0.240.0000.00716.93
8.0.230.0040.00416.76
8.0.220.0040.00416.84
8.0.210.0040.00416.78
8.0.200.0030.00316.77
8.0.190.0050.00216.78
8.0.180.0070.00016.77
8.0.170.0070.00016.72
8.0.160.0080.00016.73
8.0.150.0080.00016.82
8.0.140.0030.00516.68
8.0.130.0030.00313.20
8.0.120.0000.00816.73
8.0.110.0070.00016.71
8.0.100.0070.00016.70
8.0.90.0040.00416.69
8.0.80.0040.01116.74
8.0.70.0070.00016.79
8.0.60.0070.00016.63
8.0.50.0030.00516.78
8.0.30.0090.00717.13
8.0.20.0120.00917.40
8.0.10.0040.00416.74
8.0.00.0120.00816.67
7.4.330.0000.00515.08
7.4.320.0000.00716.38
7.4.300.0030.00316.34
7.4.290.0030.00316.42
7.4.280.0000.00716.53
7.4.270.0070.00016.48
7.4.260.0070.00016.54
7.4.250.0040.00416.49
7.4.240.0000.00716.49
7.4.230.0030.00316.46
7.4.220.0140.00616.55
7.4.210.0100.00716.39
7.4.200.0040.00416.45
7.4.160.0090.00616.41
7.4.150.0080.01117.40
7.4.140.0060.01117.86
7.4.130.0090.00816.42
7.4.120.0120.00816.45
7.4.110.0110.01516.49
7.4.100.0090.00916.59
7.4.90.0100.00716.52
7.4.80.0120.00719.39
7.4.70.0090.00616.23
7.4.60.0080.00816.50
7.4.50.0090.00616.20
7.4.40.0090.00916.57
7.4.30.0060.00916.57
7.4.00.0050.01014.85
7.3.330.0000.00713.22
7.3.320.0030.00313.33
7.3.310.0060.00316.30
7.3.300.0030.00316.31
7.3.290.0050.01216.24
7.3.280.0090.00716.29
7.3.270.0170.00317.40
7.3.260.0120.00616.39
7.3.250.0120.00816.32
7.3.240.0100.00816.54
7.3.230.0060.01216.48
7.3.210.0140.00316.51
7.3.200.0050.01116.48
7.3.190.0060.00916.36
7.3.180.0100.00616.23
7.3.170.0100.00716.52
7.3.160.0120.00916.37
7.3.120.0040.01514.71
7.3.110.0070.01114.58
7.3.100.0060.00914.59
7.3.90.0030.01014.64
7.3.80.0070.00714.45
7.3.70.0000.01514.86
7.3.60.0040.00414.68
7.3.50.0100.00014.30
7.3.40.0060.01014.60
7.3.30.0030.00714.64
7.3.20.0100.00016.45
7.3.10.0110.00416.70
7.3.00.0040.01116.50
7.2.330.0090.00916.30
7.2.320.0120.01216.54
7.2.310.0060.01716.41
7.2.300.0080.00816.31
7.2.290.0120.00916.36
7.2.250.0060.01214.65
7.2.240.0070.01415.05
7.2.230.0110.00414.98
7.2.220.0030.01015.02
7.2.210.0100.00014.68
7.2.200.0100.00314.99
7.2.190.0090.00014.93
7.2.180.0050.00514.94
7.2.170.0040.00414.61
7.2.80.0080.00316.69
7.2.60.0030.00616.80
7.2.00.0060.00619.31
7.1.330.0110.00415.62
7.1.320.0030.00615.77
7.1.310.0070.00715.64
7.1.300.0080.00615.41
7.1.290.0030.01015.45
7.1.280.0060.00315.44
7.1.270.0000.01415.66
7.1.260.0060.00615.48
7.1.200.0030.00615.59
7.1.100.0040.00718.14
7.1.70.0000.01117.05
7.1.60.0060.01919.48
7.1.00.0030.07722.41
7.0.200.0060.00316.79
7.0.60.0170.06020.02
7.0.50.0200.06317.72
7.0.40.0270.05720.17
7.0.30.0170.06020.23
7.0.20.0230.06020.09
7.0.10.0230.05720.30
7.0.00.0200.06020.22
5.6.280.0070.07021.07
5.6.210.0130.04020.71
5.6.200.0170.05718.13
5.6.190.0300.05720.43
5.6.180.0170.06320.67
5.6.170.0230.05720.41
5.6.160.0230.05720.64
5.6.150.0130.06320.20
5.6.140.0170.06020.48
5.6.130.0270.05320.48
5.6.120.0170.05320.41
5.6.110.0070.06720.39
5.6.100.0130.06020.59
5.6.90.0230.06020.38
5.6.80.0170.05719.82
5.6.70.0070.07319.55
5.6.60.0230.06019.93
5.6.50.0170.06019.55
5.6.40.0300.05019.55
5.6.30.0170.06019.55
5.6.20.0270.07319.79
5.6.10.0170.05719.91
5.6.00.0170.06019.78
5.5.350.0000.04020.39
5.5.340.0070.08018.09
5.5.330.0230.05020.34
5.5.320.0230.05720.26
5.5.310.0030.07020.61
5.5.300.0230.05720.20
5.5.290.0170.06020.39
5.5.280.0200.05320.29
5.5.270.0270.05020.38
5.5.260.0230.05720.26
5.5.250.0200.05720.09
5.5.240.0200.05719.77
5.5.230.0100.06719.44
5.5.220.0300.06019.65
5.5.210.0270.05019.58
5.5.200.0270.06719.60
5.5.190.0100.06319.62
5.5.180.0270.04719.74
5.5.160.0130.06019.45
5.5.150.0200.05719.62
5.5.140.0200.05719.55
5.5.130.0170.07019.32
5.5.120.0170.06019.32
5.5.110.0130.05719.70
5.5.100.0230.05019.45
5.5.90.0170.05719.52
5.5.80.0230.05019.39
5.5.70.0170.05719.23
5.5.60.0230.06019.48
5.5.50.0270.04719.28
5.5.40.0170.07719.49
5.5.30.0170.05719.52
5.5.20.0270.04319.38
5.5.10.0030.06719.55
5.5.00.0130.05719.48

preferences:
28.69 ms | 403 KiB | 5 Q