Mine
public php v1 · immutable<?php$regex = '/(mother|photo|phone)/i';$words = array('programming', 'PHOTOGRAPHY', 'motherfucker', 'phone');foreach ($words as $word) { if (preg_match($regex, $word)) { echo "$word matches\n"; } else { echo "$word doesn't match\n"; }}?>