3v4l.org

run code in 300+ PHP versions simultaneously
<?php $UserID = '<script>alert(XSS)</script>'; ?> <div> UserID: <?php echo htmlspecialchars($UserID); ?>は見つかりません。 </div>

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.0130.00316.38
8.3.50.0100.00316.15
8.3.40.0100.00618.45
8.3.30.0070.00718.48
8.3.20.0040.00421.81
8.3.10.0070.00023.65
8.3.00.0040.00421.95
8.2.180.0070.00718.09
8.2.170.0040.01118.69
8.2.160.0140.00022.96
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00317.93
8.2.110.0180.00022.29
8.2.100.0070.00417.72
8.2.90.0030.00517.91
8.2.80.0040.00419.03
8.2.70.0050.00317.79
8.2.60.0070.00217.38
8.2.50.0040.00418.22
8.2.40.0030.00620.47
8.2.30.0000.01020.57
8.2.20.0000.00718.07
8.2.10.0060.00318.02
8.2.00.0070.00019.69
8.1.280.0140.00425.92
8.1.270.0040.00422.13
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.96
8.1.230.0040.00720.96
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0050.00317.23
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0060.00318.64
8.1.160.0000.00718.88
8.1.150.0000.00720.17
8.1.140.0030.00617.63
8.1.130.0040.00418.92
8.1.120.0000.00717.28
8.1.110.0000.00717.37
8.1.100.0040.00417.46
8.1.90.0030.00317.42
8.1.80.0040.00417.39
8.1.70.0030.00317.41
8.1.60.0060.00317.41
8.1.50.0040.00417.50
8.1.40.0000.00817.47
8.1.30.0000.00717.59
8.1.20.0030.00617.53
8.1.10.0050.00217.54
8.1.00.0000.00817.43
8.0.300.0040.00420.08
8.0.290.0040.00416.75
8.0.280.0070.00018.31
8.0.270.0050.00216.73
8.0.260.0030.00316.88
8.0.250.0050.00316.86
8.0.240.0000.00716.89
8.0.230.0080.00016.76
8.0.220.0030.00316.78
8.0.210.0070.00016.83
8.0.200.0060.00316.89
8.0.190.0000.00816.81
8.0.180.0070.00016.68
8.0.170.0030.00616.89
8.0.160.0030.00316.89
8.0.150.0040.00416.79
8.0.140.0030.00316.70
8.0.130.0000.00513.29
8.0.120.0080.00016.84
8.0.110.0040.00416.84
8.0.100.0000.00716.84
8.0.90.0000.00716.71
8.0.80.0060.00916.79
8.0.70.0080.00016.67
8.0.60.0040.00416.95
8.0.50.0020.00516.65
8.0.30.0080.01117.02
8.0.20.0120.00917.40
8.0.10.0040.00416.78
8.0.00.0110.00916.55
7.4.330.0050.00015.55
7.4.320.0060.00316.50
7.4.300.0030.00316.58
7.4.290.0080.00016.42
7.4.280.0050.00316.43
7.4.270.0040.00316.44
7.4.260.0030.00316.51
7.4.250.0030.00516.53
7.4.240.0030.00316.55
7.4.230.0040.00416.30
7.4.220.0000.00716.62
7.4.210.0110.00716.43
7.4.200.0000.00716.54
7.4.160.0090.00716.47
7.4.140.0080.00817.86
7.4.130.0080.00816.46
7.4.120.0130.00416.33
7.4.110.0070.01016.50
7.4.100.0030.01316.57
7.4.90.0160.00816.25
7.4.80.0040.02119.39
7.4.70.0090.00916.40
7.4.60.0110.00816.48
7.4.50.0160.00316.26
7.4.40.0070.01016.41
7.4.00.0080.00315.10
7.3.330.0050.00013.02
7.3.320.0060.00012.98
7.3.310.0030.00315.96
7.3.300.0040.00416.10
7.3.290.0050.00916.17
7.3.280.0070.00716.23
7.3.260.0100.01016.34
7.3.240.0080.01216.29
7.3.230.0140.00316.30
7.3.210.0060.01216.11
7.3.200.0130.00316.26
7.3.190.0080.00816.52
7.3.180.0100.00616.18
7.3.170.0100.01016.41
7.3.160.0110.00516.27
7.2.330.0090.00916.55
7.2.320.0090.00916.49
7.2.310.0090.00916.41
7.2.300.0100.00716.49
7.2.290.0060.01316.54
7.2.60.0140.00016.64
7.2.30.0100.01319.25
7.2.20.0070.01419.48
7.2.10.0110.01019.68
7.2.00.0100.01419.71
7.1.200.0040.00715.84
7.1.150.0040.01318.54
7.1.140.0090.01218.56
7.1.130.0090.01218.55
7.1.120.0060.01618.75
7.1.110.0080.01017.89
7.1.100.0090.01218.16
7.1.90.0100.01018.16
7.1.80.0060.01718.05
7.1.70.0050.01117.20
7.1.60.0290.02235.04
7.1.50.0280.02134.75
7.1.40.0270.00834.43
7.1.30.0330.01534.54
7.1.20.0240.01434.47
7.1.10.0090.01216.55
7.1.00.0070.01516.53

preferences:
57.49 ms | 401 KiB | 5 Q