3v4l.org

run code in 300+ PHP versions simultaneously
<?php $orig = "I'll \"walk\" the <b>dog</b> now"; $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.0140.00318.31
8.3.50.0080.00722.11
8.3.40.0080.00818.75
8.3.30.0040.01120.30
8.3.20.0040.00418.63
8.3.10.0040.00421.10
8.3.00.0050.00519.67
8.2.180.0140.00316.50
8.2.170.0110.00322.96
8.2.160.0100.00320.51
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00420.94
8.2.110.0040.00420.40
8.2.100.0060.00617.56
8.2.90.0060.00319.05
8.2.80.0000.00819.32
8.2.70.0030.00817.63
8.2.60.0080.00017.80
8.2.50.0100.00418.78
8.2.40.0090.00418.88
8.2.30.0090.00419.40
8.2.20.0080.00518.60
8.2.10.0070.00718.63
8.2.00.0120.00318.61
8.1.280.0130.00325.92
8.1.270.0000.00823.99
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0040.00422.45
8.1.230.0070.00420.97
8.1.220.0040.00418.77
8.1.210.0040.00418.96
8.1.200.0150.00516.88
8.1.190.0000.00717.40
8.1.180.0080.00518.79
8.1.170.0100.00318.99
8.1.160.0060.00519.14
8.1.150.0090.00419.02
8.1.140.0100.00318.39
8.1.130.0060.00718.68
8.1.120.0100.00418.44
8.1.110.0050.00818.42
8.1.100.0080.00618.37
8.1.90.0070.00618.43
8.1.80.0110.00318.37
8.1.70.0130.00018.39
8.1.60.0140.00118.46
8.1.50.0090.00318.11
8.1.40.0050.00718.12
8.1.30.0070.00618.16
8.1.20.0020.01018.22
8.1.10.0080.00718.14
8.1.00.0070.00718.05
8.0.300.0000.00720.02
8.0.290.0050.00217.18
8.0.280.0100.00318.99
8.0.270.0040.00918.37
8.0.260.0100.00218.12
8.0.250.0100.00318.20
8.0.240.0100.00518.17
8.0.230.0060.00718.15
8.0.220.0100.00418.15
8.0.210.0050.00718.16
8.0.200.0070.00618.21
8.0.190.0090.00318.19
8.0.180.0090.00417.70
8.0.170.0040.00917.67
8.0.160.0090.00517.70
8.0.150.0060.00617.66
8.0.140.0090.00217.65
8.0.130.0060.00416.53
8.0.120.0100.00117.66
8.0.110.0040.00617.72
8.0.100.0080.00317.67
8.0.90.0070.00417.69
8.0.80.0070.00917.71
8.0.70.0090.00317.60
8.0.60.0070.00517.69
8.0.50.0100.00217.69
8.0.30.0110.00717.55
8.0.20.0110.00517.79
8.0.10.0080.00417.71
8.0.00.0110.00817.48
7.4.330.0040.00618.19
7.4.320.0080.00418.03
7.4.300.0110.00117.97
7.4.290.0070.00317.46
7.4.280.0040.00817.39
7.4.270.0040.00717.44
7.4.260.0090.00216.38
7.4.250.0120.00017.43
7.4.240.0090.00317.43
7.4.230.0070.00517.50
7.4.220.0080.00917.44
7.4.210.0090.00617.00
7.4.200.0090.00417.32
7.4.190.0070.00517.39
7.4.180.0070.00817.98
7.4.160.0060.00917.52
7.4.150.0120.00517.80
7.4.140.0070.01117.86
7.4.130.0080.00917.17
7.4.120.0110.00717.15
7.4.110.0140.00417.39
7.4.100.0110.00717.53
7.4.90.0130.00617.36
7.4.80.0140.00418.41
7.4.70.0070.01117.35
7.4.60.0070.01017.41
7.4.50.0090.00617.39
7.4.40.0110.00619.54
7.4.30.0070.01117.43
7.4.20.0120.00617.85
7.4.10.0120.00617.94
7.4.00.0130.00416.95
7.3.330.0100.00416.25
7.3.320.0100.00416.20
7.3.310.0110.00417.27
7.3.300.0130.00217.23
7.3.290.0110.00617.30
7.3.280.0130.00716.86
7.3.270.0140.00617.74
7.3.260.0140.00718.05
7.3.250.0090.00917.02
7.3.240.0130.00517.23
7.3.230.0100.00817.37
7.3.220.0140.00417.81
7.3.210.0130.00617.31
7.3.200.0110.00918.39
7.3.190.0150.00617.33
7.3.180.0130.00617.31
7.3.170.0140.00517.37
7.3.160.0140.00517.24
7.3.150.0140.00517.76
7.3.140.0160.00317.71
7.3.130.0100.00917.83
7.3.120.0120.00516.74
7.3.110.0120.00717.72
7.3.100.0130.00617.67
7.3.90.0140.00617.95
7.3.80.0150.00317.84
7.3.70.0150.00417.82
7.3.60.0110.00617.92
7.3.50.0150.00417.82
7.3.40.0130.00617.80
7.3.30.0120.00617.90
7.3.20.0130.00518.85
7.3.10.0100.00518.09
7.3.00.0080.01017.97
7.2.340.0140.00617.79
7.2.330.0120.00617.31
7.2.320.0140.00717.36
7.2.310.0110.00617.39
7.2.300.0090.00917.27
7.2.290.0110.00717.44
7.2.280.0100.00717.92
7.2.270.0160.00117.82
7.2.260.0140.00317.87
7.2.250.0130.00417.80
7.2.240.0110.00617.79
7.2.230.0160.00217.83
7.2.220.0140.00417.83
7.2.210.0150.00317.81
7.2.200.0170.00217.91
7.2.190.0140.00517.97
7.2.180.0080.01017.84
7.2.170.0120.00418.00
7.2.160.0140.00317.96
7.2.150.0150.00318.88
7.2.140.0120.00518.93
7.2.130.0100.00518.24
7.2.120.0080.00818.22
7.2.110.0290.00317.23
7.2.100.0300.00417.31
7.2.90.0290.00517.31
7.2.80.0270.00717.30
7.2.70.0310.00817.33
7.2.60.0270.00617.39
7.2.50.0310.00717.36
7.2.40.0330.00617.45
7.2.30.0260.00817.43
7.2.20.0250.00617.16
7.2.10.0260.00717.26
7.2.00.0230.00517.38
7.1.330.0150.00118.35
7.1.320.0130.00318.36
7.1.310.0150.00118.37
7.1.300.0090.00718.42
7.1.290.0140.00318.48
7.1.280.0150.00418.36
7.1.270.0090.00718.35
7.1.260.0120.00518.29
7.1.250.0100.00717.33
7.1.240.0080.00918.29
7.1.230.0350.00216.80
7.1.220.0270.00716.88
7.1.210.0320.00416.86
7.1.200.0350.00616.87
7.1.190.0290.00516.79
7.1.180.0340.00516.79
7.1.170.0320.00716.87
7.1.160.0320.00516.90
7.1.150.0290.00416.85
7.1.140.0260.00516.74
7.1.130.0260.00616.82
7.1.120.0270.00416.75
7.1.110.0250.00416.65
7.1.100.0220.00117.10
7.1.90.0220.00216.85
7.1.80.0160.00716.78
7.1.70.0120.00816.98
7.1.60.0220.00521.48
7.1.50.0180.00821.20
7.1.40.0170.00921.27
7.1.30.0170.00521.21
7.1.20.0190.00721.37
7.1.10.0170.00316.88
7.1.00.0140.00316.77
7.0.330.0080.00818.21
7.0.320.0120.00318.19
7.0.310.0450.00716.71
7.0.300.0340.00316.58
7.0.290.0300.00716.71
7.0.280.0270.00616.59
7.0.270.0270.00516.57
7.0.260.0310.00816.62
7.0.250.0250.00416.64
7.0.240.0250.00516.69
7.0.230.0210.00316.77
7.0.220.0200.00516.71
7.0.210.0140.00916.72
7.0.200.0130.00516.68
7.0.190.0140.00516.71
7.0.180.0130.00616.64
7.0.170.0140.00416.61
7.0.160.0130.00616.46
7.0.150.0130.00716.51
7.0.140.0110.00716.64
7.0.130.0140.00516.76
7.0.120.0130.00616.57
7.0.110.0120.00716.63
7.0.100.0120.00716.49
7.0.90.0140.00516.61
7.0.80.0970.00316.69
7.0.70.0080.00816.63
7.0.60.0130.00716.53
7.0.50.0110.01016.69
7.0.40.0140.00616.49
7.0.30.0130.00616.58
7.0.20.0110.00716.49
7.0.10.0120.00716.50
7.0.00.0130.00516.56
5.6.400.0130.00217.54
5.6.390.0080.00717.64
5.6.380.0110.00316.39
5.6.370.0120.00516.34
5.6.360.0110.00616.47
5.6.350.0120.00516.45
5.6.340.0090.00816.50
5.6.330.0110.00616.55
5.6.320.0120.00516.48
5.6.310.0100.00716.36
5.6.300.0090.01417.56
5.6.290.0110.01317.63
5.6.280.0130.01917.58
5.6.270.0070.02917.54
5.6.260.0090.01917.61
5.6.250.0120.01617.61
5.6.240.0120.01317.56
5.6.230.0100.01417.56
5.6.220.0090.01817.54
5.6.210.0080.01917.66
5.6.200.0110.01317.63
5.6.190.0060.02717.68
5.6.180.0100.01417.62
5.6.170.0100.02217.61
5.6.160.0130.01317.65
5.6.150.0100.01417.63
5.6.140.0090.01917.62
5.6.130.0100.01417.60
5.6.120.0100.02217.62
5.6.110.0120.02317.58
5.6.100.0130.01217.58
5.6.90.0090.01517.44
5.6.80.0120.01217.40
5.6.70.0060.01917.46
5.6.60.0100.01817.41
5.6.50.0110.01217.38
5.6.40.0080.01517.39
5.6.30.0110.01217.39
5.6.20.0090.01617.41
5.6.10.0100.01517.35
5.6.00.0100.01517.35
5.5.380.0070.01616.02
5.5.370.0060.01516.00
5.5.360.0100.01315.90
5.5.350.0070.01716.03
5.5.340.0100.01216.13
5.5.330.0060.02316.05
5.5.320.0100.01316.13
5.5.310.0050.01616.06
5.5.300.0090.01716.09
5.5.290.0080.02016.10
5.5.280.0110.01216.10
5.5.270.0090.02416.14
5.5.260.0060.01616.13
5.5.250.0090.01316.03
5.5.240.0080.01416.00
5.5.230.0090.01315.89
5.5.220.0090.01815.94
5.5.210.0090.01515.93
5.5.200.0100.01215.96
5.5.190.0070.01415.94
5.5.180.0080.01515.90
5.5.170.0080.00616.36
5.5.160.0050.01815.91
5.5.150.0080.01415.83
5.5.140.0120.01215.83
5.5.130.0100.01315.83
5.5.120.0100.01215.88
5.5.110.0080.01515.85
5.5.100.0080.01315.87
5.5.90.0090.01315.86
5.5.80.0100.01415.79
5.5.70.0120.01315.86
5.5.60.0100.01115.94
5.5.50.0100.01415.95
5.5.40.0090.01415.86
5.5.30.0080.01315.91
5.5.20.0090.01315.94
5.5.10.0090.01115.92
5.5.00.0100.01215.92
5.4.450.0090.01815.64
5.4.440.0070.02315.63
5.4.430.0050.02515.69
5.4.420.0110.01215.71
5.4.410.0070.01315.58
5.4.400.0090.01415.58
5.4.390.0110.01315.55
5.4.380.0070.01315.58
5.4.370.0100.01215.54
5.4.360.0100.01215.52
5.4.350.0080.01415.63
5.4.340.0060.01915.55
5.4.330.0080.00514.42
5.4.320.0090.01115.56
5.4.310.0090.01215.58
5.4.300.0110.01215.56
5.4.290.0060.01515.58
5.4.280.0080.01315.60
5.4.270.0080.01415.50
5.4.260.0090.01415.57
5.4.250.0110.01215.59
5.4.240.0110.01015.55
5.4.230.0090.01315.49
5.4.220.0080.01315.53
5.4.210.0090.01315.49
5.4.200.0080.01515.48
5.4.190.0080.01415.48
5.4.180.0090.01215.51
5.4.170.0080.01315.49
5.4.160.0080.01615.51
5.4.150.0080.01515.52
5.4.140.0070.01315.00
5.4.130.0070.01314.92
5.4.120.0150.00914.92
5.4.110.0090.01314.92
5.4.100.0070.01314.95
5.4.90.0090.01214.95
5.4.80.0050.01514.96
5.4.70.0070.01314.92
5.4.60.0080.01115.00
5.4.50.0090.01314.94
5.4.40.0070.01414.99
5.4.30.0070.01414.98
5.4.20.0110.01114.99
5.4.10.0100.01114.89
5.4.00.0110.00914.78
5.3.290.0100.01114.97
5.3.280.0070.01414.91
5.3.270.0090.01214.95
5.3.260.0070.01515.01
5.3.250.0080.01315.00
5.3.240.0100.01314.88
5.3.230.0100.01214.94
5.3.220.0120.00914.88
5.3.210.0080.01114.88
5.3.200.0080.01114.91
5.3.190.0060.01514.92
5.3.180.0090.02014.92
5.3.170.0100.01114.92
5.3.160.0080.01415.01
5.3.150.0110.01315.01
5.3.140.0100.01114.90
5.3.130.0110.01114.91
5.3.120.0110.00914.93
5.3.110.0090.01214.91
5.3.100.0080.01314.99
5.3.90.0060.01314.93
5.3.80.0080.01414.90
5.3.70.0080.01214.87
5.3.60.0060.01314.99
5.3.50.0160.01014.91
5.3.40.0070.01214.88
5.3.30.0090.01214.93
5.3.20.0070.01214.93
5.3.10.0060.01414.92
5.3.00.0070.01214.84

preferences:
46.42 ms | 401 KiB | 5 Q