3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(html_entity_decode('&#xd800;')); var_dump(htmlentities('�')); // value from above (hhvm output) var_dump(htmlentities(html_entitiy_decode('&#xd800;')));

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.00316.50
8.3.50.0140.00322.81
8.3.40.0040.01118.75
8.3.30.0030.01018.95
8.3.20.0050.00220.21
8.3.10.0080.00021.83
8.3.00.0030.00617.59
8.2.180.0170.00316.75
8.2.170.0090.00622.96
8.2.160.0070.00722.25
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0060.00326.16
8.2.120.0040.00420.96
8.2.110.0040.00422.25
8.2.100.0080.00417.66
8.2.90.0050.00319.22
8.2.80.0090.00017.97
8.2.70.0000.00817.38
8.2.60.0080.00017.80
8.2.50.0030.00518.07
8.2.40.0000.00718.18
8.2.30.0050.00318.09
8.2.20.0040.00417.78
8.2.10.0040.00418.05
8.2.00.0060.00317.68
8.1.280.0150.00625.92
8.1.270.0090.00323.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0050.00523.91
8.1.230.0030.00719.23
8.1.220.0000.00917.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0040.00417.10
8.1.180.0050.00319.01
8.1.170.0060.00318.61
8.1.160.0040.00421.88
8.1.150.0030.00518.69
8.1.140.0040.00417.16
8.1.130.0000.00719.59
8.1.120.0070.00017.38
8.1.110.0040.00417.33
8.1.100.0000.00717.34
8.1.90.0040.00317.32
8.1.80.0070.00017.27
8.1.70.0050.00317.30
8.1.60.0040.00417.36
8.1.50.0030.00617.44
8.1.40.0030.00617.47
8.1.30.0050.00317.57
8.1.20.0000.00817.47
8.1.10.0000.00917.40
8.1.00.0070.00417.49
8.0.300.0000.00818.77
8.0.290.0070.00016.75
8.0.280.0070.00018.38
8.0.270.0020.00517.10
8.0.260.0000.00817.14
8.0.250.0030.00316.86
8.0.240.0080.00016.93
8.0.230.0000.00716.82
8.0.220.0030.00316.83
8.0.210.0000.00716.91
8.0.200.0030.00316.94
8.0.190.0030.00516.82
8.0.180.0040.00416.93
8.0.170.0080.00016.80
8.0.160.0030.00316.79
8.0.150.0050.00216.80
8.0.140.0000.01016.75
8.0.130.0050.00013.33
8.0.120.0050.00216.73
8.0.110.0000.00816.90
8.0.100.0050.00216.89
8.0.90.0000.00816.69
8.0.80.0140.00816.86
8.0.70.0070.00016.80
8.0.60.0040.00416.78
8.0.50.0050.00216.74
8.0.30.0120.00717.03
8.0.20.0130.00617.40
8.0.10.0000.00716.91
8.0.00.0080.01016.65
7.4.330.0000.00515.02
7.4.320.0060.00016.42
7.4.300.0000.00616.43
7.4.290.0030.00316.51
7.4.280.0000.00916.53
7.4.270.0000.00716.54
7.4.260.0030.00316.39
7.4.250.0040.00416.48
7.4.240.0030.00316.54
7.4.230.0030.00316.55
7.4.220.0030.01716.45
7.4.210.0070.00716.63
7.4.200.0030.00316.52
7.4.160.0100.00516.57
7.4.150.0090.00917.40
7.4.140.0110.00617.86
7.4.130.0100.01016.46
7.4.120.0050.01416.52
7.4.110.0110.00716.50
7.4.100.0150.00616.52
7.4.90.0180.00016.64
7.4.80.0120.00619.39
7.4.70.0090.00616.41
7.4.60.0090.00616.52
7.4.50.0040.00416.51
7.4.40.0130.00316.34
7.4.30.0090.00616.42
7.4.00.0030.00614.78
7.3.330.0050.00013.00
7.3.320.0000.00512.98
7.3.310.0040.00416.34
7.3.300.0030.00316.26
7.3.290.0100.00316.31
7.3.280.0090.00816.29
7.3.270.0110.01117.40
7.3.260.0090.00916.66
7.3.240.0100.01116.27
7.3.230.0030.01816.47
7.3.210.0100.00716.21
7.3.200.0090.01219.39
7.3.190.0100.00616.41
7.3.180.0030.01616.34
7.3.170.0100.01016.31
7.3.160.0110.00416.20
7.2.330.0080.01216.57
7.2.320.0030.01816.59
7.2.310.0130.00316.38
7.2.300.0060.00916.30
7.2.290.0140.00416.55
7.2.60.0150.00016.94
7.2.00.0060.00919.14
7.1.200.0050.00515.40
7.1.100.0000.01018.16
7.1.70.0080.00817.20
7.1.60.0140.01019.40
7.1.50.0070.01716.65
7.1.00.0030.07722.29
7.0.200.0040.00416.76
7.0.140.0070.06722.18
7.0.60.0100.08320.02
7.0.50.0030.06717.90
7.0.40.0130.08020.21
7.0.30.0170.04720.09
7.0.20.0170.04720.20
7.0.10.0130.08320.07
7.0.00.0070.04320.16
5.6.280.0170.05720.88
5.6.210.0030.04320.49
5.6.200.0070.08018.21
5.6.190.0100.06720.60
5.6.180.0370.03320.43
5.6.170.0130.06020.31
5.6.160.0030.06020.61
5.6.150.0100.04018.13
5.6.140.0070.06318.14
5.6.130.0070.08318.21
5.6.120.0230.06721.14
5.6.110.0170.07321.04
5.6.100.0000.08021.03
5.6.90.0030.06021.02
5.6.80.0170.04320.50
5.5.350.3130.03720.43
5.5.340.0130.07317.98
5.5.330.0070.06320.19
5.5.320.0300.07020.31
5.5.310.0230.07720.29
5.5.300.0100.08017.91
5.5.290.0030.04717.86
5.5.280.0100.07320.86
5.5.270.0130.07720.87
5.5.260.0130.07720.84
5.5.250.0100.08320.61
5.5.240.0130.06720.28
5.4.450.0300.04319.46
5.4.440.0670.04319.29
5.4.430.0570.04019.14
5.4.420.0370.04319.23
5.4.410.0300.04719.43
5.4.400.0270.04319.10
5.4.390.0470.04319.13
5.4.380.0800.06718.72
5.4.370.1030.04718.71
5.4.360.2330.06318.61
5.4.350.0930.06718.65
5.4.340.1170.05018.65
5.4.320.0080.04012.45
5.4.310.0050.04112.45
5.4.300.0060.03512.45
5.4.290.0100.03312.45
5.4.280.0070.03412.34
5.4.270.0060.04112.35
5.4.260.0050.03912.35
5.4.250.0060.03712.35
5.4.240.0100.03412.34
5.4.230.0070.04012.34
5.4.220.0130.04112.34
5.4.210.0040.04012.34
5.4.200.0050.04012.34
5.4.190.0080.03712.33
5.4.180.0070.04312.33
5.4.170.0080.03612.35
5.4.160.0120.03712.34
5.4.150.0030.04012.34
5.4.140.0070.03712.02
5.4.130.0060.03712.01
5.4.120.0060.03411.97
5.4.110.0080.03811.96
5.4.100.0050.04311.96
5.4.90.0080.03911.96
5.4.80.0030.04011.96
5.4.70.0040.03611.96
5.4.60.0050.03611.96
5.4.50.0060.03911.96
5.4.40.0050.03411.95
5.4.30.0070.03411.94
5.4.20.0060.03611.95
5.4.10.0060.03611.94
5.4.00.0070.03511.44
5.3.290.0060.03912.80
5.3.280.0050.03812.71
5.3.270.0070.04712.73
5.3.260.0050.04112.72
5.3.250.0100.05112.72
5.3.240.0080.04412.72
5.3.230.0130.03512.71
5.3.220.0070.03912.68
5.3.210.0080.03912.68
5.3.200.0080.04612.68
5.3.190.0100.04612.68
5.3.180.0060.05112.68
5.3.170.0060.03712.67
5.3.160.0080.03712.67
5.3.150.0080.03812.67
5.3.140.0060.04012.66
5.3.130.0110.03412.66
5.3.120.0040.04012.66
5.3.110.0060.03912.66
5.3.100.0060.04212.12
5.3.90.0100.04212.08
5.3.80.0030.03812.07
5.3.70.0040.05312.07
5.3.60.0070.03512.06
5.3.50.0050.03712.00
5.3.40.0050.03812.00
5.3.30.0090.03511.95
5.3.20.0040.03711.72
5.3.10.0050.04211.69
5.3.00.0070.03611.68
5.2.170.0070.0299.18
5.2.160.0030.0319.18
5.2.150.0060.0309.18
5.2.140.0040.0319.18
5.2.130.0050.0309.14
5.2.120.0050.0289.13
5.2.110.0050.0299.14
5.2.100.0070.0329.14
5.2.90.0030.0319.14
5.2.80.0090.0299.14
5.2.70.0030.0369.14
5.2.60.0050.0309.09
5.2.50.0040.0319.05
5.2.40.0090.0259.03
5.2.30.0080.0419.02
5.2.20.0060.0309.00
5.2.10.0090.0338.93
5.2.00.0030.0318.79
5.1.60.0040.0258.07
5.1.50.0060.0298.07
5.1.40.0070.0298.05
5.1.30.0070.0248.40
5.1.20.0070.0268.43
5.1.10.0070.0238.15
5.1.00.0070.0228.14
5.0.50.0040.0246.62
5.0.40.0080.0176.48
5.0.30.0020.0396.30
5.0.20.0010.0226.27
5.0.10.0030.0216.24
5.0.00.0050.0306.24
4.4.90.0070.0104.78
4.4.80.0030.0154.75
4.4.70.0030.0154.75
4.4.60.0030.0154.75
4.4.50.0020.0154.77
4.4.40.0040.0264.71
4.4.30.0030.0154.76
4.4.20.0050.0144.85
4.4.10.0030.0164.85
4.4.00.0030.0274.76
4.3.110.0050.0174.67
4.3.100.0020.0164.67
4.3.90.0040.0144.63
4.3.80.0030.0244.58
4.3.70.0030.0144.63
4.3.60.0030.0144.62
4.3.50.0010.0184.63
4.3.40.0030.0234.54
4.3.30.0020.0163.29
4.3.20.0020.0163.27
4.3.10.0000.0203.23
4.3.00.0030.01715.91

preferences:
45.58 ms | 401 KiB | 5 Q