- print_r: documentation ( source)
- preg_split: documentation ( source)
<?php
$attribute = 'name =';
$split = preg_split('#(?U.*)\s?(<=>|<=|>=|<>|<|>|!=|=|not|between)#Ui', $attribute, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE);
print_r($split);