<?$str="thisIsATestVariableNumber000"; preg_match_all('/[a-z]+|[A-Z]+[a-z]*|[0-9]+/',$str,$results);print_r($results);?>
Standard input is empty
Array ( [0] => Array ( [0] => this [1] => Is [2] => ATest [3] => Variable [4] => Number [5] => 000 ) )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!