3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "accept add admire admit advise afford agree alert allow amuse analyse announce annoy answer apologise appear applaud appreciate approve argue arrange arrest arrive ask attach attack attempt attend attract avoid"; $string = preg_replace("/\s/", ",", $string); echo $string;
Output for 4.3.0 - 7.1.0
accept,add,admire,admit,advise,afford,agree,alert,allow,amuse,analyse,announce,annoy,answer,apologise,appear,applaud,appreciate,approve,argue,arrange,arrest,arrive,ask,attach,attack,attempt,attend,attract,avoid