3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date=function($b){ return date($b); }; $d22='Двадцать второе'; $d23='Двадцать третье'; echo $date('\dd'));
Output for 7.0.0 - 7.0.17, 7.1.0 - 7.1.3
Parse error: syntax error, unexpected ')', expecting ',' or ';' in /in/CK248 on line 7
Process exited with code 255.

preferences:
173.15 ms | 1395 KiB | 29 Q