You can access object properties with names that contain special characters using this notation:
foreach($wiki_page_data_json->parse->categories as $cat)
{
var_dump( $cat->{'*'} );
}
Interesting reading > https://stackoverflow.com/a/10333200/67332