stdClass Object ( [id] => 11 [type] => 5 [color_a] => 57 [color_b] => 3 [date] => 2 )
How to check if the object has attributes that CONTAIN the string "color" ?
I tried with array_diff_key and array_filter but i cannot use ARRAY_FILTER_USE_KEY because it runs on PHP 5.4.
No loops if possible :)