Home
last modified time | relevance | path

Searched refs:Z_TYPE (Results 1 – 25 of 131) sorted by relevance

123456

/PHP-7.1/ext/session/
H A Dmod_user.c59 if (Z_TYPE(retval) != IS_UNDEF) { \
60 if (Z_TYPE(retval) == IS_TRUE) { \
62 } else if (Z_TYPE(retval) == IS_FALSE) { \
64 } else if ((Z_TYPE(retval) == IS_LONG) && (Z_LVAL(retval) == -1)) { \
67 } else if ((Z_TYPE(retval) == IS_LONG) && (Z_LVAL(retval) == 0)) { \
149 if (Z_TYPE(retval) == IS_STRING) { in PS_READ_FUNC()
193 if (Z_TYPE(retval) == IS_LONG) { in PS_GC_FUNC()
198 if (Z_TYPE(retval) == IS_TRUE) { in PS_GC_FUNC()
215 if (Z_TYPE(retval) == IS_STRING) { in PS_CREATE_SID_FUNC()
/PHP-7.1/ext/opcache/Optimizer/
H A Dpass2.c49 if (Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_STRING) { in zend_optimizer_pass2()
67 if (Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING) { in zend_optimizer_pass2()
80 if (Z_TYPE(ZEND_OP1_LITERAL(opline)) != IS_LONG) { in zend_optimizer_pass2()
82 if (!(Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_STRING in zend_optimizer_pass2()
97 if (Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_LONG) { in zend_optimizer_pass2()
99 if (!(Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING in zend_optimizer_pass2()
110 if (Z_TYPE(ZEND_OP1_LITERAL(opline)) != IS_STRING) { in zend_optimizer_pass2()
121 if (Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_STRING) { in zend_optimizer_pass2()
H A Dpass1_5.c114 || Z_TYPE(ZEND_OP1_LITERAL(opline)) != IS_ARRAY)) { in zend_optimizer_pass1()
249 Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING && in zend_optimizer_pass1()
273 Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING) { in zend_optimizer_pass1()
283 if (Z_TYPE(c) == IS_CONSTANT_AST) { in zend_optimizer_pass1()
295 Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_STRING) { in zend_optimizer_pass1()
300 Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_STRING) { in zend_optimizer_pass1()
345 ZEND_IS_CONSTANT_TYPE(Z_TYPE(t))) { in zend_optimizer_pass1()
400 Z_TYPE(ZEND_OP2_LITERAL(init_opline)) != IS_STRING) { in zend_optimizer_pass1()
601 Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_STRING) { in zend_optimizer_pass1()
627 Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_STRING && in zend_optimizer_pass1()
[all …]
H A Dblock_pass.c217 Z_TYPE(ZEND_OP1_LITERAL(opline)) != IS_DOUBLE && in zend_optimize_block()
218 Z_TYPE(ZEND_OP1_LITERAL(last_op)) != IS_DOUBLE) { in zend_optimize_block()
225 if (Z_TYPE(ZEND_OP1_LITERAL(opline)) != IS_STRING) { in zend_optimize_block()
228 if (Z_TYPE(ZEND_OP1_LITERAL(last_op)) != IS_STRING) { in zend_optimize_block()
383 (Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_FALSE || in zend_optimize_block()
384 Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_TRUE)) { in zend_optimize_block()
395 (Z_TYPE(ZEND_OP2_LITERAL(opline)) == IS_FALSE || in zend_optimize_block()
588 if (Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_STRING) { in zend_optimize_block()
591 if (Z_TYPE(ZEND_OP2_LITERAL(src)) != IS_STRING) { in zend_optimize_block()
640 Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_STRING && in zend_optimize_block()
[all …]
H A Dcompact_literals.c93 if (Z_TYPE(op_array->literals[constant]) == IS_STRING && in optimizer_literal_obj_info()
350 switch (Z_TYPE(op_array->literals[i])) { in zend_optimizer_compact_literals()
450 Z_TYPE(op_array->literals[i]) == Z_TYPE(op_array->literals[Z_LVAL_P(pos)]) && in zend_optimizer_compact_literals()
/PHP-7.1/main/streams/
H A Duserspace.c933 if (call_result == SUCCESS && (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE)) { in php_userstreamop_set_option()
972 if (call_result == SUCCESS && (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE)) { in php_userstreamop_set_option()
1013 if (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE) { in php_userstreamop_set_option()
1112 if (Z_TYPE(object) == IS_UNDEF) { in user_wrapper_unlink()
1128 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_unlink()
1156 if (Z_TYPE(object) == IS_UNDEF) { in user_wrapper_rename()
1173 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_rename()
1220 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_mkdir()
1267 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_rmdir()
1338 if (call_result == SUCCESS && (Z_TYPE(zretval) == IS_FALSE || Z_TYPE(zretval) == IS_TRUE)) { in user_wrapper_metadata()
[all …]
/PHP-7.1/ext/standard/
H A Dassert.c58 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_INI_MH()
62 if (new_value && (Z_TYPE(ASSERTG(callback)) != IS_UNDEF || ZSTR_LEN(new_value))) { in PHP_INI_MH()
131 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_RSHUTDOWN_FUNCTION()
201 val = Z_TYPE(retval) == IS_TRUE; in PHP_FUNCTION()
210 if (Z_TYPE(ASSERTG(callback)) == IS_UNDEF && ASSERTG(cb)) { in PHP_FUNCTION()
214 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_FUNCTION()
347 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_FUNCTION()
H A Darray.c817 if (Z_TYPE(retval) != IS_UNDEF) { in PHP_FUNCTION()
1278 if (Z_TYPE(args[0]) != IS_ARRAY) { in PHP_FUNCTION()
1299 if (Z_TYPE(result) == IS_TRUE) { in PHP_FUNCTION()
1325 if (Z_TYPE(args[0]) != IS_ARRAY) { in PHP_FUNCTION()
1346 if (Z_TYPE(result) == IS_FALSE) { in PHP_FUNCTION()
1456 if (Z_TYPE(args[1]) != IS_UNDEF) { in php_array_walk()
3932 if (Z_TYPE(args[i]) != IS_ARRAY) {
4108 if (Z_TYPE(args[i]) != IS_ARRAY) {
4714 if (Z_TYPE(args[0]) != IS_ARRAY) {
5569 if (Z_TYPE(chunk) == IS_UNDEF) {
[all …]
H A Duser_filters.c212 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF) { in userfilter_filter()
354 if (Z_TYPE(retval) != IS_UNDEF) { in user_filter_factory_create()
355 if (Z_TYPE(retval) == IS_FALSE) { in user_filter_factory_create()
/PHP-7.1/Zend/
H A Dzend_highlight.c130 if (Z_TYPE(token) == IS_UNDEF) { in zend_highlight()
150 if (Z_TYPE(token) == IS_STRING) { in zend_highlight()
213 if (Z_TYPE(token) == IS_STRING) { in zend_strip()
H A Dzend_hash.c722 if (Z_TYPE(p->val) != IS_UNDEF) { in _zend_hash_index_add_or_update_i()
900 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) { in zend_hash_rehash()
1083 if (Z_TYPE(p->val) == IS_INDIRECT) { in zend_hash_del_ind()
1131 if (Z_TYPE(p->val) == IS_INDIRECT) { in zend_hash_str_del_ind()
1197 if (Z_TYPE(p->val) != IS_UNDEF) { in zend_hash_index_del()
1316 if (EXPECTED(Z_TYPE(p->val) != IS_UNDEF)) { in zend_array_destroy()
1426 if (EXPECTED(Z_TYPE(p->val) != IS_UNDEF)) { in zend_symtable_clean()
2005 if (Z_TYPE(p->val) != IS_UNDEF) { in zend_hash_index_find()
2034 if (Z_TYPE(ht->arData[h].val) != IS_UNDEF) { in zend_hash_index_exists()
2325 if (Z_TYPE(p1->val) == IS_UNDEF) continue; in zend_hash_compare_impl()
[all …]
H A Dzend_generators.c44 (Z_TYPE(call->This) == IS_UNDEF) ? in zend_generator_restore_call_stack()
46 (Z_TYPE(call->This) != IS_UNDEF) ? in zend_generator_restore_call_stack()
173 if (UNEXPECTED(Z_TYPE(generator->values) != IS_UNDEF)) { in zend_generator_dtor_storage()
274 size += Z_TYPE(execute_data->This) == IS_OBJECT; /* $this */ in calc_gc_buffer_size()
355 if (Z_TYPE(execute_data->This) == IS_OBJECT) { in zend_generator_get_gc()
430 if (!ptr->func && Z_TYPE(ptr->This) == IS_OBJECT) { in zend_generator_check_placeholder_frame()
454 if (UNEXPECTED(Z_TYPE(generator->values) != IS_UNDEF)) { in zend_generator_throw_exception()
715 if (Z_TYPE(generator->values) == IS_ARRAY) { in zend_generator_get_next_delegated_value()
963 if (EXPECTED(generator->execute_data != NULL && Z_TYPE(root->value) != IS_UNDEF)) { in ZEND_METHOD()
987 if (EXPECTED(generator->execute_data != NULL && Z_TYPE(root->key) != IS_UNDEF)) { in ZEND_METHOD()
[all …]
H A Dzend_interfaces.c167 if (Z_TYPE(more) != IS_UNDEF) { in zend_user_it_valid()
209 if (Z_TYPE(retval) != IS_UNDEF) { in zend_user_it_get_current_key()
283 ce_it = (Z_TYPE(iterator) == IS_OBJECT) ? Z_OBJCE(iterator) : NULL; in zend_user_it_get_new_iterator()
416 if (Z_TYPE(retval) == IS_UNDEF || EG(exception)) { in zend_user_serialize()
419 switch(Z_TYPE(retval)) { in zend_user_serialize()
H A Dzend_closures.c168 if (zend_call_function(&fci, &fci_cache) == SUCCESS && Z_TYPE(closure_result) != IS_UNDEF) { in ZEND_METHOD()
444 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_free_storage()
481 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_get_closure()
510 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_get_debug_info()
560 *table = Z_TYPE(closure->this_ptr) != IS_NULL ? &closure->this_ptr : NULL; in zend_closure_get_gc()
561 *n = Z_TYPE(closure->this_ptr) != IS_NULL ? 1 : 0; in zend_closure_get_gc()
H A Dzend_object_handlers.c165 if (Z_TYPE(retval) == IS_ARRAY) { in zend_std_get_debug_info()
178 } else if (Z_TYPE(retval) == IS_NULL) { in zend_std_get_debug_info()
226 if (Z_TYPE(retval) != IS_UNDEF) { in zend_std_call_setter()
621 if (Z_TYPE(tmp_member) == IS_UNDEF) { in zend_std_read_property()
650 if (Z_TYPE(tmp_object) == IS_UNDEF) { in zend_std_read_property()
871 if (EXPECTED(Z_TYPE(retval) != IS_UNDEF)) { in zend_std_has_dimension()
876 if (EXPECTED(Z_TYPE(retval) != IS_UNDEF)) { in zend_std_has_dimension()
1604 if (Z_TYPE(tmp_member) == IS_UNDEF) { in zend_std_has_property()
1611 if (Z_TYPE(rv) != IS_UNDEF) { in zend_std_has_property()
1619 if (Z_TYPE(rv) != IS_UNDEF) { in zend_std_has_property()
[all …]
/PHP-7.1/ext/mysqli/
H A Dmysqli_result_iterator.c82 return Z_TYPE(iterator->current_row) == IS_ARRAY ? SUCCESS : FAILURE; in php_mysqli_result_iterator_valid()
107 if (Z_TYPE(iterator->current_row) == IS_ARRAY) { in php_mysqli_result_iterator_move_forward()
/PHP-7.1/ext/interbase/
H A Dibase_events.c59 if (Z_TYPE(event->callback) != IS_UNDEF) { in _php_ibase_free_event()
147 if (Z_TYPE(args[0]) == IS_RESOURCE) { in PHP_FUNCTION()
241 if (Z_TYPE(return_value) == IS_FALSE) { in _php_ibase_callback()
287 if (Z_TYPE(args[0]) != IS_STRING) { in PHP_FUNCTION()
/PHP-7.1/ext/readline/
H A Dreadline.c196 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_RSHUTDOWN_FUNCTION()
501 if (Z_TYPE(_readline_array) == IS_ARRAY) { in _readline_completion_cb()
588 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_FUNCTION()
605 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_FUNCTION()
615 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_FUNCTION()
/PHP-7.1/ext/dom/
H A Dxpath.c202 if (result == SUCCESS && Z_TYPE(retval) != IS_UNDEF) { in dom_xpath_ext_function_php()
203 if (Z_TYPE(retval) == IS_OBJECT && instanceof_function(Z_OBJCE(retval), dom_node_class_entry)) { in dom_xpath_ext_function_php()
215 } else if (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE) { in dom_xpath_ext_function_php()
216 valuePush(ctxt, xmlXPathNewBoolean(Z_TYPE(retval) == IS_TRUE)); in dom_xpath_ext_function_php()
217 } else if (Z_TYPE(retval) == IS_OBJECT) { in dom_xpath_ext_function_php()
/PHP-7.1/ext/spl/
H A Dspl_iterators.c285 if (Z_TYPE(retval) != IS_UNDEF) { in spl_recursive_it_move_forward_ex()
351 if (Z_TYPE(child) == IS_UNDEF || Z_TYPE(child) != IS_OBJECT || in spl_recursive_it_move_forward_ex()
1046 if (Z_TYPE(has_next) != IS_UNDEF) { in spl_recursive_tree_iterator_get_prefix()
1056 if (Z_TYPE(has_next) != IS_UNDEF) { in spl_recursive_tree_iterator_get_prefix()
1057 if (Z_TYPE(has_next) == IS_TRUE) { in spl_recursive_tree_iterator_get_prefix()
1240 if (Z_TYPE(entry) != IS_STRING) { in SPL_METHOD()
1292 if (Z_TYPE(key) != IS_STRING) { in SPL_METHOD()
1845 if (Z_TYPE(retval) != IS_UNDEF) { in spl_filter_it_fetch()
1929 if (Z_TYPE(retval) != IS_UNDEF) { in SPL_METHOD()
2003 if (Z_TYPE(intern->current.data) == IS_UNDEF || Z_TYPE(intern->current.key) == IS_UNDEF) { in SPL_METHOD()
[all …]
/PHP-7.1/ext/wddx/
H A Dwddx.c233 if (Z_TYPE(((st_entry *)stack->elements[i])->data) != IS_UNDEF in wddx_stack_destroy()
307 if (Z_TYPE(retval) != IS_ARRAY) { in PS_SERIALIZER_DECODE_FUNC()
899 if (Z_TYPE(ent1->data) == IS_UNDEF) { in php_wddx_pop_element()
926 if (Z_TYPE(ent1->data) == IS_OBJECT) { in php_wddx_pop_element()
948 if (Z_TYPE(ent2->data) == IS_ARRAY || Z_TYPE(ent2->data) == IS_OBJECT) { in php_wddx_pop_element()
953 Z_TYPE(ent1->data) == IS_STRING && Z_STRLEN(ent1->data) && in php_wddx_pop_element()
954 ent2->type == ST_STRUCT && Z_TYPE(ent2->data) == IS_ARRAY) { in php_wddx_pop_element()
994 } else if (Z_TYPE(ent2->data) == IS_OBJECT) { in php_wddx_pop_element()
1065 if (Z_TYPE(ent->data) == IS_STRING) { in php_wddx_process_data()
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_rinit_hook.c51 …if (Z_TYPE(cookies) == IS_ARRAY || (auth = zend_hash_str_find(Z_ARRVAL(cookies), PHPDBG_NAME "_AUT… in PHP_RINIT_FUNCTION()
/PHP-7.1/ext/com_dotnet/
H A Dcom_iterator.c60 if (Z_TYPE(I->zdata) != IS_UNDEF) { in com_iter_valid()
94 if (Z_TYPE(I->zdata) != IS_UNDEF) { in com_iter_move_forwards()
/PHP-7.1/ext/oci8/
H A Doci8_failover.c70 if (Z_TYPE(retval) == IS_LONG) { in callback_fn()
/PHP-7.1/ext/xsl/
H A Dxsltprocessor.c335 if (Z_TYPE(handler) == IS_STRING) { in xsl_ext_function_php()
342 if (Z_TYPE(retval) == IS_OBJECT && instanceof_function(Z_OBJCE(retval), dom_node_class_entry)) { in xsl_ext_function_php()
354 } else if (Z_TYPE(retval) == IS_TRUE || Z_TYPE(retval) == IS_FALSE) { in xsl_ext_function_php()
355 valuePush(ctxt, xmlXPathNewBoolean(Z_TYPE(retval) == IS_TRUE)); in xsl_ext_function_php()
356 } else if (Z_TYPE(retval) == IS_OBJECT) { in xsl_ext_function_php()

Completed in 129 milliseconds

123456