3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a[1] = 'lolol'; $a[2] = '1l1l1l'; $a[3] = '<p>dasdsa</p>'; $a[4] = 'assa"".**&'; addslashes($a[]); array_map('strip_tags',$a[]); echo $a[3];

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.4.290.2100.04019.13
5.4.280.1930.03318.93
5.4.270.1930.04319.20
5.4.260.1730.03018.90
5.4.250.1970.05319.16
5.4.240.1600.04318.93
5.4.230.1970.05019.21
5.4.220.1970.04718.91
5.4.210.1700.03019.08
5.4.200.1670.04019.21
5.4.190.1870.04019.15
5.4.180.2000.03318.87
5.4.170.2000.03719.24
5.4.160.1700.04319.14
5.4.150.1730.04019.11
5.4.140.1930.04016.23
5.4.130.1900.03316.29
5.4.120.2000.04316.14
5.4.110.1700.03716.19
5.4.100.1670.04016.23
5.4.90.1770.03016.30
5.4.80.1870.04316.40
5.4.70.1770.03316.05
5.4.60.2100.04016.39
5.4.50.1970.03016.21
5.4.40.1700.03716.39
5.4.30.2000.04716.43
5.4.20.2000.03716.38
5.4.10.1730.03316.32
5.4.00.1730.03015.70
5.3.280.1670.03014.54
5.3.270.1870.04714.44
5.3.260.1830.02714.57
5.3.250.1730.04014.55
5.3.240.1970.04714.69
5.3.230.2030.04314.55
5.3.220.1800.04714.51
5.3.210.1730.04714.55
5.3.200.1730.04714.66
5.3.190.0000.04714.42
5.3.180.0000.06714.40
5.3.170.1030.06314.50
5.3.160.1770.04314.47
5.3.150.1970.05014.42
5.3.140.1670.03714.54
5.3.130.2070.04014.40
5.3.120.1730.03314.48
5.3.110.1630.04014.48
5.3.100.1970.04314.01
5.3.90.1630.04313.96
5.3.80.1900.03713.96
5.3.70.1770.03313.96
5.3.60.1800.03313.93
5.3.50.1670.03713.89
5.3.40.1700.03713.71
5.3.30.2000.04313.85
5.3.20.1900.04013.63
5.3.10.2200.03713.46
5.3.00.1630.04013.51
5.2.170.1430.02710.98
5.2.160.1400.03011.22
5.2.150.1400.03010.98
5.2.140.1470.02311.19
5.2.130.1400.03011.18
5.2.120.1000.02311.18
5.2.110.0000.03711.14
5.2.100.0000.03310.93
5.2.90.0300.02710.95
5.2.80.1370.02310.96
5.2.70.1130.03010.98
5.2.60.1370.02011.11
5.2.50.1400.03011.17
5.2.40.1400.03010.84
5.2.30.1070.03310.82
5.2.20.1170.02711.04
5.2.10.1000.02710.91
5.2.00.1000.02710.68
5.1.60.1100.0279.87
5.1.50.1170.02310.04
5.1.40.1130.0279.90
5.1.30.0930.02710.23
5.1.20.0030.02310.31
5.1.10.0030.0239.92
5.1.00.0030.02310.00
5.0.50.0000.0278.54
5.0.40.0130.0208.34
5.0.30.0530.0438.14
5.0.20.0470.0208.10
5.0.10.0400.0238.10
5.0.00.0400.0308.15
4.4.90.0470.0178.10
4.4.80.0600.0108.10
4.4.70.0530.0108.10
4.4.60.0600.0178.10
4.4.50.0630.0138.10
4.4.40.0430.0238.10
4.4.30.0500.0108.10
4.4.20.0670.0178.10
4.4.10.0570.0178.10
4.4.00.0600.0238.10
4.3.110.0530.0138.10
4.3.100.0530.0138.10
4.3.90.0600.0138.10
4.3.80.0330.0238.10
4.3.70.0570.0208.10
4.3.60.0430.0178.10
4.3.50.0470.0178.10
4.3.40.0900.0138.10
4.3.30.0300.0138.10
4.3.20.0270.0178.10
4.3.10.0170.0138.10
4.3.00.0270.0178.10

preferences:
146.75 ms | 1394 KiB | 7 Q