3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "This is my Store, it has an amazing design; its creator says it was losing money and he doesn't want to maintain it"; $words = array_filter(preg_split('/\s+/', preg_replace('/\W|\b(it|the|its|is|to)|\b/i', ' ', $string))); print_r($words);

preferences:
33.7 ms | 406 KiB | 5 Q