explode string to multiple variable in php code example Example: php explode multiple delimiters $output = preg_split('/(@|,|;)/', $input);