3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match('#Date\(([0-9]{0,10}?)([0-9]{1,3}\))#',"/Date(1403071826510)/",$matches); echo date("Y-m-d H:i:s", $matches[1]); var_dump($matches);
Output for 4.3.0 - 7.1.0
2014-06-18 08:10:26array(3) { [0]=> string(19) "Date(1403071826510)" [1]=> string(10) "1403071826" [2]=> string(4) "510)" }