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)){ echo $mdate[1]; echo preg_replace('/date\(\".*?\"\)/i', date("$1"), $url); }
Output for 5.3.0 - 7.2.0
Notice: Undefined offset: 1 in /in/ijNVY on line 4 http://checkerproxy.net/ru/
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 1 in /in/ijNVY on line 4 http://checkerproxy.net/ru/