3v4l.org

run code in 300+ PHP versions simultaneously
<?php $UserID = '<script>alert(XSS)</script>'; ?> <div> UserID: <?php echo htmlspecialchars((int)$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.0080.00818.31
8.3.50.0030.01016.50
8.3.40.0140.00718.61
8.3.30.0130.00318.58
8.3.20.0070.00021.84
8.3.10.0040.00423.52
8.3.00.0000.00822.14
8.2.180.0120.00618.44
8.2.170.0100.00322.96
8.2.160.0000.01422.96
8.2.150.0100.00725.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00419.66
8.2.110.0100.01322.12
8.2.100.0120.00017.82
8.2.90.0000.00817.97
8.2.80.0000.00819.03
8.2.70.0040.00417.88
8.2.60.0050.00317.50
8.2.50.0040.00418.22
8.2.40.0000.00820.34
8.2.30.0000.00922.46
8.2.20.0050.00218.04
8.2.10.0090.00318.00
8.2.00.0040.00417.91
8.1.280.0140.00725.92
8.1.270.0030.00622.02
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.84
8.1.230.0070.00620.74
8.1.220.0050.00317.74
8.1.210.0030.00718.77
8.1.200.0030.00517.23
8.1.190.0040.00417.13
8.1.180.0040.00418.10
8.1.170.0000.00818.47
8.1.160.0000.00718.73
8.1.150.0000.00820.20
8.1.140.0040.00417.57
8.1.130.0030.00517.30
8.1.120.0070.00017.41
8.1.110.0040.00417.41
8.1.100.0030.00317.45
8.1.90.0030.00317.36
8.1.80.0030.00617.33
8.1.70.0040.00417.51
8.1.60.0030.00617.51
8.1.50.0050.00317.54
8.1.40.0070.00017.48
8.1.30.0080.00017.64
8.1.20.0020.00517.58
8.1.10.0040.00417.41
8.1.00.0040.00417.37
8.0.300.0080.00020.16
8.0.290.0000.00716.75
8.0.280.0080.00018.38
8.0.270.0070.00017.17
8.0.260.0030.00316.73
8.0.250.0030.00316.84
8.0.240.0000.00716.94
8.0.230.0040.00416.80
8.0.220.0000.00716.84
8.0.210.0060.00016.83
8.0.200.0090.00016.93
8.0.190.0040.00416.88
8.0.180.0030.00316.84
8.0.170.0060.00316.89
8.0.160.0000.00716.86
8.0.150.0040.00416.69
8.0.140.0040.00416.63
8.0.130.0050.00013.25
8.0.120.0000.01016.86
8.0.110.0000.00816.81
8.0.100.0000.00716.83
8.0.90.0070.00016.66
8.0.80.0060.01316.81
8.0.70.0000.00816.63
8.0.60.0070.00016.64
8.0.50.0050.00316.73
8.0.30.0090.00716.94
8.0.20.0100.00917.40
8.0.10.0000.00716.88
8.0.00.0070.01016.88
7.4.330.0000.00515.55
7.4.320.0070.00016.43
7.4.300.0060.00016.49
7.4.290.0030.00516.44
7.4.280.0080.00016.63
7.4.270.0030.00316.59
7.4.260.0040.00416.55
7.4.250.0070.00016.54
7.4.240.0070.00016.36
7.4.230.0000.00716.43
7.4.220.0000.00816.63
7.4.210.0030.01116.68
7.4.200.0000.00716.48
7.4.160.0100.00716.48
7.4.140.0100.00817.86
7.4.130.0070.01116.55
7.4.120.0130.00816.48
7.4.110.0060.01216.54
7.4.100.0070.01016.50
7.4.90.0100.00716.38
7.4.80.0060.01219.39
7.4.70.0110.00816.52
7.4.60.0160.00716.42
7.4.50.0110.00716.51
7.4.40.0060.00916.41
7.4.00.0070.01015.16
7.3.330.0030.00313.04
7.3.320.0030.00313.11
7.3.310.0030.00316.16
7.3.300.0000.00616.07
7.3.290.0050.00816.19
7.3.280.0030.01216.23
7.3.260.0080.01216.32
7.3.240.0120.00616.31
7.3.230.0000.01716.16
7.3.210.0130.00716.47
7.3.200.0110.01116.19
7.3.190.0090.00616.49
7.3.180.0070.01016.34
7.3.170.0120.00916.20
7.3.160.0060.01016.15
7.3.10.0100.00316.72
7.3.00.0150.00016.47
7.2.330.0150.00416.39
7.2.320.0100.01016.38
7.2.310.0100.00616.43
7.2.300.0070.01016.30
7.2.290.0110.00716.36
7.2.130.0130.00316.82
7.2.120.0040.01116.96
7.2.110.0110.00416.65
7.2.100.0040.00716.89
7.2.90.0030.01516.89
7.2.80.0030.01016.81
7.2.70.0090.00016.57
7.2.60.0070.00916.92
7.2.50.0090.00616.88
7.2.40.0040.01116.91
7.2.30.0070.01018.62
7.2.20.0090.00918.65
7.2.10.0060.01118.74
7.2.00.0050.01318.75
7.1.250.0000.00915.53
7.1.200.0040.00715.66
7.1.150.0100.01118.44
7.1.140.0080.01318.42
7.1.130.0050.01418.44
7.1.120.0100.01018.37
7.1.110.0070.01117.83
7.1.100.0090.00917.90
7.1.90.0090.01216.97
7.1.80.0070.01117.02
7.1.70.0110.00916.11
7.1.60.0240.01233.99
7.1.50.0250.01333.71
7.1.40.0250.01333.36
7.1.30.0270.02033.42
7.1.20.0280.01633.44
7.1.10.0070.01215.63
7.1.00.0100.01015.74

preferences:
52.29 ms | 401 KiB | 5 Q