3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url='http://checkerproxy.net/ru/date("Y-m-d")'; if(preg_match('/date\(\".*?\"\)/i', $url, $mdate)){ var_dump($mdate); echo preg_replace('/date\(\".*?\"\)/i', date("$1"), $url); }
Output for 4.3.0 - 7.2.0
array(1) { [0]=> string(13) "date("Y-m-d")" } http://checkerproxy.net/ru/