cleaned up zend arg functions