3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sentence = 'y HeloWerld'; $werds = array_filter(preg_split('/(?=[A-Z])/',$sentence)); var_dump(ucwords(implode(' ',$werds)));

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.0120.00616.75
8.3.50.0130.00522.12
8.3.40.0070.01018.67
8.3.30.0150.00018.84
8.3.20.0020.00520.20
8.3.10.0080.00023.64
8.3.00.0070.00023.64
8.2.180.0040.01416.38
8.2.170.0070.00722.96
8.2.160.0030.01022.22
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0050.00320.94
8.2.120.0000.00826.35
8.2.110.0100.00019.09
8.2.100.0080.00417.93
8.2.90.0000.00819.08
8.2.80.0080.00017.97
8.2.70.0030.00617.75
8.2.60.0040.00418.04
8.2.50.0050.00318.09
8.2.40.0030.00620.46
8.2.30.0050.00219.27
8.2.20.0040.00417.83
8.2.10.0040.00418.11
8.2.00.0000.00718.06
8.1.280.0120.00325.92
8.1.270.0030.00622.07
8.1.260.0050.00528.09
8.1.250.0040.00428.09
8.1.240.0090.00022.57
8.1.230.0040.00717.64
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0030.00617.25
8.1.180.0000.00818.10
8.1.170.0000.00818.77
8.1.160.0000.00720.73
8.1.150.0050.00218.76
8.1.140.0080.00019.59
8.1.130.0000.00817.66
8.1.120.0070.00017.45
8.1.110.0040.00417.42
8.1.100.0000.00717.53
8.1.90.0000.00717.43
8.1.80.0040.00417.39
8.1.70.0000.00717.43
8.1.60.0060.00317.69
8.1.50.0050.00317.60
8.1.40.0090.00317.59
8.1.30.0000.00917.67
8.1.20.0000.00717.61
8.1.10.0040.00417.62
8.1.00.0040.00417.57
8.0.300.0040.00418.77
8.0.290.0050.00316.88
8.0.280.0000.00718.32
8.0.270.0000.00717.25
8.0.260.0000.00817.21
8.0.250.0050.00317.07
8.0.240.0030.00316.97
8.0.230.0000.00816.98
8.0.220.0040.00417.07
8.0.210.0000.00717.07
8.0.200.0000.00616.98
8.0.190.0000.00816.99
8.0.180.0040.00416.98
8.0.170.0000.00816.95
8.0.160.0080.00017.14
8.0.150.0000.00716.94
8.0.140.0000.00716.99
8.0.130.0030.00313.47
8.0.120.0080.00016.88
8.0.110.0050.00317.08
8.0.100.0040.00416.98
8.0.90.0020.00517.02
8.0.80.0070.01016.95
8.0.70.0040.00416.99
8.0.60.0030.00517.07
8.0.50.0030.00616.90
8.0.30.0100.00717.26
8.0.20.0070.01217.40
8.0.10.0070.00017.00
8.0.00.0090.00916.90
7.4.330.0000.00516.80
7.4.320.0030.00316.73
7.4.300.0040.00416.75
7.4.290.0050.00216.64
7.4.280.0040.00416.65
7.4.270.0000.00716.75
7.4.260.0050.00516.64
7.4.250.0050.00216.50
7.4.240.0040.00416.66
7.4.230.0000.00716.53
7.4.220.0130.00316.57
7.4.210.0070.01116.76
7.4.200.0000.00816.79
7.4.160.0080.00816.72
7.4.150.0070.01017.40
7.4.140.0150.00317.86
7.4.130.0140.00416.65
7.4.120.0110.00716.60
7.4.110.0170.00316.74
7.4.100.0070.01016.60
7.4.90.0070.01116.57
7.4.80.0160.00019.39
7.4.70.0100.01416.55
7.4.60.0120.00616.72
7.4.50.0040.01116.61
7.4.40.0120.01216.77
7.4.30.0060.01316.66
7.4.00.0100.00715.13
7.3.330.0080.00013.27
7.3.320.0000.00513.23
7.3.310.0050.00316.21
7.3.300.0000.00716.39
7.3.290.0000.00716.34
7.3.280.0090.01316.39
7.3.270.0080.00817.40
7.3.260.0100.01416.33
7.3.250.0140.00516.38
7.3.240.0090.00816.28
7.3.230.0040.01216.61
7.3.210.0000.01816.34
7.3.200.0130.00419.39
7.3.190.0070.01016.32
7.3.180.0100.00716.61
7.3.170.0120.00816.71
7.3.160.0090.00616.58
7.3.10.0060.00616.63
7.3.00.0060.01016.88
7.2.330.0130.00316.73
7.2.320.0130.01016.58
7.2.310.0070.01016.58
7.2.300.0060.01116.45
7.2.290.0080.00816.76
7.2.130.0070.00316.93
7.2.120.0030.00616.94
7.2.110.0140.00016.72
7.2.100.0060.00916.81
7.2.90.0100.00716.76
7.2.80.0070.01016.77
7.2.70.0060.00616.78
7.2.60.0000.01116.64
7.2.50.0070.01016.66
7.2.40.0030.00716.67
7.2.30.0100.00317.08
7.2.20.0030.01216.66
7.2.10.0070.00416.72
7.2.00.0050.00818.09
7.1.250.0100.00315.63
7.1.100.0040.00418.45
7.1.70.0000.00917.30
7.1.60.0040.01419.40
7.1.50.0070.01417.16
7.1.00.0000.08022.43
7.0.200.0060.00316.52
7.0.60.0130.05721.84
7.0.50.0070.08017.82
7.0.40.0100.08019.98
7.0.30.0270.07720.05
7.0.20.0370.07320.14
7.0.10.0100.08720.18
7.0.00.0170.08020.07
5.6.210.0030.08320.52
5.6.200.0100.06718.12
5.6.190.0030.08720.40
5.6.180.0300.07020.45
5.6.170.0270.06320.40
5.6.160.0100.08020.50
5.6.150.0030.08318.13
5.6.140.0070.04018.21
5.6.130.0070.04718.16
5.6.120.0100.05021.13
5.6.110.0170.05021.00
5.6.100.0100.04720.99
5.6.90.0100.08320.94
5.6.80.0170.07320.36
5.5.350.0170.08320.48
5.5.340.0070.04017.95
5.5.330.0100.08020.37
5.5.320.0600.05320.30
5.5.310.0330.07320.26
5.5.300.0070.06717.98
5.5.290.0030.08318.02
5.5.280.0000.04320.78
5.5.270.0070.07320.64
5.5.260.0100.07020.76
5.5.250.0030.04320.70
5.5.240.0170.05320.14

preferences:
31.49 ms | 401 KiB | 5 Q