Lines Matching refs:type
96 char *type; in PHP_FUNCTION() local
99 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zs", &var, &type, &type_len) == FAILURE) { in PHP_FUNCTION()
104 if (!strcasecmp(type, "integer")) { in PHP_FUNCTION()
106 } else if (!strcasecmp(type, "int")) { in PHP_FUNCTION()
108 } else if (!strcasecmp(type, "float")) { in PHP_FUNCTION()
110 } else if (!strcasecmp(type, "double")) { /* deprecated */ in PHP_FUNCTION()
112 } else if (!strcasecmp(type, "string")) { in PHP_FUNCTION()
114 } else if (!strcasecmp(type, "array")) { in PHP_FUNCTION()
116 } else if (!strcasecmp(type, "object")) { in PHP_FUNCTION()
118 } else if (!strcasecmp(type, "bool")) { in PHP_FUNCTION()
120 } else if (!strcasecmp(type, "boolean")) { in PHP_FUNCTION()
122 } else if (!strcasecmp(type, "null")) { in PHP_FUNCTION()
124 } else if (!strcasecmp(type, "resource")) { in PHP_FUNCTION()
201 static inline void php_is_type(INTERNAL_FUNCTION_PARAMETERS, int type) in php_is_type() argument
209 if (Z_TYPE_P(arg) == type) { in php_is_type()
210 if (type == IS_OBJECT) { in php_is_type()
216 } else if (type == IS_RESOURCE) { in php_is_type()