3v4l.org

run code in 300+ PHP versions simultaneously
<?php function mediaapi_filter_underscoretocamelcase($string) { $string = explode('_', $string); array_walk($string, function ($item) { print $item = ucfirst($item); }); return implode('', $string); } echo mediaapi_filter_underscoretocamelcase('franz_deleon');

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.40.0110.00718.72
8.3.30.0100.00320.39
8.3.20.0040.00420.30
8.3.10.0040.00421.92
8.3.00.0040.00422.31
8.2.170.0040.01122.96
8.2.160.0030.01022.00
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0060.00326.16
8.2.120.0000.00821.04
8.2.110.0030.00719.31
8.2.100.0040.00817.84
8.2.90.0060.00318.03
8.2.80.0030.00617.97
8.2.70.0040.00417.25
8.2.60.0050.00318.04
8.2.50.0000.01318.07
8.2.40.0000.00818.12
8.2.30.0000.00717.93
8.2.20.0040.00417.71
8.2.10.0040.00417.61
8.2.00.0000.00717.69
8.1.270.0070.00324.66
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0060.00321.05
8.1.230.0060.00622.88
8.1.220.0040.00417.76
8.1.210.0090.00018.91
8.1.200.0090.00017.36
8.1.190.0050.00317.54
8.1.180.0090.00019.13
8.1.170.0040.00418.46
8.1.160.0050.00222.14
8.1.150.0030.00618.52
8.1.140.0070.00017.48
8.1.130.0030.00317.73
8.1.120.0040.00417.43
8.1.110.0030.00517.37
8.1.100.0020.00517.33
8.1.90.0040.00417.45
8.1.80.0040.00417.47
8.1.70.0050.00317.41
8.1.60.0000.00817.58
8.1.50.0030.00517.53
8.1.40.0000.00717.45
8.1.30.0000.00817.64
8.1.20.0030.00517.55
8.1.10.0040.00417.44
8.1.00.0040.00417.36
8.0.300.0040.00420.04
8.0.290.0060.00317.30
8.0.280.0030.00318.38
8.0.270.0000.00817.25
8.0.260.0030.00316.85
8.0.250.0030.00316.92
8.0.240.0070.00016.83
8.0.230.0030.00316.88
8.0.220.0000.00716.86
8.0.210.0040.00416.85
8.0.200.0000.00616.88
8.0.190.0000.00816.83
8.0.180.0040.00416.94
8.0.170.0040.00416.88
8.0.160.0030.00316.85
8.0.150.0000.00816.68
8.0.140.0000.00716.85
8.0.130.0070.00313.28
8.0.120.0000.00816.86
8.0.110.0070.00016.96
8.0.100.0040.00416.78
8.0.90.0070.00017.00
8.0.80.0090.00616.95
8.0.70.0070.00016.93
8.0.60.0000.00716.82
8.0.50.0040.00416.90
8.0.30.0110.00817.20
8.0.20.0120.01317.40
8.0.10.0040.00416.90
8.0.00.0080.01116.67
7.4.330.0000.00515.00
7.4.320.0000.00716.64
7.4.300.0000.00616.39
7.4.290.0040.00416.59
7.4.280.0070.00016.48
7.4.270.0030.00316.61
7.4.260.0000.00716.64
7.4.250.0040.00416.55
7.4.240.0000.00716.54
7.4.230.0050.00216.63
7.4.220.0070.01016.52
7.4.210.0080.00716.58
7.4.200.0050.00316.59
7.4.190.0070.00016.69
7.4.160.0130.00316.42
7.4.150.0090.01517.40
7.4.140.0110.00817.86
7.4.130.0130.00816.61
7.4.120.0140.00516.53
7.4.110.0100.00716.51
7.4.100.0100.00616.62
7.4.90.0170.00016.45
7.4.80.0190.00319.39
7.4.70.0160.00616.59
7.4.60.0100.01016.45
7.4.50.0050.00316.54
7.4.40.0070.01022.77
7.4.30.0160.00016.50
7.4.00.0030.01014.98
7.3.330.0030.00313.19
7.3.320.0050.00313.08
7.3.310.0000.00716.14
7.3.300.0000.00716.21
7.3.290.0060.00916.27
7.3.280.0070.01016.24
7.3.270.0060.00917.40
7.3.260.0100.01316.41
7.3.250.0110.00816.34
7.3.240.0160.00516.26
7.3.230.0100.01416.48
7.3.210.0130.00316.45
7.3.200.0040.01219.39
7.3.190.0100.00716.24
7.3.180.0070.01116.22
7.3.170.0100.00716.36
7.3.160.0040.01216.53
7.3.120.0060.00914.97
7.3.10.0090.00316.66
7.3.00.0040.01216.41
7.2.330.0000.01716.70
7.2.320.0090.00916.57
7.2.310.0070.01016.32
7.2.300.0130.00616.56
7.2.290.0130.00316.45
7.2.130.0000.01417.00
7.2.120.0120.00316.77
7.2.110.0030.00916.68
7.2.100.0040.01116.97
7.2.90.0030.00717.07
7.2.80.0090.00616.82
7.2.70.0000.01416.93
7.2.60.0050.00716.85
7.2.50.0060.00617.02
7.2.40.0060.00916.93
7.2.30.0060.00617.05
7.2.20.0000.01016.92
7.2.10.0030.01016.86
7.2.00.0020.01018.21
7.1.250.0060.00615.42
7.1.200.0120.00315.85
7.1.100.0070.00717.98
7.1.70.0040.00417.03
7.1.60.0130.01319.43
7.1.50.0040.00816.68
7.1.00.0000.05022.37
7.0.200.0350.00614.45
7.0.140.0030.07322.09
7.0.60.0070.08720.02
7.0.50.0030.04017.91
7.0.40.0070.08320.05
7.0.30.0330.07020.06
7.0.20.0300.06020.21
7.0.10.0330.06020.07
7.0.00.0070.03720.05
5.6.280.0070.07021.13
5.6.210.0100.08020.46
5.6.200.0030.04718.20
5.6.190.0100.09020.48
5.6.180.0230.07020.44
5.6.170.0300.05720.40
5.6.160.0070.08320.47
5.6.150.0070.08018.16
5.6.140.0130.03318.28
5.6.130.0170.06718.16
5.6.120.0100.07020.98
5.6.110.0070.07321.20
5.6.100.0130.07721.12
5.6.90.0070.08021.12
5.6.80.0130.03020.41
5.6.70.0400.06720.38
5.5.350.0070.08720.48
5.5.340.0070.07318.05
5.5.330.0130.06320.40
5.5.320.0270.06720.24
5.5.310.0070.05020.13
5.5.300.0070.08018.08
5.5.290.0100.08018.07
5.5.280.0070.06020.88
5.5.270.0100.08020.88
5.5.260.0100.08020.73
5.5.250.0070.08020.71
5.5.240.0030.03720.28
5.4.450.0600.05319.48
5.4.440.0270.06719.71
5.4.430.0200.05319.30
5.4.420.0330.05719.48
5.4.410.0270.05319.32
5.4.400.1070.05318.51
5.4.390.1500.07718.75
5.4.380.0200.05718.70
5.4.370.0100.05718.53
5.4.360.0200.04718.63
5.4.350.0070.03512.03
5.4.340.0060.03612.02
5.4.320.0050.03712.51
5.4.310.0050.04312.50
5.4.300.0070.03612.51
5.4.290.0060.03912.50
5.4.280.0070.03412.40
5.4.270.0060.04012.40
5.4.260.0070.03712.40
5.4.250.0080.03612.40
5.4.240.0030.05718.84
5.4.230.0070.05318.79
5.4.220.0130.06718.83
5.4.210.0000.05718.66
5.4.200.0070.07318.77
5.4.190.0030.06318.82
5.4.180.0000.05718.96
5.4.170.0100.06718.76
5.4.160.0130.05318.75
5.4.150.0070.05318.79
5.4.140.0100.05016.44
5.4.130.0100.06316.56
5.4.120.0030.06716.31
5.4.110.0030.07316.41
5.4.100.0200.05316.43
5.4.90.0070.06016.57
5.4.80.0070.05016.46
5.4.70.0000.07716.37
5.4.60.0130.04716.34
5.4.50.0100.06716.52
5.4.40.0170.05716.61
5.4.30.0000.05716.50
5.4.20.0030.06016.49
5.4.10.0130.06716.33
5.4.00.0100.06015.98
5.3.290.0060.03912.80
5.3.280.0100.06714.60
5.3.270.0070.06014.60
5.3.260.0030.07314.82
5.3.250.0000.07014.57
5.3.240.0070.05314.69
5.3.230.0100.05314.58
5.3.220.0200.05314.46
5.3.210.0170.06014.64
5.3.200.0100.06714.73
5.3.190.0170.05014.55
5.3.180.0070.05314.62
5.3.170.0130.06714.65
5.3.160.0130.05314.74
5.3.150.0030.06014.57
5.3.140.0070.06314.64
5.3.130.0070.05014.65
5.3.120.0170.06314.68
5.3.110.0130.06314.38
5.3.100.0000.07314.23
5.3.90.0100.06714.04
5.3.80.0030.06013.93
5.3.70.0100.05714.10
5.3.60.0130.04313.99
5.3.50.0030.05013.78
5.3.40.0100.06314.17
5.3.30.0070.05013.99
5.3.20.0130.06313.80
5.3.10.0000.05313.48
5.3.00.0000.05313.73
5.2.170.0130.04711.18
5.2.160.0030.04311.21
5.2.150.0100.03311.30
5.2.140.0070.05711.30
5.2.130.0030.04011.05
5.2.120.0030.04011.17
5.2.110.0070.03711.00
5.2.100.0100.03311.01
5.2.90.0000.04311.07
5.2.80.0030.04011.15
5.2.70.0070.04311.10
5.2.60.0000.04311.24
5.2.50.0100.04011.01
5.2.40.0170.04310.98
5.2.30.0030.04011.14
5.2.20.0030.04311.18
5.2.10.0030.03710.95
5.2.00.0030.04710.78
5.1.60.0000.03710.20
5.1.50.0100.02710.19
5.1.40.0070.0339.82
5.1.30.0030.05010.39
5.1.20.0030.03710.43
5.1.10.0100.03710.10
5.1.00.0070.04310.16
5.0.50.0030.0278.70
5.0.40.0070.0378.34
5.0.30.0030.0578.27
5.0.20.0070.0338.29
5.0.10.0000.0408.17
5.0.00.0030.0538.23
4.4.90.0000.0236.91
4.4.80.0100.0136.91
4.4.70.0030.0236.91
4.4.60.0000.0306.91
4.4.50.0030.0206.91
4.4.40.0030.0336.91
4.4.30.0030.0206.91
4.4.20.0000.0236.91
4.4.10.0000.0236.91
4.4.00.0070.0276.91
4.3.110.0000.0236.91
4.3.100.0030.0276.91
4.3.90.0030.0206.91
4.3.80.0070.0276.91
4.3.70.0000.0206.91
4.3.60.0000.0306.91
4.3.50.0070.0176.91
4.3.40.0030.0336.91
4.3.30.0030.0206.91
4.3.20.0030.0236.91
4.3.10.0100.0236.91
4.3.00.0130.0206.71

preferences:
46.51 ms | 400 KiB | 5 Q