3v4l.org

run code in 300+ PHP versions simultaneously
<?php function make_uppercase(&$word) { $word = strtoupper ($word); return $word; } $fish = array ( "hampala ampalong", "hampala macrolipedota" ); print_r ( array_map ("make_uppercase", $fish) );

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.0130.00616.63
8.3.50.0070.01018.03
8.3.40.0070.00718.89
8.3.30.0070.00718.90
8.3.20.0040.00419.00
8.3.10.0040.00421.81
8.3.00.0040.00420.89
8.2.180.0000.01416.75
8.2.170.0070.00722.96
8.2.160.0070.00720.52
8.2.150.0040.00725.66
8.2.140.0070.00024.66
8.2.130.0000.00719.83
8.2.120.0080.00026.35
8.2.110.0050.00521.02
8.2.100.0070.00417.72
8.2.90.0000.00817.75
8.2.80.0050.00318.78
8.2.70.0040.00417.63
8.2.60.0040.00417.63
8.2.50.0030.00518.10
8.2.40.0040.00420.29
8.2.30.0000.00819.24
8.2.20.0040.00417.87
8.2.10.0040.00417.95
8.2.00.0050.00317.79
8.1.280.0150.00425.92
8.1.270.0080.00022.19
8.1.260.0000.00728.09
8.1.250.0090.00028.09
8.1.240.0000.01022.47
8.1.230.0070.00420.81
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0000.00817.36
8.1.190.0060.00617.22
8.1.180.0070.00018.10
8.1.170.0000.00818.60
8.1.160.0040.00418.93
8.1.150.0040.00420.32
8.1.140.0050.00219.42
8.1.130.0040.00417.55
8.1.120.0070.00017.40
8.1.110.0040.00417.34
8.1.100.0050.00517.38
8.1.90.0070.00017.41
8.1.80.0040.00417.38
8.1.70.0070.00017.37
8.1.60.0000.00717.36
8.1.50.0000.00817.46
8.1.40.0060.00317.44
8.1.30.0030.00617.50
8.1.20.0000.00817.58
8.1.10.0000.00717.39
8.1.00.0040.00417.38
8.0.300.0080.00019.78
8.0.290.0070.00016.75
8.0.280.0030.00318.30
8.0.270.0040.00317.20
8.0.260.0030.00317.16
8.0.250.0030.00316.95
8.0.240.0030.00316.92
8.0.230.0040.00316.96
8.0.220.0000.00716.87
8.0.210.0030.00316.79
8.0.200.0040.00416.81
8.0.190.0000.00716.99
8.0.180.0000.00716.79
8.0.170.0070.00016.94
8.0.160.0070.00016.91
8.0.150.0070.00016.89
8.0.140.0070.00016.73
8.0.130.0070.00013.27
8.0.120.0000.00816.89
8.0.110.0070.00016.84
8.0.100.0000.00716.74
8.0.90.0040.00416.75
8.0.80.0030.01416.92
8.0.70.0040.00416.86
8.0.60.0070.00016.79
8.0.50.0000.00816.83
8.0.30.0100.01017.08
8.0.20.0060.01317.40
8.0.10.0040.00416.89
8.0.00.0130.01016.84
7.4.330.0020.00215.55
7.4.320.0000.00716.52
7.4.300.0000.00616.53
7.4.290.0000.00716.45
7.4.280.0030.00616.44
7.4.270.0000.00716.49
7.4.260.0030.00316.39
7.4.250.0040.00416.45
7.4.240.0070.00016.54
7.4.230.0030.00316.62
7.4.220.0140.00316.61
7.4.210.0050.01216.47
7.4.200.0000.00716.55
7.4.160.0100.00616.29
7.4.150.0090.00917.40
7.4.140.0110.00617.86
7.4.130.0120.00716.41
7.4.120.0120.00616.43
7.4.110.0110.01116.55
7.4.100.0070.01016.37
7.4.90.0170.00316.45
7.4.80.0030.01919.39
7.4.70.0100.00716.46
7.4.60.0090.00916.45
7.4.50.0080.01116.30
7.4.40.0040.01416.59
7.4.30.0070.01016.55
7.4.00.0070.00914.65
7.3.330.0000.00513.10
7.3.320.0030.00312.98
7.3.310.0000.00716.16
7.3.300.0000.00716.08
7.3.290.0030.00316.21
7.3.280.0130.00716.17
7.3.270.0150.00317.40
7.3.260.0130.00716.37
7.3.250.0070.01416.34
7.3.240.0120.00816.38
7.3.230.0040.01916.39
7.3.210.0120.00916.39
7.3.200.0060.00916.16
7.3.190.0070.01016.21
7.3.180.0060.01016.53
7.3.170.0110.00716.56
7.3.160.0100.00616.09
7.3.120.0100.00614.87
7.3.110.0120.00614.33
7.3.100.0100.00614.38
7.3.90.0090.00014.86
7.3.80.0090.00314.43
7.3.70.0030.00914.65
7.3.60.0070.00714.70
7.3.50.0070.00714.67
7.3.40.0060.00614.61
7.3.30.0030.00914.36
7.3.20.0000.01416.45
7.3.10.0050.00616.48
7.3.00.0100.00516.38
7.2.330.0110.00616.38
7.2.320.0030.01316.50
7.2.310.0100.00616.56
7.2.300.0060.01316.55
7.2.290.0070.01316.64
7.2.250.0130.00614.79
7.2.240.0100.01014.88
7.2.230.0090.00614.82
7.2.220.0030.00814.77
7.2.210.0060.00614.74
7.2.200.0060.00614.98
7.2.190.0070.00714.63
7.2.180.0060.00615.02
7.2.170.0000.00914.87
7.2.130.0050.00916.44
7.2.120.0080.00916.57
7.2.110.0130.00716.50
7.2.100.0000.01316.45
7.2.90.0060.00616.36
7.2.80.0070.00716.24
7.2.70.0150.00616.55
7.2.60.0050.01116.59
7.2.50.0100.00716.39
7.2.40.0140.01116.77
7.2.30.0130.00416.29
7.2.20.0180.00316.57
7.2.10.0070.00416.33
7.2.00.0160.00616.68
7.1.330.0000.01315.75
7.1.320.0070.00715.57
7.1.310.0120.00315.52
7.1.300.0100.00315.70
7.1.290.0000.01215.60
7.1.280.0070.00715.37
7.1.270.0000.01115.26
7.1.260.0030.01015.71
7.1.250.0130.00315.38
7.1.200.0000.01315.63
7.1.70.0050.00216.99
7.1.60.0040.01117.14
7.1.00.0070.07022.40
7.0.200.0660.00914.45
7.0.130.0130.06722.09
7.0.120.0100.06321.97
7.0.110.0100.07322.02
7.0.100.0070.07722.04
7.0.90.0070.08722.14
7.0.80.0070.06722.14
7.0.70.0030.06722.06
7.0.60.0030.07721.72
7.0.50.0200.06722.08
7.0.40.0030.06321.98
7.0.30.0070.06022.08
7.0.20.0070.06722.06
7.0.10.0100.06722.11
7.0.00.0100.05722.02
5.6.280.0070.06321.05
5.6.270.0170.05721.06
5.6.260.0100.06321.08
5.6.250.0100.05721.05
5.6.240.0270.06720.75
5.6.230.0170.06321.03
5.6.220.0070.06320.86
5.6.210.0200.06021.01
5.6.200.0170.05320.84
5.6.190.0070.06720.87
5.6.180.0170.05020.95
5.6.170.0030.07020.98
5.6.160.0170.05021.00
5.6.150.0300.07020.82
5.6.140.0130.07720.86
5.6.130.0170.06721.04
5.6.120.0070.06321.04
5.6.110.0200.05320.91
5.6.100.0130.06020.93
5.6.90.0100.06320.99
5.6.80.0070.07320.35
5.6.70.0170.06020.46
5.6.60.0170.04720.21
5.6.50.0100.05020.36
5.6.40.0030.07320.40
5.6.30.0030.06020.11
5.6.20.0100.05320.30
5.6.10.0130.04720.19
5.6.00.0100.06320.35

preferences:
63.46 ms | 401 KiB | 5 Q