3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo htmlentities('https://exaple.com/path?userInput1=USER_INPUT&userInput2=USER_INPUT') . PHP_EOL; echo htmlspecialchars('https://exaple.com/path?userInput1=USER_INPUT&userInput2=USER_INPUT');

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.4.120.0120.00820.43
8.4.110.0100.00822.61
8.4.100.0100.01017.44
8.4.90.0120.00817.53
8.4.80.0120.00917.50
8.4.70.0130.00717.43
8.4.60.0120.00718.43
8.4.50.0150.00420.53
8.4.40.0160.00017.41
8.4.30.0090.01220.23
8.4.20.0130.00619.52
8.4.10.0060.00922.16
8.3.250.0110.00718.75
8.3.240.0120.00716.52
8.3.230.0090.00616.70
8.3.220.0110.00817.18
8.3.210.0040.00416.49
8.3.200.0050.00416.63
8.3.190.0070.00517.38
8.3.180.0110.00716.66
8.3.170.0110.00716.41
8.3.160.0070.01116.66
8.3.150.0090.00917.15
8.3.140.0060.00316.62
8.3.130.0030.00916.71
8.3.120.0080.00819.11
8.3.110.0090.00916.75
8.3.100.0040.00424.06
8.3.90.0060.00326.77
8.3.80.0040.00718.30
8.3.70.0080.00816.62
8.3.60.0120.00616.63
8.3.50.0030.01018.25
8.3.40.0190.00019.23
8.3.30.0120.00318.96
8.3.20.0080.00024.18
8.3.10.0070.00024.66
8.3.00.0080.00026.16
8.2.290.0090.00920.46
8.2.280.0040.00320.07
8.2.270.0040.01516.46
8.2.260.0080.00016.26
8.2.250.0060.00318.30
8.2.240.0160.00017.08
8.2.230.0080.00020.94
8.2.220.0040.00437.54
8.2.210.0050.00326.77
8.2.200.0030.00516.38
8.2.190.0030.01216.58
8.2.180.0110.00425.92
8.2.170.0000.01418.79
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0040.00419.54
8.2.110.0040.00419.23
8.2.100.0050.00517.66
8.2.90.0000.00817.70
8.2.80.0040.00419.11
8.2.70.0040.00417.38
8.2.60.0000.00717.80
8.2.50.0040.00418.07
8.2.40.0030.00618.21
8.2.30.0000.00818.05
8.2.20.0000.00720.38
8.2.10.0000.00817.85
8.2.00.0050.00319.03
8.1.330.0110.00718.43
8.1.320.0080.01315.71
8.1.310.0090.00017.82
8.1.300.0090.00618.44
8.1.290.0080.00030.84
8.1.280.0110.00325.92
8.1.270.0030.00623.99
8.1.260.0060.00326.35
8.1.250.0030.00528.09
8.1.240.0050.00523.77
8.1.230.0000.01120.97
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00717.13
8.1.190.0040.00417.22
8.1.180.0050.00318.10
8.1.170.0060.00318.71
8.1.160.0040.00418.90
8.1.150.0040.00418.44
8.1.140.0000.00817.28
8.1.130.0000.00718.71
8.1.120.0030.00617.42
8.1.110.0000.00717.26
8.1.100.0040.00417.29
8.1.90.0040.00417.38
8.1.80.0040.00417.31
8.1.70.0070.00017.39
8.1.60.0120.00217.43
8.1.50.0120.00417.33
8.1.40.0150.00517.43
8.1.30.0170.00317.46
8.1.20.0120.00817.50
8.1.10.0150.00417.36
8.1.00.0160.00317.32
8.0.300.0070.00020.15
8.0.290.0070.00416.58
8.0.280.0020.00518.32
8.0.270.0070.00016.68
8.0.260.0000.00618.43
8.0.250.0000.00816.76
8.0.240.0030.00316.85
8.0.230.0000.00716.77
8.0.220.0070.00016.73
8.0.210.0030.00316.80
8.0.200.0070.00316.87
8.0.190.0070.00716.80
8.0.180.0090.00716.75
8.0.170.0110.00516.72
8.0.160.0130.00316.78
8.0.150.0140.00316.71
8.0.140.0110.00516.72
8.0.130.0120.00416.78
8.0.120.0080.00716.77
8.0.110.0130.00216.78
8.0.100.0010.00816.71
8.0.90.0130.00216.70
8.0.80.0110.00516.81
8.0.70.0110.00416.73
8.0.60.0100.00616.52
8.0.50.0150.00016.49
8.0.30.0080.00716.58
8.0.20.0040.01216.73
8.0.10.0150.00316.85
7.4.330.0020.00215.55
7.4.320.0060.00016.27
7.4.300.0030.00316.37
7.4.290.0090.00316.38
7.4.280.0090.00516.35
7.4.270.0100.00516.45
7.4.260.0150.00516.33
7.4.250.0110.00416.35
7.4.240.0110.00316.41
7.4.230.0170.00016.18
7.4.220.0130.00216.36
7.4.210.0100.00416.40
7.4.200.0100.00316.34
7.4.190.0020.00916.48
7.4.180.0100.00316.47
7.4.160.0100.00516.21
7.4.150.0100.00516.18
7.4.140.0080.00516.36
7.4.130.0090.00416.24
7.4.120.0130.00216.17
7.4.110.0090.00316.01
7.4.100.0070.00616.36
7.4.90.0090.00616.31
7.4.80.0030.01216.35
7.4.70.0100.00516.28
7.4.60.0120.00416.27
7.4.50.0130.00416.21
7.4.40.0100.00516.22
7.4.30.0130.00316.41
7.4.20.0130.00316.26
7.4.10.0130.00216.29
7.4.00.0090.00716.27

preferences:
29.18 ms | 403 KiB | 5 Q