fix bug because of unspecified behaviour of zend_parse_parameters