3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "-----------------------------------------------------------------------------------<br>"; echo "trying functions with parameters <br>"; function funct_name ($name,$year){ echo "$name was borN on year $year <br>"; } funct_name(joel,1994); funct_name(arun,1986); ?>

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.0090.00616.88
8.3.50.0110.00822.15
8.3.40.0040.01118.82
8.3.30.0140.00018.71
8.3.20.0090.00020.86
8.3.10.0000.00723.66
8.3.00.0070.00020.52
8.2.180.0070.01318.41
8.2.170.0000.01522.96
8.2.160.0040.01121.14
8.2.150.0070.00024.18
8.2.140.0070.00024.66
8.2.130.0000.00822.11
8.2.120.0070.00026.35
8.2.110.0030.00619.14
8.2.100.0080.00419.70
8.2.90.0000.00819.24
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0030.00618.05
8.2.50.0080.00018.10
8.2.40.0040.00422.18
8.2.30.0040.00419.30
8.2.20.0060.00317.73
8.2.10.0040.00418.12
8.2.00.0080.00017.97
8.1.280.0110.00325.92
8.1.270.0080.00023.87
8.1.260.0030.00528.09
8.1.250.0000.00828.09
8.1.240.0040.00422.59
8.1.230.0060.00617.42
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0060.00317.13
8.1.190.0000.00917.23
8.1.180.0070.00318.10
8.1.170.0030.00618.62
8.1.160.0000.00722.18
8.1.150.0020.00518.80
8.1.140.0040.00419.42
8.1.130.0030.00317.62
8.1.120.0090.00017.44
8.1.110.0000.00717.42
8.1.100.0070.00017.43
8.1.90.0000.00717.38
8.1.80.0070.00017.35
8.1.70.0080.00017.27
8.1.60.0050.00317.50
8.1.50.0030.00517.40
8.1.40.0040.00417.43
8.1.30.0030.00517.52
8.1.20.0060.00317.51
8.1.10.0030.00617.38
8.1.00.0040.00417.44
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0030.00318.43
8.0.270.0000.00717.25
8.0.260.0000.00817.16
8.0.250.0030.00316.95
8.0.240.0000.00716.90
8.0.230.0090.00017.00
8.0.220.0070.00016.86
8.0.210.0000.00716.95
8.0.200.0080.00016.87
8.0.190.0040.00417.00
8.0.180.0000.00716.89
8.0.170.0040.00416.86
8.0.160.0030.00316.99
8.0.150.0070.00016.90
8.0.140.0000.00716.92
8.0.130.0030.00313.43
8.0.120.0030.00516.91
8.0.110.0070.00017.00
8.0.100.0000.00716.96
8.0.90.0070.00016.98
8.0.80.0100.01016.89
8.0.70.0040.00416.84
8.0.60.0050.00216.94
8.0.50.0040.00416.97
8.0.30.0050.01217.04
8.0.20.0140.00517.40
8.0.10.0040.00417.07
8.0.00.0080.01116.72
7.4.330.0050.00015.08
7.4.320.0030.00316.53
7.4.300.0070.00016.55
7.4.290.0040.00416.32
7.4.280.0050.00516.45
7.4.270.0070.00016.41
7.4.260.0030.00616.43
7.4.250.0040.00416.34
7.4.240.0000.00816.33
7.4.230.0000.00616.46
7.4.220.0040.01416.54
7.4.210.0090.01216.45
7.4.200.0040.00416.59
7.4.160.0100.00616.27
7.4.150.0100.00717.40
7.4.140.0130.00717.86
7.4.130.0100.01016.46
7.4.120.0130.00816.59
7.4.110.0110.00816.46
7.4.100.0090.00916.55
7.4.90.0110.01216.34
7.4.80.0050.01419.39
7.4.70.0090.00916.54
7.4.60.0140.00716.25
7.4.50.0060.00616.59
7.4.40.0120.00316.58
7.4.30.0090.00916.39
7.4.10.0060.01014.86
7.4.00.0130.00315.02
7.3.330.0050.00013.45
7.3.320.0050.00013.21
7.3.310.0080.00016.39
7.3.300.0060.00016.41
7.3.290.0070.00816.36
7.3.280.0060.01016.41
7.3.270.0060.01217.40
7.3.260.0090.00916.61
7.3.250.0080.01016.45
7.3.240.0110.00716.53
7.3.230.0060.01116.39
7.3.210.0080.00816.40
7.3.200.0100.00616.45
7.3.190.0050.01016.39
7.3.180.0070.01316.66
7.3.170.0000.01616.54
7.3.160.0100.01016.45
7.3.130.0040.01514.78
7.3.120.0040.01114.93
7.3.110.0070.01314.61
7.3.100.0000.01214.78
7.3.90.0160.00014.93
7.3.80.0000.00914.71
7.3.70.0040.00714.90
7.3.60.0100.00314.97
7.3.50.0070.00314.92
7.3.40.0030.01014.84
7.3.30.0060.00614.89
7.3.20.0130.00316.69
7.3.10.0060.00916.49
7.3.00.0030.01316.64
7.2.330.0070.01316.47
7.2.320.0120.00616.35
7.2.310.0110.00716.55
7.2.300.0060.01216.71
7.2.290.0090.01416.75
7.2.260.0140.00714.85
7.2.250.0090.00914.78
7.2.240.0130.00314.68
7.2.230.0030.01214.65
7.2.220.0030.01415.11
7.2.210.0040.01114.64
7.2.200.0070.00715.04
7.2.190.0060.01014.96
7.2.180.0050.00514.86
7.2.170.0100.00714.97
7.2.160.0000.01315.07
7.2.150.0000.01516.58
7.2.140.0130.00316.93
7.2.130.0000.01416.84
7.2.120.0070.00716.93
7.2.110.0040.00916.50
7.2.100.0080.00816.77
7.2.90.0000.00916.68
7.2.80.0030.00916.78
7.2.70.0030.01016.46
7.2.60.0080.00516.75
7.2.50.0070.00716.84
7.2.40.0000.01016.98
7.2.30.0030.00617.02
7.2.20.0000.01416.86
7.2.10.0100.00716.82
7.2.00.0050.00818.03
7.1.330.0030.01015.72
7.1.320.0040.00715.85
7.1.310.0000.01315.72
7.1.300.0100.00315.48
7.1.290.0030.00915.79
7.1.280.0030.00715.48
7.1.270.0030.00715.77
7.1.260.0070.01015.89
7.1.250.0070.00415.80
7.1.240.0060.00315.75
7.1.230.0040.01115.82
7.1.220.0040.00715.50
7.1.210.0030.01215.60
7.1.200.0070.00615.74
7.1.190.0030.01215.78
7.1.180.0060.00315.81
7.1.170.0120.00015.70
7.1.160.0080.00015.71
7.1.150.0090.00315.48
7.1.140.0060.00615.76
7.1.130.0060.00915.74
7.1.120.0040.00815.76
7.1.110.0040.01115.81
7.1.100.0070.00516.77
7.1.90.0070.00715.89
7.1.80.0040.00815.81
7.1.70.0030.00716.36
7.1.60.0020.00917.84
7.1.50.0110.00616.20
7.1.40.0040.01215.75
7.1.30.0030.00915.54
7.1.20.0060.00715.54
7.1.10.0070.01015.65
7.1.00.0050.04218.98
7.0.330.0080.00015.31
7.0.320.0060.00615.24
7.0.310.0030.01015.34
7.0.300.0120.00315.31
7.0.290.0030.00615.13
7.0.280.0000.00915.26
7.0.270.0090.00514.91
7.0.260.0050.00515.32
7.0.250.0030.01214.83
7.0.240.0060.00615.45
7.0.230.0000.01515.44
7.0.220.0110.00315.48
7.0.210.0060.00315.06
7.0.200.0080.00914.95
7.0.190.0070.00715.46
7.0.180.0070.00315.28
7.0.170.0040.01115.07
7.0.160.0040.00715.02
7.0.150.0040.01115.32
7.0.140.0100.00315.35
7.0.130.0060.00614.94
7.0.120.0030.01015.35
7.0.110.0050.00515.43
7.0.100.0080.03017.61
7.0.90.0100.03217.71
7.0.80.0090.03817.72
7.0.70.0070.03117.66
7.0.60.0100.03017.55
7.0.50.0030.03317.95
7.0.40.0080.03216.87
7.0.30.0070.03616.91
7.0.20.0080.03116.90
7.0.10.0050.03216.87
7.0.00.0370.03216.78
5.6.400.0070.01013.96
5.6.390.0090.00614.41
5.6.380.0000.00814.39
5.6.370.0000.00814.31
5.6.360.0070.01014.27
5.6.350.0090.00314.09
5.6.340.0070.01013.88
5.6.330.0000.01414.13
5.6.320.0060.00313.96
5.6.310.0030.00914.50
5.6.300.0030.00614.02
5.6.290.0060.00614.15
5.6.280.0030.01014.16
5.6.270.0000.00814.14
5.6.260.0030.00914.03
5.6.250.0050.03517.50
5.6.240.0130.02717.48
5.6.230.0060.03617.49
5.6.220.0060.03817.36
5.6.210.0040.03617.51
5.6.200.0150.02517.56
5.6.190.0110.02817.59
5.6.180.0030.03317.84
5.6.170.0070.03317.48
5.6.160.0090.03317.71
5.6.150.0100.03217.65
5.6.140.0050.04217.54
5.6.130.0080.04717.56
5.6.120.0100.03617.68
5.6.110.0080.03417.45
5.6.100.0080.03117.59
5.6.90.0120.03217.67
5.6.80.0030.03117.28
5.6.70.0050.03117.35
5.6.60.0050.03217.27
5.6.50.0050.03217.29
5.6.40.0070.03017.19
5.6.30.0140.02617.27
5.6.20.0100.02617.19
5.6.10.0080.03517.25
5.6.00.0100.02817.22

preferences:
61.22 ms | 401 KiB | 5 Q