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