3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = '27/01/2018'; $value = preg_replace([',', '.', '\\', '/'], '-', $value); var_dump($value);
Output for 5.6.38 - 7.3.0rc3
Warning: preg_replace(): No ending delimiter ',' found in /in/4B6Jf on line 4 NULL