3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array("0", "0", "F12345 / Q56T76"); if(strlen($array[2]) > 6 && preg_match('/[^a-z_\-0-9]/', str_replace(" ","",$array[2]))){ $error_message = "HFA Song Code contains characters other than alphanumerics and / at Line Number "; echo $error_message; ?>

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.280.0180.07612.33
5.4.270.0080.05812.33
5.4.260.0080.05712.33
5.4.250.0100.04712.33
5.4.240.0130.07212.33
5.4.230.0100.05312.32
5.4.220.0110.05812.32
5.4.210.0170.06312.32
5.4.200.0230.10412.32
5.4.190.0220.09612.32
5.4.180.0080.03812.32
5.4.170.0080.04112.33
5.4.160.0090.03812.33
5.4.150.0070.03912.32
5.4.140.0080.03912.01
5.4.130.0080.04111.99
5.4.120.0120.03311.96
5.4.110.0100.03711.95
5.4.100.0080.03811.95
5.4.90.0080.04111.95
5.4.80.0100.03911.95
5.4.70.0100.03411.94
5.4.60.0090.04011.95
5.4.50.0080.03611.94
5.4.40.0080.05711.94
5.4.30.0100.04411.93
5.4.20.0040.04211.92
5.4.10.0050.03911.93
5.4.00.0060.05211.42
5.3.280.0140.07212.71
5.3.270.0160.06512.73
5.3.260.0060.06012.72
5.3.250.0130.07012.72
5.3.240.0200.07512.72
5.3.230.0190.07112.70
5.3.220.0120.06812.68
5.3.210.0120.06612.68
5.3.200.0080.06212.68
5.3.190.0130.07612.68
5.3.180.0090.05112.67
5.3.170.0130.05212.67
5.3.160.0120.06912.67
5.3.150.0120.08112.68
5.3.140.0150.06912.66
5.3.130.0880.05412.66
5.3.120.0120.06612.66
5.3.110.0160.05612.66
5.3.100.0060.05812.12
5.3.90.0150.08112.09
5.3.80.0070.05812.07
5.3.70.0090.04412.07
5.3.60.0090.05212.07
5.3.50.0090.03712.00
5.3.40.0080.05212.00
5.3.30.0110.04911.94
5.3.20.0130.04811.71
5.3.10.0160.04011.67
5.3.00.0080.03911.66
5.2.170.0080.0479.16
5.2.160.0060.0439.15
5.2.150.0120.0619.15
5.2.140.0120.0479.15
5.2.130.0110.0559.11
5.2.120.0100.0449.11
5.2.110.0080.0409.12
5.2.100.0140.0459.12
5.2.90.0100.0399.12
5.2.80.0120.0639.11
5.2.70.0120.0569.11
5.2.60.0130.0699.06
5.2.50.0110.0519.04
5.2.40.0100.0709.01
5.2.30.0130.0698.99
5.2.20.0130.0598.97
5.2.10.0090.0388.91
5.2.00.0070.0348.77
5.1.60.0050.0338.05
5.1.50.0070.0258.05
5.1.40.0060.0258.03
5.1.30.0040.0298.38
5.1.20.0060.0408.40
5.1.10.0070.0308.13
5.1.00.0040.0298.13
5.0.50.0040.0236.61
5.0.40.0060.0196.47
5.0.30.0020.0376.28
5.0.20.0060.0286.25
5.0.10.0070.0606.23
5.0.00.0100.0306.22
4.4.90.0050.0184.78
4.4.80.0080.0224.76
4.4.70.0070.0244.75
4.4.60.0070.0234.75
4.4.50.0050.0204.77
4.4.40.0040.0264.71
4.4.30.0020.0254.75
4.4.20.0050.0284.84
4.4.10.0060.0254.85
4.4.00.0030.0384.76
4.3.110.0050.0244.67
4.3.100.0030.0264.67
4.3.90.0040.0284.63
4.3.80.0100.0474.58
4.3.70.0040.0244.63
4.3.60.0100.0354.63
4.3.50.0120.0414.63
4.3.40.0040.0394.54
4.3.30.0050.0273.28
4.3.20.0080.0393.26
4.3.10.0040.0253.22
4.3.00.0000.0236.88

preferences:
142.32 ms | 1394 KiB | 7 Q