3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "<p>&Omicron; &Mu;&pi;&#972;&nu;&omicron;&upsilon;&sigmaf; &Gamma;&#973;&rho;&omicron;&sigmaf; Drunken Clam &theta;&alpha; &delta;&epsilon;&#943;&tau;&epsilon; &theta;&alpha; &epsilon;&#943;&nu;&alpha;&iota; &sigma;&epsilon; &theta;&#941;&sigma;&eta; &nu;&alpha; &kappa;&epsilon;&rho;&delta;&#943;&zeta;&epsilon;&iota; &#972;&sigma;&omicron; 1000&Chi; &tau;&omicron;&upsilon; &sigma;&upsilon;&nu;&omicron;&lambda;&iota;&kappa;&omicron;&#973; &sigma;&tau;&omicron;&iota;&chi;&#942;&mu;&alpha;&tau;&omicron;&sigmaf; &epsilon;&pi;&iota;&lambda;&#941;&gamma;&omicron;&nu;&tau;&alpha;&sigmaf; &epsilon;&#943;&tau;&epsilon; Cleveland, Peter, Quagmire, &kappa;&alpha;&iota;</p>"; echo html_entity_decode($str, ENT_COMPAT | ENT_HTML401, "UTF-8");

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.4.10.0070.01017.44
8.3.140.0040.00417.33
8.3.130.0060.00316.46
8.3.120.0040.00418.74
8.3.110.0060.00320.94
8.3.100.0090.00024.06
8.3.90.0040.00416.50
8.3.80.0030.00617.97
8.3.70.0110.01116.50
8.3.60.0090.00918.43
8.3.50.0120.00721.91
8.3.40.0110.00318.74
8.3.30.0070.01018.77
8.3.20.0100.00423.03
8.3.10.0070.00723.01
8.3.00.0110.00324.60
8.2.260.0080.00016.79
8.2.250.0050.00318.13
8.2.240.0040.00418.61
8.2.230.0070.00322.58
8.2.220.0040.01137.54
8.2.210.0080.00026.77
8.2.200.0070.00316.50
8.2.190.0040.01118.04
8.2.180.0030.01716.32
8.2.170.0110.01122.96
8.2.160.0060.00920.35
8.2.150.0120.00325.66
8.2.140.0070.00725.16
8.2.130.0110.00325.91
8.2.120.0080.00725.91
8.2.110.0110.00523.26
8.2.100.0090.00721.79
8.2.90.0100.00521.79
8.2.80.0060.00922.41
8.2.70.0110.00421.85
8.2.60.0070.00722.00
8.2.50.0110.00421.88
8.2.40.0090.00723.45
8.2.30.0100.00622.49
8.2.20.0120.00421.67
8.2.10.0090.00721.77
8.2.00.0120.00321.78
8.1.300.0100.00017.65
8.1.290.0050.00518.88
8.1.280.0040.01125.92
8.1.270.0110.00225.16
8.1.260.0060.00726.01
8.1.250.0090.00326.88
8.1.240.0090.00522.59
8.1.230.0070.00723.27
8.1.220.0050.00721.72
8.1.210.0090.00522.22
8.1.200.0070.00721.45
8.1.190.0040.00721.38
8.1.180.0060.00621.88
8.1.170.0050.00722.10
8.1.160.0060.00623.11
8.1.150.0020.00922.30
8.1.140.0080.00422.61
8.1.130.0050.00521.53
8.1.120.0060.00519.03
8.1.110.0110.00220.17
8.1.100.0080.00520.13
8.1.90.0070.00720.11
8.1.80.0110.00320.11
8.1.70.0080.00620.13
8.1.60.0100.00520.25
8.1.50.0050.01020.22
8.1.40.0130.00220.20
8.1.30.0070.00720.28
8.1.20.0060.00820.25
8.1.10.0120.00220.24
8.1.00.0090.00620.11
8.0.300.0040.00722.88
8.0.290.0120.00521.14
8.0.280.0160.00222.03
8.0.270.0080.00321.19
8.0.260.0090.00721.28
8.0.250.0120.00521.30
8.0.240.0120.00419.85
8.0.230.0100.00619.81
8.0.220.0130.00319.74
8.0.210.0130.00619.78
8.0.200.0070.00819.79
8.0.190.0160.00319.81
8.0.180.0070.00619.78
8.0.170.0130.00519.79
8.0.160.0080.00619.81
8.0.150.0100.00719.72
8.0.140.0130.00419.70
8.0.130.0120.00418.59
8.0.120.0120.00519.74
8.0.110.0080.00519.73
8.0.100.0120.00419.72
8.0.90.0100.00619.70
8.0.80.0090.00719.81
8.0.70.0120.00119.72
8.0.60.0080.00819.71
8.0.50.0130.00419.70
8.0.30.0090.00819.02
8.0.20.0100.00718.62
8.0.10.0110.00819.15
8.0.00.0140.00818.12
7.4.330.0030.00521.28
7.4.320.0160.00419.46
7.4.300.0130.00719.53
7.4.290.0120.00819.55
7.4.280.0120.00819.56
7.4.270.0160.00619.48
7.4.260.0210.00319.52
7.4.250.0180.00219.54
7.4.240.0110.00719.51
7.4.230.0140.00519.55
7.4.220.0140.00819.53
7.4.210.0140.00619.53
7.4.200.0120.00519.50
7.4.190.0160.00621.07
7.4.180.0160.00621.07
7.4.160.0130.00618.79
7.4.150.0130.00719.01
7.4.140.0140.00718.42
7.4.130.0170.00518.02
7.4.120.0120.00817.74
7.4.110.0140.00817.92
7.4.100.0120.00817.98
7.4.90.0100.00917.95
7.4.80.0120.00717.99
7.4.70.0130.01017.90
7.4.60.0150.00817.87
7.4.50.0160.00817.87
7.4.40.0150.00717.85
7.4.30.0120.00817.93
7.4.20.0150.00618.22
7.4.10.0200.00618.20
7.4.00.0110.00817.74
7.3.330.0120.00618.28
7.3.320.0100.00618.29
7.3.310.0120.00519.28
7.3.300.0100.00719.26
7.3.290.0130.00618.03
7.3.280.0140.00617.37
7.3.270.0170.00519.35
7.3.260.0120.00718.05
7.3.250.0140.00617.61
7.3.240.0150.00617.62
7.3.230.0100.00917.84
7.3.220.0130.00618.02
7.3.210.0100.01017.77
7.3.200.0100.00917.77
7.3.190.0120.00917.76
7.3.180.0150.00617.78
7.3.170.0190.00317.78
7.3.160.0170.00517.71
7.3.150.0140.00818.03
7.3.140.0140.00818.01
7.3.130.0130.00818.05
7.3.120.0140.00818.09
7.3.110.0170.00518.08
7.3.100.0120.01018.02
7.3.90.0160.00617.60
7.3.80.0180.00617.54
7.3.70.0170.00717.58
7.3.60.0130.00917.60
7.3.50.0160.00817.57
7.3.40.0160.00817.58
7.3.30.0150.00817.54
7.3.20.0160.00817.54
7.3.10.0150.00617.41
7.3.00.0160.00917.37
7.2.340.0190.00918.17
7.2.330.0210.00517.91
7.2.320.0190.01017.91
7.2.310.0140.01017.99
7.2.300.0160.00817.96
7.2.290.0190.00817.95
7.2.280.0170.00818.14
7.2.270.0180.00718.25
7.2.260.0150.00918.18
7.2.250.0190.00718.15
7.2.240.0170.00918.20
7.2.230.0210.00418.19
7.2.220.0180.00517.68
7.2.210.0180.00617.66
7.2.200.0180.00917.66
7.2.190.0190.00617.62
7.2.180.0200.00617.71
7.2.170.0160.01117.65
7.2.160.0200.00717.70
7.2.150.0200.00717.72
7.2.140.0190.00617.71
7.2.130.0160.00617.63
7.2.120.0160.00817.67
7.2.110.0170.00717.64
7.2.100.0140.00917.59
7.2.90.0170.00717.61
7.2.80.0140.00917.60
7.2.70.0250.00517.54
7.2.60.0200.00617.49
7.2.50.0190.00617.60
7.2.40.0190.00517.67
7.2.30.0150.00917.58
7.2.20.0180.00817.65
7.2.10.0170.00717.63
7.2.00.0210.00817.61
7.1.330.0190.00817.50
7.1.320.0270.00616.95
7.1.310.0150.01016.99
7.1.300.0190.00616.88
7.1.290.0170.00716.98
7.1.280.0220.00816.91
7.1.270.0200.00916.91
7.1.260.0160.00816.85
7.1.250.0200.00616.70
7.1.240.0190.00816.88
7.1.230.0170.00816.90
7.1.220.0270.00816.83
7.1.210.0160.00716.89
7.1.200.0180.00516.63
7.1.190.0180.00716.82
7.1.180.0190.00716.90
7.1.170.0190.00516.84
7.1.160.0200.00616.88
7.1.150.0150.00916.84
7.1.140.0250.00616.89
7.1.130.0170.00816.83
7.1.120.0170.00816.82
7.1.110.0140.01016.88
7.1.100.0170.00716.88
7.1.90.0200.00416.94
7.1.80.0190.00616.82
7.1.70.0190.00816.64
7.1.60.0240.00516.69
7.1.50.0190.00916.60
7.1.40.0250.00716.62
7.1.30.0240.00516.61
7.1.20.0250.00616.65
7.1.10.0240.00716.64
7.1.00.0250.00816.54
7.0.330.0160.00816.53
7.0.320.0170.00716.62
7.0.310.0150.00816.62
7.0.300.0200.00516.62
7.0.290.0130.01116.63
7.0.280.0180.00816.58
7.0.270.0170.00816.58
7.0.260.0170.00816.59
7.0.250.0270.00716.80
7.0.240.0230.00516.66
7.0.230.0180.00716.71
7.0.220.0170.00916.66
7.0.210.0170.00616.60
7.0.200.0240.00616.45
7.0.190.0250.00616.45
7.0.180.0190.00816.46
7.0.170.0250.00516.53
7.0.160.0270.00616.46
7.0.150.0190.00916.39
7.0.140.0260.00716.38
7.0.130.0250.00916.38
7.0.120.0270.00816.45
7.0.110.0250.00816.45
7.0.100.0210.00516.55
7.0.90.0150.00816.59
7.0.80.0160.01016.62
7.0.70.0140.00916.56
7.0.60.0150.00816.56
7.0.50.0250.00616.56
7.0.40.0120.00916.40
7.0.30.0180.00916.39
7.0.20.0160.00716.38
7.0.10.0160.00616.38
7.0.00.0120.00916.43
5.6.400.0150.01817.28
5.6.390.0140.01817.21
5.6.380.0140.01717.20
5.6.370.0150.01617.22
5.6.360.0170.02117.19
5.6.350.0160.01917.15
5.6.340.0190.01917.23
5.6.330.0160.01717.26
5.6.320.0200.01717.19
5.6.310.0150.01817.19
5.6.300.0170.01917.66
5.6.290.0180.01917.67
5.6.280.0220.01717.71
5.6.270.0160.02117.71
5.6.260.0170.02817.71
5.6.250.0210.01717.68
5.6.240.0160.02817.75
5.6.230.0170.02017.72
5.6.220.0170.02517.68
5.6.210.0170.02317.72
5.6.200.0190.02117.76
5.6.190.0150.02217.72
5.6.180.0160.02017.68
5.6.170.0150.02717.75
5.6.160.0150.02417.76
5.6.150.0180.01717.70
5.6.140.0150.02117.79
5.6.130.0110.02317.70
5.6.120.0150.02017.66
5.6.110.0190.02117.71
5.6.100.0140.02417.70
5.6.90.0140.02317.67
5.6.80.0130.02117.58
5.6.70.0130.02317.63
5.6.60.0160.02117.62
5.6.50.0170.01817.62
5.6.40.0140.02017.61
5.6.30.0150.02117.59
5.6.20.0150.02517.55
5.6.10.0170.02017.60
5.6.00.0200.01721.95
5.5.380.0180.02117.24
5.5.370.0170.02217.25
5.5.360.0140.02017.14
5.5.350.0180.01917.11
5.5.340.0140.02117.26
5.5.330.0140.02417.24
5.5.320.0140.02117.18
5.5.310.0170.01817.23
5.5.300.0150.02417.21
5.5.290.0120.02217.23
5.5.280.0130.02417.29
5.5.270.0160.02317.24
5.5.260.0170.01917.20
5.5.250.0180.02017.30
5.5.240.0140.02317.10
5.5.230.0120.02417.17
5.5.220.0150.02017.14
5.5.210.0150.02417.23
5.5.200.0150.01817.06
5.5.190.0150.02317.09
5.5.180.0160.01817.11
5.5.170.0200.01517.08
5.5.160.0150.02017.08
5.5.150.0170.01717.06
5.5.140.0150.02017.06
5.5.130.0150.02317.00
5.5.120.0170.02117.00
5.5.110.0130.02417.05
5.5.100.0150.02317.15
5.5.90.0130.02117.16
5.5.80.0130.02117.08
5.5.70.0180.01717.11
5.5.60.0150.02317.17
5.5.50.0150.02417.07
5.5.40.0160.01917.13
5.5.30.0200.01817.22
5.5.20.0170.02117.13
5.5.10.0170.02117.07
5.5.00.0190.01917.07

preferences:
28.71 ms | 403 KiB | 5 Q