3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); $id = 1; echo htmlspecialchars($id);

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.0100.00618.43
8.3.50.0170.00316.28
8.3.40.0140.00318.70
8.3.30.0070.00718.58
8.3.20.0040.00421.77
8.3.10.0040.00421.64
8.3.00.0000.00719.05
8.2.180.0110.00718.29
8.2.170.0070.00722.96
8.2.160.0030.01022.08
8.2.150.0070.00024.18
8.2.140.0070.00024.66
8.2.130.0000.00720.64
8.2.120.0000.00726.35
8.2.110.0030.00722.13
8.2.100.0060.00617.72
8.2.90.0040.00417.93
8.2.80.0000.00817.97
8.2.70.0080.00017.80
8.2.60.0040.00417.93
8.2.50.0000.00818.10
8.2.40.0020.00520.42
8.2.30.0030.00519.17
8.2.20.0070.00017.97
8.2.10.0000.00718.09
8.2.00.0040.00418.00
8.1.280.0070.00725.92
8.1.270.0030.00523.83
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0030.00722.20
8.1.230.0090.00320.88
8.1.220.0000.00817.76
8.1.210.0050.00318.77
8.1.200.0000.00817.36
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0050.00318.46
8.1.160.0000.00718.82
8.1.150.0040.00418.80
8.1.140.0080.00019.55
8.1.130.0000.00718.73
8.1.120.0000.00717.39
8.1.110.0030.00617.28
8.1.100.0040.00417.28
8.1.90.0000.00817.45
8.1.80.0000.00817.38
8.1.70.0050.00317.32
8.1.60.0000.00917.52
8.1.50.0060.00317.49
8.1.40.0090.00017.52
8.1.30.0000.00817.58
8.1.20.0000.00717.62
8.1.10.0050.00317.54
8.1.00.0030.00517.44
8.0.300.0000.00719.78
8.0.290.0070.00016.75
8.0.280.0000.00818.36
8.0.270.0030.00317.18
8.0.260.0060.00016.73
8.0.250.0000.00716.85
8.0.240.0000.00716.84
8.0.230.0070.00316.92
8.0.220.0000.00816.84
8.0.210.0000.00716.86
8.0.200.0040.00416.88
8.0.190.0080.00016.89
8.0.180.0050.00216.76
8.0.170.0060.00316.88
8.0.160.0040.00416.86
8.0.150.0040.00416.82
8.0.140.0000.00816.84
8.0.130.0000.00613.28
8.0.120.0070.00016.84
8.0.110.0040.00416.67
8.0.100.0040.00416.91
8.0.90.0040.00416.83
8.0.80.0130.01016.88
8.0.70.0000.00716.75
8.0.60.0040.00416.77
8.0.50.0000.00816.75
8.0.30.0090.00916.92
8.0.20.0080.01117.40
8.0.10.0030.00616.80
8.0.00.0030.01416.74
7.4.330.0050.00015.55
7.4.320.0000.00616.53
7.4.300.0050.00216.64
7.4.290.0030.00316.39
7.4.280.0040.00416.38
7.4.270.0030.00316.59
7.4.260.0000.00513.38
7.4.250.0030.00316.55
7.4.240.0000.00716.63
7.4.230.0040.00416.32
7.4.220.0030.01316.68
7.4.210.0140.00716.59
7.4.200.0040.00416.35
7.4.160.0070.00916.45
7.4.150.0060.01117.40
7.4.140.0090.00817.86
7.4.130.0090.00916.47
7.4.120.0100.01216.51
7.4.110.0140.00316.40
7.4.100.0000.01716.48
7.4.90.0190.00316.55
7.4.80.0060.01619.39
7.4.70.0060.00916.54
7.4.60.0090.01116.54
7.4.50.0100.00716.50
7.4.40.0190.00016.71
7.4.30.0180.00916.55
7.4.00.0060.01115.07
7.3.330.0050.00013.09
7.3.320.0060.00013.16
7.3.310.0040.00416.06
7.3.300.0080.00016.11
7.3.290.0060.01216.26
7.3.280.0090.00816.23
7.3.270.0090.00917.40
7.3.260.0110.00616.27
7.3.250.0110.00916.33
7.3.240.0100.00716.44
7.3.230.0100.01016.34
7.3.210.0080.00816.41
7.3.200.0120.00916.25
7.3.190.0140.00316.22
7.3.180.0190.00616.41
7.3.170.0030.01316.34
7.3.160.0090.01216.38
7.3.120.0050.01214.85
7.3.110.0100.00714.88
7.3.100.0070.01014.67
7.3.90.0050.00714.52
7.3.80.0040.01214.61
7.3.70.0040.01014.73
7.3.60.0040.00914.79
7.3.50.0020.01014.68
7.3.40.0090.00514.82
7.3.30.0050.00614.75
7.3.20.0150.00016.61
7.3.10.0020.00916.76
7.3.00.0060.00816.47
7.2.330.0090.01216.18
7.2.320.0100.00716.31
7.2.310.0060.01116.47
7.2.300.0080.00816.22
7.2.290.0130.00316.48
7.2.250.0070.01014.73
7.2.240.0060.00914.87
7.2.230.0060.00815.01
7.2.220.0070.00614.93
7.2.210.0050.00915.08
7.2.200.0040.00914.78
7.2.190.0100.00514.70
7.2.180.0060.00914.73
7.2.170.0040.00814.68
7.2.160.0100.00714.97
7.2.150.0060.01016.75
7.2.140.0060.01016.48
7.2.130.0120.00316.52
7.2.120.0040.01116.68
7.2.110.0070.00416.55
7.2.100.0060.01016.77
7.2.90.0030.01416.68
7.2.80.0120.00316.87
7.2.70.0100.00716.80
7.2.60.0280.00216.70
7.2.50.0060.00816.56
7.2.40.0060.00816.95
7.2.30.0080.00316.85
7.2.20.0060.00916.59
7.2.10.0000.01416.82
7.2.00.0050.00717.94
7.1.330.0110.00515.72
7.1.320.0030.00815.94
7.1.310.0030.01115.83
7.1.300.0030.01215.63
7.1.290.0030.01015.66
7.1.280.0070.00715.63
7.1.270.0070.00515.67
7.1.260.0050.00915.76
7.1.250.0000.01415.69
7.1.200.0070.00315.83
7.1.70.0000.00717.16
7.1.60.0030.00916.89
7.1.50.0070.00416.59
7.1.40.0030.00716.55
7.1.30.0000.01416.63
7.1.20.0000.01016.69
7.1.10.0030.01016.50
7.1.00.0040.00416.56
7.0.200.0000.00816.72
7.0.190.0000.00816.40
7.0.180.0070.01016.39
7.0.170.0000.00916.48
7.0.160.0000.00716.10
7.0.150.0060.01016.23
7.0.140.0000.01816.34
7.0.130.0000.00816.45
7.0.120.0000.00816.54
7.0.110.0030.00616.20
7.0.100.0080.00016.14
7.0.90.0040.00716.45
7.0.80.0060.00316.35
7.0.70.0000.00916.27
7.0.60.0070.00016.29
7.0.50.0030.00516.35
7.0.40.0000.00814.88
7.0.30.0080.00014.88
7.0.20.0050.00514.88
7.0.10.0000.00714.88
7.0.00.0050.00314.88

preferences:
65.29 ms | 401 KiB | 5 Q