3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php date("m月d日,周D")|replace({'Mon':'一','Tue':'二','Wed':'三','Thu':'四','Fri':'五','Sat':'六','Sun':'日'}) ?>
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '{', expecting ')' in /in/2rvKe on line 2
Process exited with code 255.