3v4l.org

run code in 300+ PHP versions simultaneously
<?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("/\w/", ",", $string); echo $string;

preferences:
35.54 ms | 402 KiB | 5 Q