3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ipString = "ffff:eeee:dddd:cccc:bbbb:aaaa:9999:8888"; $test = array(); preg_match("/^([0-9a-fA-F]+:?)$/", $ipString, $test); var_dump($test); ?>
Output for 4.3.0 - 7.1.0
array(0) { }