3v4l.org

run code in 300+ PHP versions simultaneously
<?php function mediaapi_filter_underscoretocamelcase($string) { $string = explode('_', $string); array_walk($string, function ($item, $key) { print $key; $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.60.0110.00418.30
8.3.50.0100.00522.11
8.3.40.0080.01118.70
8.3.30.0060.00620.34
8.3.20.0070.00020.34
8.3.10.0050.00322.11
8.3.00.0040.00422.45
8.2.180.0000.01516.38
8.2.170.0040.01122.96
8.2.160.0140.00422.25
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0030.00520.89
8.2.110.0090.00022.20
8.2.100.0110.00017.91
8.2.90.0080.00019.27
8.2.80.0060.00319.32
8.2.70.0040.00417.38
8.2.60.0040.00717.93
8.2.50.0040.00418.07
8.2.40.0050.00318.16
8.2.30.0030.00718.18
8.2.20.0000.00817.71
8.2.10.0000.00817.73
8.2.00.0080.00017.74
8.1.280.0140.00425.92
8.1.270.0000.00724.66
8.1.260.0030.00626.35
8.1.250.0050.00228.09
8.1.240.0040.00422.06
8.1.230.0060.00619.14
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0000.00817.36
8.1.190.0000.00817.53
8.1.180.0090.00019.13
8.1.170.0000.00818.63
8.1.160.0040.00422.13
8.1.150.0050.00218.52
8.1.140.0000.00717.35
8.1.130.0000.00717.82
8.1.120.0000.00717.43
8.1.110.0080.00017.44
8.1.100.0080.00017.52
8.1.90.0000.00817.49
8.1.80.0050.00217.51
8.1.70.0000.00717.33
8.1.60.0030.00617.49
8.1.50.0030.00617.49
8.1.40.0030.00517.54
8.1.30.0040.00417.50
8.1.20.0050.00317.52
8.1.10.0040.00417.37
8.1.00.0000.00917.46
8.0.300.0000.00718.77
8.0.290.0000.00717.04
8.0.280.0080.00018.43
8.0.270.0000.00717.19
8.0.260.0030.00316.84
8.0.250.0020.00516.95
8.0.240.0000.00916.95
8.0.230.0000.00716.87
8.0.220.0000.00716.72
8.0.210.0040.00416.85
8.0.200.0030.00316.84
8.0.190.0000.00716.98
8.0.180.0040.00416.86
8.0.170.0040.00416.80
8.0.160.0030.00316.85
8.0.150.0000.00716.88
8.0.140.0090.00016.81
8.0.130.0000.00813.38
8.0.120.0000.01116.76
8.0.110.0030.00516.87
8.0.100.0000.00716.86
8.0.90.0030.00516.79
8.0.80.0000.01516.86
8.0.70.0000.00716.80
8.0.60.0050.00316.80
8.0.50.0040.00416.93
8.0.30.0120.00817.03
8.0.20.0130.00517.40
8.0.10.0050.00317.09
8.0.00.0090.01016.82
7.4.330.0000.00515.00
7.4.320.0030.00316.61
7.4.300.0080.00016.61
7.4.290.0000.00616.53
7.4.280.0050.00216.46
7.4.270.0000.00716.62
7.4.260.0070.00016.39
7.4.250.0030.00516.59
7.4.240.0000.00716.57
7.4.230.0030.00316.64
7.4.220.0000.01816.63
7.4.210.0060.00916.56
7.4.200.0000.00716.72
7.4.190.0000.00816.41
7.4.160.0100.00716.56
7.4.150.0120.00617.40
7.4.140.0180.00617.86
7.4.130.0040.01316.54
7.4.120.0100.00716.53
7.4.110.0140.00616.48
7.4.100.0140.01016.62
7.4.90.0110.01116.59
7.4.80.0070.01019.39
7.4.70.0130.00716.39
7.4.60.0110.00616.51
7.4.50.0040.00416.32
7.4.40.0090.00622.77
7.4.30.0110.00516.43
7.4.00.0060.01014.93
7.3.330.0050.00013.32
7.3.320.0040.00313.17
7.3.310.0070.00016.29
7.3.300.0030.00316.14
7.3.290.0110.00316.29
7.3.280.0120.00416.30
7.3.270.0000.01717.40
7.3.260.0060.01316.43
7.3.250.0110.00616.49
7.3.240.0110.00716.44
7.3.230.0060.00916.45
7.3.210.0030.01416.34
7.3.200.0270.02719.39
7.3.190.0120.00616.38
7.3.180.0080.00816.31
7.3.170.0070.01016.39
7.3.160.0060.00916.43
7.3.120.0090.00314.67
7.2.330.0070.01116.77
7.2.320.0080.01516.78
7.2.310.0150.00616.62
7.2.300.0080.00816.44
7.2.290.0000.01516.76
7.1.100.0070.00718.25
7.1.70.0060.00317.26
7.1.60.0100.01619.43
7.1.50.0040.01516.92
7.1.00.0000.03722.31
7.0.200.0150.00715.08
7.0.140.0000.07722.18
7.0.60.0100.06019.92
7.0.50.0000.04317.95
7.0.40.0130.06019.96
7.0.30.0300.06720.26
7.0.20.0230.07320.15
7.0.10.0170.04320.12
7.0.00.0000.04320.14
5.6.280.0000.07721.07
5.6.210.0230.06320.69
5.6.200.0070.03718.21
5.6.190.0070.04720.32
5.6.180.0330.04320.64
5.6.170.0230.05020.52
5.6.160.0100.08720.50
5.6.150.0000.04318.18
5.6.140.0070.04718.21
5.6.130.0170.07318.11
5.6.120.0100.08721.01
5.6.110.0200.07321.01
5.6.100.0130.05020.99
5.6.90.0070.06021.00
5.6.80.0100.08020.52
5.6.70.0470.07020.39
5.5.350.0100.07020.30
5.5.340.0030.05318.09
5.5.330.0100.03320.47
5.5.320.0230.04020.20
5.5.310.0270.05320.35
5.5.300.0100.07318.07
5.5.290.0070.04717.96
5.5.280.0100.08020.89
5.5.270.0070.04020.80
5.5.260.0130.07720.73
5.5.250.0100.06720.71
5.5.240.0130.03320.19
5.4.450.0570.05319.48
5.4.440.0100.06719.20
5.4.430.0230.04719.16
5.4.420.0170.05319.44
5.4.410.0070.06319.52
5.4.400.1130.06018.53
5.4.390.0870.05318.75
5.4.380.0300.05318.53
5.4.370.0200.04318.76
5.4.360.0170.05018.57
5.4.350.0080.03412.02
5.4.340.0090.03512.02
5.4.320.0070.03412.51
5.4.310.0050.03812.50
5.4.300.0040.05112.51
5.4.290.0050.03812.51
5.4.280.0090.04712.40
5.4.270.0040.03812.40
5.4.260.0040.03912.40
5.4.250.0050.03812.40
5.4.240.0000.06718.94
5.4.230.0070.05718.66
5.4.220.0000.06018.76
5.4.210.0200.05019.09
5.4.200.0000.05718.98
5.4.190.0100.05018.83
5.4.180.0030.07018.79
5.4.170.0030.05718.65
5.4.160.0070.05018.95
5.4.150.0030.06718.64
5.4.140.0130.04716.45
5.4.130.0070.06016.56
5.4.120.0100.05716.60
5.4.110.0070.06716.57
5.4.100.0030.07016.58
5.4.90.0070.07016.54
5.4.80.0130.04316.61
5.4.70.0100.04316.53
5.4.60.0130.06316.39
5.4.50.0100.04716.38
5.4.40.0070.05316.51
5.4.30.0100.05716.60
5.4.20.0070.06016.48
5.4.10.0100.07716.54
5.4.00.0170.05715.83
5.3.290.0070.04012.80
5.3.280.0030.07014.76
5.3.270.0100.05314.52
5.3.260.0030.08014.77
5.3.250.0130.07014.68
5.3.240.0070.06714.68
5.3.230.0070.05014.68
5.3.220.0100.06314.64
5.3.210.0030.06014.57
5.3.200.0070.07714.63
5.3.190.0030.06314.64
5.3.180.0130.05714.78
5.3.170.0100.07014.46
5.3.160.0030.06714.55
5.3.150.0000.07314.54
5.3.140.0100.05714.55
5.3.130.0230.05714.63
5.3.120.0070.07714.38
5.3.110.0070.05714.52
5.3.100.0130.06014.12
5.3.90.0100.07014.01
5.3.80.0070.07013.86
5.3.70.0000.05713.85
5.3.60.0070.05014.16
5.3.50.0100.05714.04
5.3.40.0200.04713.97
5.3.30.0000.08014.00
5.3.20.0230.05013.52
5.3.10.0130.04713.62
5.3.00.0070.06713.63
5.2.170.0100.04311.14
5.2.160.0100.04311.20
5.2.150.0000.06311.22
5.2.140.0100.04311.12
5.2.130.0100.04710.93
5.2.120.0030.04011.32
5.2.110.0070.03711.16
5.2.100.0030.05711.16
5.2.90.0100.04711.31
5.2.80.0170.04011.17
5.2.70.0070.05311.18
5.2.60.0070.05011.22
5.2.50.0130.05311.08
5.2.40.0030.04711.13
5.2.30.0100.04310.94
5.2.20.0130.03710.87
5.2.10.0030.04011.09
5.2.00.0030.04310.78
5.1.60.0030.04710.06
5.1.50.0070.0379.97
5.1.40.0030.04710.21
5.1.30.0030.05010.49
5.1.20.0030.05310.34
5.1.10.0030.03710.31
5.1.00.0070.04710.06
5.0.50.0130.0308.46
5.0.40.0030.0278.39
5.0.30.0070.0378.27
5.0.20.0030.0308.29
5.0.10.0000.0378.23
5.0.00.0030.0438.24
4.4.90.0070.0336.90
4.4.80.0000.0236.90
4.4.70.0030.0236.90
4.4.60.0000.0236.90
4.4.50.0030.0276.90
4.4.40.0030.0406.90
4.4.30.0030.0276.90
4.4.20.0000.0336.90
4.4.10.0000.0236.90
4.4.00.0030.0436.90
4.3.110.0070.0236.90
4.3.100.0030.0276.90
4.3.90.0030.0276.90
4.3.80.0100.0276.90
4.3.70.0070.0236.90
4.3.60.0000.0236.90
4.3.50.0000.0306.90
4.3.40.0000.0476.90
4.3.30.0030.0206.90
4.3.20.0000.0336.90
4.3.10.0000.0236.90
4.3.00.0000.0236.71

preferences:
38.15 ms | 401 KiB | 5 Q