fixed and added new export type = php_array