3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('/tag/', '/foo/', '/category/', '/erik/'); foreach($a as $b) { if (strpos($b,'/tag/') == false) && if (strpos($b,'/category/') == false){ echo $b; } }

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.340.1630.04019.09
5.4.320.1630.03719.24
5.4.310.1830.04719.09
5.4.300.1900.03319.07
5.4.290.1770.03719.14
5.4.280.1770.04319.18
5.4.270.1770.04318.84
5.4.260.1670.03719.18
5.4.250.1700.03319.21
5.4.240.1730.04318.98
5.4.230.1800.03319.23
5.4.220.1700.03019.16
5.4.210.0770.05719.18
5.4.200.0030.04719.08
5.4.190.0070.07319.12
5.4.180.1430.05018.83
5.4.170.1800.03319.08
5.4.160.1800.03719.06
5.4.150.1870.04718.85
5.4.140.2000.04316.36
5.4.130.1700.03316.35
5.4.120.1900.05016.39
5.4.110.1970.04716.46
5.4.100.1800.04016.28
5.4.90.1930.03716.45
5.4.80.2130.03016.23
5.4.70.1930.04716.44
5.4.60.1730.03316.25
5.4.50.1830.03716.56
5.4.40.1700.03716.52
5.4.30.1930.04316.33
5.4.20.1670.03716.37
5.4.10.1730.03016.38
5.4.00.1770.03315.95
5.3.290.1630.04314.65
5.3.280.1630.04014.55
5.3.270.1670.04014.45
5.3.260.1700.04014.49
5.3.250.1800.04714.59
5.3.240.1800.05014.55
5.3.230.1930.04314.64
5.3.220.1800.04314.66
5.3.210.1900.04314.58
5.3.200.1870.03714.59
5.3.190.1770.03714.40
5.3.180.1870.04714.61
5.3.170.1970.04314.39
5.3.160.2000.04314.41
5.3.150.1470.04014.54
5.3.140.0000.08014.54
5.3.130.0070.05714.44
5.3.120.0900.04314.39
5.3.110.1870.04314.41
5.3.100.1600.04013.88
5.3.90.1600.04014.11
5.3.80.1630.03714.01
5.3.70.1970.04014.04
5.3.60.1830.03013.91
5.3.50.1700.03013.78
5.3.40.1600.04013.79
5.3.30.1930.04013.87
5.3.20.1800.04013.63
5.3.10.1800.04013.61
5.3.00.1830.04013.58
5.2.170.1530.03711.11
5.2.160.1570.03311.06
5.2.150.1430.03311.20
5.2.140.1430.02311.03
5.2.130.1570.04311.26
5.2.120.1500.03310.99
5.2.110.1400.03010.94
5.2.100.1370.02711.12
5.2.90.1470.03011.04
5.2.80.1370.03011.17
5.2.70.1430.02311.03
5.2.60.1300.03310.99
5.2.50.0330.05311.06
5.2.40.0100.03010.85
5.2.30.0000.03310.83
5.2.20.0070.03010.87
5.2.10.0530.05010.76
5.2.00.1330.03010.79
5.1.60.1130.0209.92
5.1.50.1170.0309.89
5.1.40.1170.0279.86
5.1.30.1300.03310.20
5.1.20.1230.03310.27
5.1.10.1370.02710.19
5.1.00.1400.03710.16
5.0.50.0500.0238.71
5.0.40.0670.0308.39
5.0.30.0570.0308.21
5.0.20.0570.0238.43
5.0.10.0600.0238.25
5.0.00.0630.0378.06
4.4.90.0530.0137.88
4.4.80.0630.0237.88
4.4.70.0700.0177.88
4.4.60.0000.0237.88
4.4.50.0030.0277.88
4.4.40.0070.0337.88
4.4.30.0000.0177.88
4.4.20.0000.0207.88
4.4.10.0000.0177.88
4.4.00.0000.0237.88
4.3.110.0200.0307.88
4.3.100.0530.0137.88
4.3.90.0470.0177.88
4.3.80.0430.0207.88
4.3.70.0570.0177.88
4.3.60.0470.0177.88
4.3.50.0600.0207.88
4.3.40.0670.0377.88
4.3.30.0270.0177.88
4.3.20.0300.0207.88
4.3.10.0300.0337.88
4.3.00.0370.0277.88

preferences:
136.38 ms | 1394 KiB | 7 Q