3v4l.org

run code in 300+ PHP versions simultaneously
<?php htmlspecialchars("<script></script>")

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)
5.6.120.0100.05020.94
5.6.110.0100.08721.11
5.6.100.0000.09021.13
5.6.90.0130.08321.11
5.6.80.0170.07320.50
5.5.280.0030.04320.68
5.5.270.0170.07320.66
5.5.260.0030.06020.75
5.5.250.0070.07020.70
5.5.240.0030.07720.07
5.4.440.0130.05319.36
5.4.430.0330.05319.15
5.4.420.0870.06019.38
5.4.410.0570.05019.18
5.4.400.0730.04319.18
5.4.390.0570.06019.22
5.4.380.0470.04318.98
5.4.370.0470.05319.07
5.4.360.0570.06318.83
5.4.350.0670.05019.09
5.4.340.0800.04718.79
5.4.320.0600.06318.84
5.4.310.0770.04019.15
5.4.300.0630.06019.22
5.4.290.0800.04318.79
5.4.280.0500.05019.34
5.4.270.0570.04319.30
5.4.260.0100.05019.34
5.4.250.0430.04718.77
5.4.240.0900.04719.06
5.4.230.0700.05319.14
5.4.220.0670.06018.78
5.4.210.0600.05019.04
5.4.200.0470.06016.91
5.4.190.0770.05019.09
5.4.180.0770.05718.89
5.4.170.0930.05718.93
5.4.160.0770.05018.93
5.4.150.0900.05018.97
5.4.140.0630.05316.05
5.4.130.0670.04316.54
5.4.120.0500.05716.50
5.4.110.0630.05716.41
5.4.100.0600.05716.53
5.4.90.0670.05316.38
5.4.80.0800.04716.39
5.4.70.0570.06016.35
5.4.60.0800.04716.35
5.4.50.0700.05016.37
5.4.40.0530.05016.39
5.4.30.0600.05316.36
5.4.20.0800.06316.29
5.4.10.0770.05316.50
5.4.00.0770.04715.63
5.3.290.0800.06014.50
5.3.280.0870.04314.57
5.3.270.0830.05714.64
5.3.260.0900.05014.55
5.3.250.0770.05014.50
5.3.240.0670.05714.46
5.3.230.0730.05314.49
5.3.220.0670.05714.46
5.3.210.0700.05714.55
5.3.200.0770.05714.43
5.3.190.0670.06314.48
5.3.180.0900.05714.39
5.3.170.0800.05014.39
5.3.160.0830.04714.51
5.3.150.0830.04314.53
5.3.140.0600.05714.46
5.3.130.0670.06014.42
5.3.120.0700.05314.48
5.3.110.0830.04714.57
5.3.100.0830.05313.96
5.3.90.0770.04313.93
5.3.80.0730.05713.88
5.3.70.0800.05313.93
5.3.60.0870.05013.92
5.3.50.0700.05013.79
5.3.40.0730.04713.84
5.3.30.0700.04713.84
5.3.20.0700.04313.48
5.3.10.0500.05313.53
5.3.00.0500.05713.57
5.2.170.0570.03710.93
5.2.160.0500.04311.07
5.2.150.0570.04011.06
5.2.140.0500.04011.24
5.2.130.0430.04310.89
5.2.120.0600.03711.11
5.2.110.0500.04711.02
5.2.100.0600.04011.11
5.2.90.0630.03711.18
5.2.80.0500.04010.94
5.2.70.0600.03710.89
5.2.60.0770.03710.98
5.2.50.0470.04711.11
5.2.40.0430.04010.85
5.2.30.0600.04010.81
5.2.20.0600.03710.90
5.2.10.0600.03010.75
5.2.00.0500.04310.62
5.1.60.0500.0339.96
5.1.50.0600.0339.97
5.1.40.0570.0339.89
5.1.30.0400.03710.28
5.1.20.0530.03710.30
5.1.10.0430.03010.07
5.1.00.0330.03710.06
5.0.50.0370.0178.46
5.0.40.0270.0208.34
5.0.30.0300.0438.26
5.0.20.0170.0408.11
5.0.10.0230.0308.16
5.0.00.0230.0438.31
4.4.90.0200.0175.82
4.4.80.0270.0135.75
4.4.70.0230.0235.75
4.4.60.0000.0235.80
4.4.50.0030.0305.78
4.4.40.0030.0335.77
4.4.30.0070.0205.75
4.4.20.0200.0205.91
4.4.10.0130.0275.92
4.4.00.0270.0305.77
4.3.110.0130.0275.70
4.3.100.0300.0275.68
4.3.90.0230.0205.68
4.3.80.0230.0435.80
4.3.70.0100.0205.65
4.3.60.0130.0205.74
4.3.50.0170.0235.77
4.3.40.0200.0335.74
4.3.30.0030.0274.53
4.3.20.0100.0204.57
4.3.10.0130.0174.44
4.3.00.0070.0177.10

preferences:
129.79 ms | 1398 KiB | 7 Q