3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $pattern = '/[a-z0-9]{1,25}\s+([0-9]{3,12})\s+[.]*(\-\c))/i'; $string = "qwertyuiop 1234567890 .-i"; // '\c)' -> 0x29 | 0x40 -> 0x69 -> 'i' var_dump(preg_match($pattern, $string));
Output for 4.3.0 - 7.1.0
int(1)