use core function for resolving php array types