3v4l.org

run code in 300+ PHP versions simultaneously
<?php $orig = "Qébeq"; $a = htmlentities($orig); $b = html_entity_decode($a); echo $a; // I'll &quot;walk&quot; the &lt;b&gt;dog&lt;/b&gt; now echo $b; // I'll "walk" the <b>dog</b> now ?>

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.0070.00718.43
8.3.50.0070.01222.10
8.3.40.0090.00618.67
8.3.30.0170.00020.26
8.3.20.0070.00018.48
8.3.10.0040.00421.10
8.3.00.0070.00719.69
8.2.180.0110.00316.38
8.2.170.0080.00822.96
8.2.160.0030.01020.53
8.2.150.0080.00024.18
8.2.140.0050.00224.66
8.2.130.0080.00026.16
8.2.120.0070.00021.11
8.2.110.0090.00020.83
8.2.100.0060.00617.72
8.2.90.0000.00919.05
8.2.80.0030.00617.97
8.2.70.0050.00517.50
8.2.60.0000.00717.90
8.2.50.0040.00418.07
8.2.40.0070.00018.16
8.2.30.0050.00319.41
8.2.20.0040.00417.58
8.2.10.0070.00017.61
8.2.00.0000.00817.74
8.1.280.0120.00325.92
8.1.270.0080.00023.99
8.1.260.0100.00626.35
8.1.250.0000.00728.09
8.1.240.0040.00421.25
8.1.230.0110.00017.45
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0000.01217.00
8.1.190.0060.00317.23
8.1.180.0000.00718.10
8.1.170.0060.00318.42
8.1.160.0000.00818.81
8.1.150.0040.00418.48
8.1.140.0040.00417.30
8.1.130.0030.00317.82
8.1.120.0030.00317.27
8.1.110.0060.00317.27
8.1.100.0000.00717.45
8.1.90.0030.00317.32
8.1.80.0030.00517.30
8.1.70.0040.00417.25
8.1.60.0030.00517.42
8.1.50.0050.00217.37
8.1.40.0000.00817.45
8.1.30.0040.00417.53
8.1.20.0000.00817.57
8.1.10.0000.00817.53
8.1.00.0030.00517.48
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0000.00718.31
8.0.270.0000.00717.30
8.0.260.0000.00616.80
8.0.250.0000.00716.98
8.0.240.0000.00816.97
8.0.230.0000.00816.90
8.0.220.0030.00316.70
8.0.210.0030.00316.72
8.0.200.0040.00416.86
8.0.190.0060.00316.84
8.0.180.0000.00716.84
8.0.170.0000.00716.71
8.0.160.0000.00816.82
8.0.150.0070.00016.77
8.0.140.0000.00716.66
8.0.130.0060.00013.30
8.0.120.0030.00616.69
8.0.110.0000.00716.66
8.0.100.0040.00416.85
8.0.90.0040.00416.85
8.0.80.0140.00716.76
8.0.70.0030.00516.69
8.0.60.0030.00516.71
8.0.50.0000.00716.88
8.0.30.0110.00816.80
8.0.20.0140.00517.40
8.0.10.0000.00716.96
8.0.00.0040.01416.72
7.4.330.0000.00516.69
7.4.320.0040.00416.51
7.4.300.0000.00616.50
7.4.290.0050.00316.36
7.4.280.0000.00716.53
7.4.270.0000.00616.34
7.4.260.0050.00013.27
7.4.250.0000.00816.48
7.4.240.0000.00716.48
7.4.230.0070.00016.55
7.4.220.0120.00416.42
7.4.210.0080.00716.48
7.4.200.0000.00816.62
7.4.190.0000.00716.41
7.4.160.0060.01616.58
7.4.150.0140.00317.40
7.4.140.0090.01117.86
7.4.130.0110.00616.47
7.4.120.0030.01316.49
7.4.110.0050.01216.47
7.4.100.0100.00716.56
7.4.90.0070.01716.37
7.4.80.0060.01019.39
7.4.70.0120.00616.50
7.4.60.0120.00416.30
7.4.50.0050.00516.14
7.4.40.0070.00722.77
7.4.30.0030.01316.40
7.4.00.0090.00615.14
7.3.330.0030.00312.99
7.3.320.0060.00013.11
7.3.310.0030.00316.35
7.3.300.0000.00716.29
7.3.290.0110.00416.18
7.3.280.0090.00716.18
7.3.270.0070.01117.40
7.3.260.0110.01018.24
7.3.250.0110.00916.47
7.3.240.0090.01216.20
7.3.230.0000.01716.39
7.3.210.0030.01416.24
7.3.200.0120.00919.39
7.3.190.0070.01016.54
7.3.180.0160.00016.45
7.3.170.0090.00616.50
7.3.160.0040.01116.50
7.3.120.0060.00814.82
7.2.330.0100.01016.33
7.2.320.0150.00716.53
7.2.310.0090.00916.56
7.2.300.0070.01016.53
7.2.290.0050.01116.45
7.2.60.0040.01116.71
7.2.00.0030.00919.27
7.1.200.0030.00915.55
7.1.100.0070.00718.36
7.1.70.0050.00217.20
7.1.60.0030.00717.25
7.1.50.0070.00316.91
7.1.40.0000.01016.91
7.1.30.0040.00716.91
7.1.20.0040.01816.91
7.1.10.0030.00516.91
7.1.00.0050.00516.91
7.0.200.0030.00616.91
7.0.190.0000.01016.91
7.0.180.0000.01016.91
7.0.170.0040.01116.91
7.0.160.0030.01216.91
7.0.150.0000.00716.91
7.0.140.0040.00416.91
7.0.130.0070.01016.91
7.0.120.0030.01016.91
7.0.110.0040.00416.91
7.0.100.0050.00516.91
7.0.90.0030.00616.91
7.0.80.0040.00416.91
7.0.70.0000.00916.91
7.0.60.0030.01016.91
7.0.50.0030.01016.43
7.0.40.0040.00714.68
7.0.30.0070.00714.70
7.0.20.0040.00414.66
7.0.10.0000.00814.66
7.0.00.0060.00314.66
5.6.300.0070.04820.79
5.6.290.0070.08320.87
5.6.280.0100.07120.78
5.6.270.0100.04220.90
5.6.260.0100.04220.86
5.6.250.0070.04121.04
5.6.240.0090.03520.96
5.6.230.0000.04820.95
5.6.220.0030.04020.90
5.6.210.0030.07921.00
5.6.200.0030.04220.83
5.6.190.0030.04320.77
5.6.180.0000.04720.82
5.6.170.0000.04720.82
5.6.160.0030.04020.76
5.6.150.0100.04120.73
5.6.140.0030.05421.01
5.6.130.0060.04220.82
5.6.120.0030.05920.95
5.6.110.0130.03921.02
5.6.100.0070.08020.91
5.6.90.0060.04420.89
5.6.80.0030.07520.18
5.6.70.0030.04620.42
5.6.60.0030.04120.35
5.6.50.0000.04020.31
5.6.40.0030.05120.28
5.6.30.0000.04320.21
5.6.20.0030.04720.39
5.6.10.0000.08620.35
5.6.00.0130.03320.33
5.5.380.0030.04717.50
5.5.370.0070.03717.46
5.5.360.0130.02917.45
5.5.350.0030.03717.56
5.5.340.0000.04417.75
5.5.330.0030.04618.03
5.5.320.0030.04517.95
5.5.310.0000.04818.03
5.5.300.0070.04818.02
5.5.290.0060.05418.03
5.5.280.0030.04918.03
5.5.270.0000.04517.94
5.5.260.0060.04517.73
5.5.250.0060.04817.64
5.5.240.0030.05117.29
5.5.230.0030.05017.08
5.5.220.0030.04017.32
5.5.210.0000.06117.40
5.5.200.0000.04017.09
5.5.190.0030.03917.21
5.5.180.0100.06217.32
5.5.160.0030.04217.46
5.5.150.0000.04417.40
5.5.140.0060.03817.34
5.5.130.0030.04117.38
5.5.120.0100.03317.31
5.5.110.0040.03617.29
5.5.100.0000.04417.37
5.5.90.0000.03917.14
5.5.80.0030.07417.28
5.5.70.0030.04017.21
5.5.60.0000.04217.27
5.5.50.0000.03817.18
5.5.40.0060.04816.94
5.5.30.0030.05917.21
5.5.20.0030.04817.30
5.5.10.0030.03717.22
5.5.00.0030.04216.93
5.4.450.0070.08419.39
5.4.440.0030.04019.25
5.4.430.0070.03919.18
5.4.420.0000.04619.40
5.4.410.0030.03819.21
5.4.400.0070.07618.86
5.4.390.0070.05318.98
5.4.380.0030.03718.88
5.4.370.0030.03718.81
5.4.360.0030.04118.98
5.4.350.0030.03918.88
5.4.340.0030.07519.06
5.4.320.0000.04118.98
5.4.310.0030.03818.94
5.4.300.0310.04119.03
5.4.290.0060.03819.09
5.4.280.0000.04518.83
5.4.270.0030.04619.05
5.4.260.0100.03319.17
5.4.250.0030.06019.14
5.4.240.0030.03619.14
5.4.230.0000.04418.83
5.4.220.0000.04119.04
5.4.210.0030.03918.82
5.4.200.0000.05418.97
5.4.190.0040.04918.97
5.4.180.0160.02918.87
5.4.170.0030.04419.13
5.4.160.0030.04219.04
5.4.150.0000.04219.15
5.4.140.0030.03416.70
5.4.130.0000.04016.35
5.4.120.0030.03716.44
5.4.110.0000.04016.42
5.4.100.0100.03316.58
5.4.90.0070.03316.51
5.4.80.0070.03016.62
5.4.70.0070.03316.63
5.4.60.0030.03616.63
5.4.50.0000.03916.59
5.4.40.0030.03316.60
5.4.30.0070.03016.47
5.4.20.0030.03316.32
5.4.10.0030.04216.60
5.4.00.0030.03615.89
5.3.290.0090.03114.78
5.3.280.0060.03514.69
5.3.270.0030.03714.82
5.3.260.0120.03114.66
5.3.250.0000.03914.66
5.3.240.0030.04014.75
5.3.230.0000.04114.66
5.3.220.0100.03014.66
5.3.210.0030.03814.71
5.3.200.0030.04514.71
5.3.190.0070.03614.66
5.3.180.0030.03514.80
5.3.170.0030.03914.66
5.3.160.0000.04314.71
5.3.150.0070.03014.69
5.3.140.0030.03814.66
5.3.130.0000.04714.76
5.3.120.0000.04214.66
5.3.110.0030.04914.66
5.3.100.0030.03914.66
5.3.90.0030.03814.66
5.3.80.0060.03214.66
5.3.70.0000.03714.66
5.3.60.0030.03414.66
5.3.50.0060.03614.66
5.3.40.0000.04214.66
5.3.30.0030.03414.66
5.3.20.0000.04014.66
5.3.10.0030.03414.66
5.3.00.0060.03114.66
5.2.170.0070.05714.66
5.2.160.0030.02814.66
5.2.150.0000.03314.66
5.2.140.0030.03914.66
5.2.130.0030.02914.66
5.2.120.0000.03114.66
5.2.110.0030.03114.66
5.2.100.0090.02214.66
5.2.90.0000.05614.66
5.2.80.0070.04014.66
5.2.70.0000.06114.66
5.2.60.0000.06714.66
5.2.50.0000.04514.66
5.2.40.0000.03014.66
5.2.30.0000.03014.66
5.2.20.0000.03414.66
5.2.10.0000.03114.66
5.2.00.0030.02714.66
5.1.60.0030.03014.66
5.1.50.0030.03014.66
5.1.40.0030.02514.66
5.1.30.0030.02714.66
5.1.20.0070.05214.66
5.1.10.0030.02514.66
5.1.00.0000.03014.66
5.0.50.0000.02514.66
5.0.40.0060.01614.66
5.0.30.0060.02614.66
5.0.20.0030.02014.66
5.0.10.0000.02814.66
5.0.00.0030.02814.66
4.4.90.0030.03014.66
4.4.80.0000.02414.66
4.4.70.0000.01714.66
4.4.60.0000.01714.66
4.4.50.0000.01614.66
4.4.40.0030.03114.66
4.4.30.0000.02114.66
4.4.20.0000.03214.66
4.4.10.0000.01914.66
4.4.00.0030.02514.66
4.3.110.0000.01714.66
4.3.100.0030.01514.66
4.3.90.0000.01614.66
4.3.80.0030.04514.66
4.3.70.0000.01614.66
4.3.60.0030.01314.66
4.3.50.0000.01814.66
4.3.40.0000.02714.66
4.3.30.0000.01914.66
4.3.20.0000.01914.66
4.3.10.0000.01714.66
4.3.00.0000.01714.66

preferences:
41.45 ms | 401 KiB | 5 Q