3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $DATETIME_PATTERN = "^\\d\\d?.\\d\\d?.\\d{4} \\d\\d?:\\d\\d?:?\\d?\\d?$"; preg_match_all($DATETIME_PATTERN,'10.10.2017 11:11',$m); print_r($m);
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Warning: preg_match_all(): No ending delimiter '^' found in /in/F3ctM on line 4
Output for hhvm-3.15.4
Warning: No ending delimiter '^' found: [^\d\d?.\d\d?.\d{4} \d\d?:\d\d?:?\d?\d?$] in /in/F3ctM on line 4