3v4l.org

run code in 150+ 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 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined offset: 1 in /in/ijNVY on line 4 http://checkerproxy.net/ru/
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined index: 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/