3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '★★ "It\'s a game that feels familiar, though Iever played anything like it." - Kotaku ★★'; var_dump(htmlspecialchars($string, ENT_HTML401));

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.0040.01216.63
8.3.50.0070.01022.93
8.3.40.0000.01418.71
8.3.30.0120.00318.92
8.3.20.0040.00420.16
8.3.10.0030.00523.70
8.3.00.0040.00419.26
8.2.180.0090.00618.30
8.2.170.0090.00622.96
8.2.160.0080.00820.25
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0060.00319.36
8.2.110.0000.00920.39
8.2.100.0080.00317.91
8.2.90.0080.00018.09
8.2.80.0040.00417.97
8.2.70.0040.00417.25
8.2.60.0000.00717.93
8.2.50.0000.00818.07
8.2.40.0020.00517.97
8.2.30.0030.00319.44
8.2.20.0030.00517.49
8.2.10.0040.00417.93
8.2.00.0020.00517.66
8.1.280.0110.00325.92
8.1.270.0040.00423.85
8.1.260.0030.01526.35
8.1.250.0040.00428.09
8.1.240.0060.00322.06
8.1.230.0110.00020.85
8.1.220.0030.00517.74
8.1.210.0060.00318.79
8.1.200.0070.00317.23
8.1.190.0050.00317.00
8.1.180.0080.00018.76
8.1.170.0030.00618.54
8.1.160.0000.00721.88
8.1.150.0030.00518.87
8.1.140.0020.00517.43
8.1.130.0030.00517.73
8.1.120.0050.00217.42
8.1.110.0040.00417.27
8.1.100.0000.00717.39
8.1.90.0090.00017.41
8.1.80.0000.00717.38
8.1.70.0030.00317.28
8.1.60.0000.01217.50
8.1.50.0000.00917.46
8.1.40.0000.00717.38
8.1.30.0000.00817.57
8.1.20.0040.00417.49
8.1.10.0050.00217.42
8.1.00.0060.00317.26
8.0.300.0070.00020.05
8.0.290.0040.00416.63
8.0.280.0070.00018.38
8.0.270.0030.00317.25
8.0.260.0000.00817.09
8.0.250.0050.00216.77
8.0.240.0000.00816.86
8.0.230.0000.00716.92
8.0.220.0030.00316.77
8.0.210.0030.00316.89
8.0.200.0030.00316.90
8.0.190.0000.00716.89
8.0.180.0000.00816.89
8.0.170.0080.00016.83
8.0.160.0040.00316.74
8.0.150.0030.00316.66
8.0.140.0040.00416.68
8.0.130.0000.00613.29
8.0.120.0040.00416.78
8.0.110.0050.00316.73
8.0.100.0040.00416.81
8.0.90.0040.00416.86
8.0.80.0120.00316.82
8.0.70.0030.00616.73
8.0.60.0000.00716.86
8.0.50.0040.00416.84
8.0.30.0080.01316.92
8.0.20.0180.00717.40
8.0.10.0000.00716.84
8.0.00.0130.00516.71
7.4.330.0060.00015.00
7.4.320.0030.00316.53
7.4.300.0000.00616.54
7.4.290.0000.00716.55
7.4.280.0080.00016.33
7.4.270.0030.00316.45
7.4.260.0090.00316.41
7.4.250.0080.00016.48
7.4.240.0030.00416.48
7.4.230.0030.00316.52
7.4.220.0030.01516.47
7.4.210.0030.01216.56
7.4.200.0070.00016.27
7.4.160.0090.00616.29
7.4.150.0150.00617.40
7.4.140.0080.01017.86
7.4.130.0030.01316.49
7.4.120.0100.00816.51
7.4.110.0070.01016.57
7.4.100.0110.00716.57
7.4.90.0070.01016.54
7.4.80.0000.01619.39
7.4.70.0130.00316.37
7.4.60.0070.01016.45
7.4.50.0050.00316.62
7.4.40.0100.00716.47
7.4.30.0080.00816.33
7.4.00.0050.00914.75
7.3.330.0030.00312.95
7.3.320.0000.00613.01
7.3.310.0070.00016.13
7.3.300.0030.00316.10
7.3.290.0070.01016.14
7.3.280.0060.01016.13
7.3.270.0060.01717.40
7.3.260.0060.01016.17
7.3.250.0070.01016.40
7.3.240.0090.01416.00
7.3.230.0060.00916.39
7.3.210.0030.01516.11
7.3.200.0030.01919.39
7.3.190.0030.01516.25
7.3.180.0120.00316.20
7.3.170.0130.00616.50
7.3.160.0060.00916.34
7.3.120.0100.01014.81
7.3.110.0060.01314.57
7.3.100.0120.00614.69
7.3.90.0060.01014.75
7.3.80.0090.00314.66
7.3.70.0000.01314.76
7.3.60.0090.00614.74
7.3.50.0090.00614.63
7.3.40.0040.01114.55
7.3.30.0030.00714.48
7.3.20.0120.00316.60
7.3.10.0100.00316.33
7.3.00.0070.00816.39
7.2.330.0070.01016.53
7.2.320.0090.00916.52
7.2.310.0090.00916.27
7.2.300.0150.00416.54
7.2.290.0130.00316.45
7.2.250.0030.00914.81
7.2.240.0110.00714.66
7.2.230.0000.01414.79
7.2.220.0120.00014.63
7.2.210.0070.01014.90
7.2.200.0030.01314.44
7.2.190.0040.00814.89
7.2.180.0000.02014.80
7.2.170.0130.00314.76
7.2.160.0040.01114.77
7.2.150.0060.00616.67
7.2.140.0060.00616.74
7.2.130.0060.00516.79
7.2.120.0050.00716.68
7.2.110.0050.01016.66
7.2.100.0040.00916.74
7.2.90.0060.00716.68
7.2.80.0040.00716.69
7.2.70.0030.01116.61
7.2.60.0080.00616.77
7.2.50.0050.00616.70
7.2.40.0030.00716.72
7.2.30.0020.00816.82
7.2.20.0070.00616.67
7.2.10.0050.00716.73
7.2.00.0100.00517.32
7.1.330.0040.01215.52
7.1.320.0030.01315.88
7.1.310.0030.01015.78
7.1.300.0050.00515.69
7.1.290.0030.00915.97
7.1.280.0030.00715.69
7.1.270.0100.00315.73
7.1.260.0110.00415.86
7.1.250.0040.00815.57
7.1.240.0090.00615.88
7.1.230.0060.00615.47
7.1.220.0040.01215.55
7.1.210.0120.00315.83
7.1.200.0000.01015.85
7.1.190.0040.01115.63
7.1.180.0040.00915.77
7.1.170.0000.01115.38
7.1.160.0070.00415.82
7.1.150.0070.00715.60
7.1.140.0000.01315.51
7.1.130.0000.00915.51
7.1.120.0060.01015.71
7.1.110.0030.01015.78
7.1.100.0050.00816.90
7.1.90.0040.01215.69
7.1.80.0000.01015.64
7.1.70.0050.00516.29
7.1.60.0050.00517.67
7.1.50.0120.00616.29
7.1.40.0140.00315.59
7.1.30.0030.01415.73
7.1.20.0070.00715.32
7.1.10.0070.00315.71
7.1.00.0020.04019.08
7.0.330.0000.01115.26
7.0.320.0030.01015.43
7.0.310.0000.01415.32
7.0.300.0070.00715.18
7.0.290.0060.00615.25
7.0.280.0050.00315.42
7.0.270.0000.01315.25
7.0.260.0000.01315.12
7.0.250.0040.00715.07
7.0.240.0060.00615.19
7.0.230.0030.00715.25
7.0.220.0100.00315.52
7.0.210.0030.01015.05
7.0.200.0020.01015.76
7.0.190.0040.00415.32
7.0.180.0030.00915.16
7.0.170.0070.00715.46
7.0.160.0070.00715.38
7.0.150.0030.00715.42
7.0.140.0020.04218.66
7.0.130.0040.00815.46
7.0.120.0070.00715.27
7.0.110.0040.00715.39
7.0.100.0040.00815.40
7.0.90.0040.01115.47
7.0.80.0030.00915.30
7.0.70.0120.00315.31
7.0.60.0030.03217.63
7.0.50.0080.02116.62
7.0.40.0050.03916.74
7.0.30.0200.04616.71
7.0.20.0180.02516.71
7.0.10.0110.03016.79
7.0.00.0060.04116.74
5.6.400.0040.01113.97
5.6.390.0110.00014.36
5.6.380.0040.00414.37
5.6.370.0040.00913.89
5.6.360.0030.00914.00
5.6.350.0090.00314.42
5.6.340.0070.00314.21
5.6.330.0040.01114.19
5.6.320.0000.01414.46
5.6.310.0000.01814.42
5.6.300.0030.01014.19
5.6.290.0090.00314.28
5.6.280.0070.03817.66
5.6.270.0040.00414.04
5.6.260.0070.00714.12
5.6.250.0060.00914.28
5.6.240.0000.01414.46
5.6.230.0030.00914.07
5.6.220.0060.00614.25
5.6.210.0060.04417.30
5.6.200.0020.04416.15
5.6.190.0030.04517.44
5.6.180.0150.04317.42
5.6.170.0160.02217.36
5.6.160.0050.03117.38
5.6.150.0050.04516.11
5.6.140.0080.03916.20
5.6.130.0040.03916.22
5.6.120.0070.04417.68
5.6.110.0050.04817.56
5.6.100.0050.02117.63
5.6.90.0110.03817.56
5.6.80.0050.03217.23
5.6.70.0040.00714.09
5.6.60.0110.00414.01
5.6.50.0000.01314.28
5.6.40.0110.00414.09
5.6.30.0070.00713.98
5.6.20.0060.00914.15
5.6.10.0070.00614.22
5.6.00.0060.00614.27
5.5.380.0030.00614.00
5.5.370.0060.00613.86
5.5.360.0070.00313.97
5.5.350.0100.02917.26
5.5.340.0100.03416.00
5.5.330.0050.02317.29
5.5.320.0120.04317.06
5.5.310.0150.04317.46
5.5.300.0050.02615.99
5.5.290.0050.04415.98
5.5.280.0020.02517.43
5.5.270.0080.03817.35
5.5.260.0050.04017.48
5.5.250.0070.02717.48
5.5.240.0000.04317.07
5.5.230.0040.00813.89
5.5.220.0000.00913.98
5.5.210.0040.00714.20
5.5.200.0090.00314.17
5.5.190.0030.01014.28
5.5.180.0030.01314.10
5.5.170.0030.00614.04
5.5.160.0030.00513.94
5.5.150.0070.00714.20
5.5.140.0100.00314.18
5.5.130.0000.01114.05
5.5.120.0060.01214.16
5.5.110.0140.00414.16
5.5.100.0090.00614.24
5.5.90.0030.00913.84
5.5.80.0030.01314.39
5.5.70.0030.01314.16
5.5.60.0060.00613.80
5.5.50.0070.00714.09
5.5.40.0000.01013.99
5.5.30.0040.00713.89
5.5.20.0030.00914.15
5.5.10.0060.00913.98
5.5.00.0090.00613.58
5.4.450.0280.01716.13
5.4.440.0200.02716.02
5.4.430.0130.02816.21
5.4.420.0240.02315.98
5.4.410.0050.04015.91
5.4.400.0280.02216.00
5.4.390.0110.02315.95
5.4.380.0150.03315.70
5.4.370.0420.03515.79
5.4.360.0220.04215.73
5.4.350.0170.04315.78
5.4.340.0270.03615.74
5.4.330.0000.00812.84
5.4.320.0040.02212.64
5.4.310.0050.02512.64
5.4.300.0030.02312.64
5.4.290.0050.02112.64
5.4.280.0020.02312.59
5.4.270.0060.02012.59
5.4.260.0090.01912.59
5.4.250.0050.02012.59
5.4.240.0070.01912.59
5.4.230.0080.01912.59
5.4.220.0040.02112.59
5.4.210.0100.01812.59
5.4.200.0040.02212.59
5.4.190.0060.02112.59
5.4.180.0090.01912.59
5.4.170.0030.02412.59
5.4.160.0050.01912.59
5.4.150.0050.02012.59
5.4.140.0020.02412.43
5.4.130.0050.02012.42
5.4.120.0050.02212.40
5.4.110.0040.02412.40
5.4.100.0060.02612.40
5.4.90.0040.02212.40
5.4.80.0050.02712.40
5.4.70.0080.02312.40
5.4.60.0070.02212.40
5.4.50.0080.02312.40
5.4.40.0070.02112.39
5.4.30.0070.02112.39
5.4.20.0040.02312.39
5.4.10.0060.02312.39
5.4.00.0050.02112.13
5.3.290.0030.04912.80
5.3.280.0100.04312.71
5.3.270.0070.04812.73
5.3.260.0060.04712.72
5.3.250.0050.03812.72
5.3.240.0050.03912.72
5.3.230.0080.03612.71
5.3.220.0070.03412.68
5.3.210.0040.04012.68
5.3.200.0080.03912.68
5.3.190.0070.03912.68
5.3.180.0070.03512.68
5.3.170.0050.03612.66
5.3.160.0010.04112.68
5.3.150.0030.04312.68
5.3.140.0060.04112.66
5.3.130.0080.04612.66
5.3.120.0080.03612.66
5.3.110.0130.04712.65
5.3.100.0080.04612.12
5.3.90.0070.03612.09
5.3.80.0050.03612.08
5.3.70.0080.03312.07
5.3.60.0080.03412.06
5.3.50.0060.03612.00
5.3.40.0080.03712.00
5.3.30.0080.03311.94
5.3.20.0070.03411.72
5.3.10.0070.03311.69
5.3.00.0080.03311.67
5.2.170.0010.0349.18
5.2.160.0070.0279.18
5.2.150.0050.0309.18
5.2.140.0050.0309.17
5.2.130.0030.0309.13
5.2.120.0050.0289.14
5.2.110.0040.0309.14
5.2.100.0080.0259.13
5.2.90.0060.0289.13
5.2.80.0100.0259.13
5.2.70.0030.0319.13
5.2.60.0040.0319.08
5.2.50.0090.0259.05
5.2.40.0040.0309.03
5.2.30.0040.0319.01
5.2.20.0070.0279.00
5.2.10.0080.0248.92
5.2.00.0070.0298.77
5.1.60.0030.0268.06
5.1.50.0040.0348.05
5.1.40.0030.0308.04
5.1.30.0080.0228.39
5.1.20.0030.0278.41
5.1.10.0040.0268.13
5.1.00.0030.0268.13
5.0.50.0040.0206.61
5.0.40.0030.0256.47
5.0.30.0020.0326.28
5.0.20.0020.0206.26
5.0.10.0020.0216.23
5.0.00.0030.0316.23
4.4.90.0040.0144.78
4.4.80.0040.0144.75
4.4.70.0040.0144.75
4.4.60.0010.0184.75
4.4.50.0030.0154.77
4.4.40.0030.0244.71
4.4.30.0020.0164.76
4.4.20.0040.0144.84
4.4.10.0000.0184.85
4.4.00.0020.0254.76
4.3.110.0020.0164.67
4.3.100.0030.0144.67
4.3.90.0010.0164.64
4.3.80.0010.0264.58
4.3.70.0020.0194.63
4.3.60.0040.0184.63
4.3.50.0020.0234.63
4.3.40.0020.0334.54
4.3.30.0030.0213.29
4.3.20.0020.0183.27
4.3.10.0000.0183.23
4.3.00.0070.01718.56

preferences:
65.74 ms | 400 KiB | 5 Q