3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $buff='سلامی به گرمي آشنایی'; echo $buff, PHP_EOL; $buff = str_replace("ی","ي",$buff); $buff = str_replace("ک","ك",$buff); echo $buff;
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.1.0
سلامی به گرمي آشنایی سلامي به گرمي آشنايي
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
سلامی به گرمي آشنایی Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/tOgmj on line 3 PHP_EOLسلامي به گرمي آشنايي