3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foobar = "foobar, 2&nbsp;foo 3&nbsp;bar"; echo mb_convert_case(html_entity_decode($foobar), MB_CASE_TITLE);

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.5.30.0090.00821.10
8.5.20.0090.00919.58
8.5.10.0110.00716.58
8.5.00.0130.00819.93
8.4.180.0100.01219.69
8.4.170.0110.01423.98
8.4.160.0160.00623.93
8.4.150.0060.00616.72
8.4.140.0150.00617.39
8.4.130.0090.01017.46
8.4.120.0120.00724.21
8.4.110.0090.01022.50
8.4.100.0130.00618.71
8.4.90.0100.01020.66
8.4.80.0090.01018.66
8.4.70.0100.00817.82
8.4.60.0150.00518.77
8.4.50.0090.01218.50
8.4.40.0080.00817.54
8.4.30.0080.00017.51
8.4.20.0180.00319.44
8.4.10.0060.00317.66
8.3.300.0120.00820.77
8.3.290.0160.00618.44
8.3.280.0130.00918.57
8.3.270.0090.01016.43
8.3.260.0120.00616.41
8.3.250.0130.00619.00
8.3.240.0130.00617.19
8.3.230.0100.01016.68
8.3.220.0090.00518.76
8.3.210.0080.01018.30
8.3.200.0030.00516.52
8.3.190.0070.00717.12
8.3.180.0060.00516.91
8.3.170.0100.00320.84
8.3.160.0040.01417.13
8.3.150.0080.00817.29
8.3.140.0000.00816.36
8.3.130.0070.00318.33
8.3.120.0070.00318.70
8.3.110.0040.00420.94
8.3.100.0040.00416.66
8.3.90.0040.00418.31
8.3.80.0080.00017.97
8.3.70.0150.00618.18
8.3.60.0180.00317.98
8.3.50.0070.01018.44
8.3.40.0110.00418.59
8.3.30.0110.00418.62
8.3.20.0040.00718.97
8.3.10.0000.00823.48
8.3.00.0120.00323.71
8.2.300.0130.00917.90
8.2.290.0110.00720.61
8.2.280.0040.00418.53
8.2.270.0090.00917.08
8.2.260.0090.00916.57
8.2.250.0000.00518.39
8.2.240.0000.00817.31
8.2.230.0080.00022.58
8.2.220.0030.00524.06
8.2.210.0110.00726.77
8.2.200.0040.00416.63
8.2.190.0120.00316.58
8.2.180.0150.00316.50
8.2.170.0030.01022.96
8.2.160.0140.00319.09
8.2.150.0050.00224.18
8.2.140.0000.00924.66
8.2.130.0030.00518.09
8.2.120.0040.00426.35
8.2.110.0060.00322.21
8.2.100.0030.00917.91
8.2.90.0050.00319.11
8.2.80.0030.00617.97
8.2.70.0000.00817.80
8.2.60.0030.00617.93
8.2.50.0090.00018.10
8.2.40.0030.00521.11
8.2.30.0000.00819.23
8.2.20.0000.00718.03
8.2.10.0070.00019.29
8.2.00.0030.00319.35
8.1.340.0130.00817.68
8.1.330.0130.00521.76
8.1.320.0110.00716.28
8.1.310.0040.01118.15
8.1.300.0110.00820.14
8.1.290.0030.00618.88
8.1.280.0160.00325.92
8.1.270.0000.00820.33
8.1.260.0080.00026.35
8.1.250.0050.00528.09
8.1.240.0040.00423.89
8.1.230.0120.00019.02
8.1.220.0040.00417.77
8.1.210.0050.00318.77
8.1.200.0080.00517.22
8.1.190.0030.00517.22
8.1.180.0000.00718.10
8.1.170.0040.00418.93
8.1.160.0000.00718.94
8.1.150.0030.00518.82
8.1.140.0040.00419.60
8.1.130.0000.00719.06
8.1.120.0050.00317.44
8.1.110.0000.00817.34
8.1.100.0000.00717.47
8.1.90.0040.00417.45
8.1.80.0080.00017.34
8.1.70.0000.00817.45
8.1.60.0060.00317.60
8.1.50.0080.00017.46
8.1.40.0040.00417.56
8.1.30.0000.00717.72
8.1.20.0050.00217.62
8.1.10.0000.00817.50
8.1.00.0030.00517.49
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0000.00718.37
8.0.270.0050.00317.20
8.0.260.0030.00317.32
8.0.250.0040.00416.88
8.0.240.0000.00817.04
8.0.230.0070.00016.82
8.0.220.0070.00416.94
8.0.210.0070.00016.92
8.0.200.0000.00716.82
8.0.190.0000.00716.84
8.0.180.0040.00416.93
8.0.170.0040.00416.93
8.0.160.0050.00316.88
8.0.150.0040.00416.82
8.0.140.0020.00516.71
8.0.130.0070.00013.37
8.0.120.0000.00716.77
8.0.110.0020.00516.71
8.0.100.0020.00516.79
8.0.90.0080.00017.00
8.0.80.0050.01016.80
8.0.70.0000.00816.78
8.0.60.0000.00816.94
8.0.50.0070.00016.91
8.0.30.0090.01017.13
8.0.20.0080.01117.40
8.0.10.0070.00016.97
8.0.00.0070.01116.60
7.4.330.0040.00015.55
7.4.320.0030.00316.40
7.4.300.0060.00016.60
7.4.290.0000.00716.50
7.4.280.0070.00016.58
7.4.270.0000.00716.41
7.4.260.0000.00916.59
7.4.250.0040.00416.46
7.4.240.0050.00316.50
7.4.230.0020.00516.52
7.4.220.0000.00716.60
7.4.210.0080.00716.57
7.4.200.0000.00716.34
7.4.160.0100.00516.48
7.4.140.0090.00817.86
7.4.130.0140.00316.39
7.4.120.0080.01116.57
7.4.110.0130.00316.40
7.4.100.0080.01216.51
7.4.90.0090.00916.50
7.4.80.0110.01119.39
7.4.70.0150.00616.52
7.4.60.0160.00616.41
7.4.50.0070.00716.56
7.4.40.0090.01216.54
7.4.10.0120.00414.80
7.4.00.0030.01314.97
7.3.330.0020.00213.00
7.3.320.0050.00013.17
7.3.310.0000.00716.32
7.3.300.0030.00316.17
7.3.290.0030.00316.29
7.3.280.0000.01416.29
7.3.260.0110.00916.29
7.3.240.0130.00816.36
7.3.230.0060.00916.09
7.3.210.0110.00616.22
7.3.200.0110.00616.23
7.3.190.0030.01316.35
7.3.180.0060.00916.45
7.3.170.0120.00816.21
7.3.160.0090.00616.48
7.3.130.0060.00814.49
7.3.120.0100.00714.50
7.3.110.0040.01514.90
7.3.100.0070.00714.76
7.3.90.0100.00314.66
7.3.80.0120.00314.37
7.3.70.0030.01014.64
7.3.60.0030.01014.78
7.3.50.0000.01414.73
7.3.40.0040.00414.71
7.3.30.0000.01514.76
7.3.20.0070.01016.41
7.3.10.0070.00716.27
7.3.00.0110.00316.64
7.2.330.0150.00316.49
7.2.320.0120.00816.61
7.2.310.0030.01816.41
7.2.300.0030.01416.68
7.2.290.0110.00716.39
7.2.260.0130.00715.07
7.2.250.0100.00714.90
7.2.240.0060.00914.90
7.2.230.0040.01115.04
7.2.220.0100.01014.92
7.2.210.0060.00914.84
7.2.200.0090.00615.14
7.2.190.0070.00715.01
7.2.180.0070.00714.66
7.2.170.0060.00715.02
7.2.160.0090.00915.02
7.2.150.0090.00616.86
7.2.140.0040.00816.83
7.2.130.0090.00616.57
7.2.120.0030.00716.68
7.2.110.0080.00416.43
7.2.100.0040.00716.69
7.2.90.0100.00716.96
7.2.80.0030.00616.45
7.2.70.0090.00516.66
7.2.60.0050.00816.67
7.2.50.0070.00716.65
7.2.40.0060.01116.70
7.2.30.0100.00816.67
7.2.20.0050.00716.81
7.2.10.0110.00716.92
7.2.00.0090.00616.66
7.1.330.0070.00715.76
7.1.320.0070.00415.95
7.1.310.0080.00815.86
7.1.300.0100.00715.77
7.1.290.0030.00615.68
7.1.280.0120.00415.78
7.1.270.0040.01415.73
7.1.260.0060.00315.77
7.1.250.0140.00415.76
7.1.240.0060.00315.76
7.1.230.0000.01515.75
7.1.220.0030.01015.50
7.1.210.0060.00915.63
7.1.200.0070.00815.80
7.1.190.0100.00315.47
7.1.180.0080.00315.75
7.1.170.0030.01415.71
7.1.160.0060.01115.66
7.1.150.0080.00715.71
7.1.140.0060.00715.47
7.1.130.0080.00315.87
7.1.120.0030.01115.74
7.1.110.0050.00615.68
7.1.100.0110.00315.71
7.1.90.0020.00915.60
7.1.80.0080.00615.83
7.1.70.0060.00815.75
7.1.60.0120.01024.65
7.1.50.0140.01024.72
7.1.40.0190.00924.88
7.1.30.0170.00624.58
7.1.20.0110.01124.57
7.1.10.0070.00715.73
7.1.00.0020.01215.78
7.0.330.0000.01915.20
7.0.320.0030.01015.09
7.0.310.0100.00715.07
7.0.300.0070.00415.09
7.0.290.0060.01015.51
7.0.280.0090.00615.34
7.0.270.0030.01015.21
7.0.260.0060.00615.46
7.0.250.0030.01015.12
7.0.240.0050.00315.45
7.0.230.0030.01415.39
7.0.220.0030.00715.55
7.0.210.0080.00815.55
7.0.200.0030.01415.58
7.0.190.0080.00415.49
7.0.180.0060.00315.27
7.0.170.0060.00815.34
7.0.160.0040.01415.55
7.0.150.0070.00315.32
7.0.140.0070.01015.52
7.0.130.0100.00315.27
7.0.120.0000.01615.59
7.0.110.0030.00715.53
7.0.100.0090.00315.55
7.0.90.0030.00615.46
7.0.80.0070.01015.36
7.0.70.0120.00315.07
7.0.60.0000.01015.24
7.0.50.0080.00515.51
7.0.40.0030.01013.49
7.0.30.0030.00913.53
7.0.20.0040.00413.52
7.0.10.0030.00613.54
7.0.00.0000.01313.28
5.6.400.0030.01314.26
5.6.390.0040.00714.07
5.6.380.0110.00414.48
5.6.370.0030.01014.21
5.6.360.0100.01014.32
5.6.350.0030.01314.40
5.6.340.0000.01114.27
5.6.330.0140.00414.59
5.6.320.0080.00514.27
5.6.310.0060.01213.96
5.6.300.0070.00714.07
5.6.290.0030.01214.16
5.6.280.0090.00614.27
5.6.270.0090.00614.44
5.6.260.0130.00014.55
5.6.250.0080.00814.48
5.6.240.0070.01014.24
5.6.230.0030.00714.26
5.6.220.0090.00614.37
5.6.210.0040.00414.06
5.6.200.0040.00814.43
5.6.190.0070.00714.30
5.6.180.0030.01014.20
5.6.170.0060.00614.26
5.6.160.0030.00614.64
5.6.150.0150.00014.26
5.6.140.0000.01414.10
5.6.130.0070.00314.48
5.6.120.0070.00714.17
5.6.110.0080.00614.48
5.6.100.0050.00314.22
5.6.90.0040.00414.04
5.6.80.0000.01314.20
5.6.70.0030.00714.37
5.6.60.0030.00614.07
5.6.50.0030.01314.11
5.6.40.0030.00514.22
5.6.30.0040.01113.93
5.6.20.0050.00514.25
5.6.10.0050.00314.03
5.6.00.0030.00514.16

preferences:
48.33 ms | 1922 KiB | 5 Q