/php-src/Zend/ |
H A D | zend_ast.h | 195 zend_ast_kind kind; member 204 zend_ast_kind kind; member 211 zend_ast_kind kind; member 256 zend_ast *ast = zend_ast_create_0(kind); in zend_ast_create_ex_0() 261 zend_ast *ast = zend_ast_create_1(kind, child); in zend_ast_create_ex_1() 330 return (ast->kind >> ZEND_AST_SPECIAL_SHIFT) & 1; in zend_ast_is_special() 342 ZEND_ASSERT(ast->kind == ZEND_AST_ZVAL); in zend_ast_get_zval() 352 ZEND_ASSERT(ast->kind == ZEND_AST_CONSTANT); in zend_ast_get_constant_name() 359 return ast->kind >> ZEND_AST_NUM_CHILDREN_SHIFT; in zend_ast_get_num_children() 362 if (ast->kind == ZEND_AST_ZVAL) { in zend_ast_get_lineno() [all …]
|
H A D | zend_ast.c | 119 ast->kind = kind; in zend_ast_create_decl() 141 ast->kind = kind; in zend_ast_create_0() 154 ast->kind = kind; in zend_ast_create_1() 173 ast->kind = kind; in zend_ast_create_2() 195 ast->kind = kind; in zend_ast_create_3() 220 ast->kind = kind; in zend_ast_create_4() 248 ast->kind = kind; in zend_ast_create_5() 278 ast->kind = kind; in zend_ast_create_va() 316 list->kind = kind; in zend_ast_create_list_0() 331 list->kind = kind; in zend_ast_create_list_1() [all …]
|
H A D | zend_vm_gen.php | 791 switch ($kind) { 1051 switch ($kind) { 1146 switch ($kind) { 1184 switch ($kind) { 1495 switch ($kind) { 1747 switch ($kind) { 2055 if ($kind != ZEND_VM_KIND_CALL && $kind != ZEND_VM_KIND_HYBRID) { 2087 if ($kind == ZEND_VM_KIND_GOTO || $kind == ZEND_VM_KIND_HYBRID) { 2122 if ($kind == ZEND_VM_KIND_CALL || $kind == ZEND_VM_KIND_HYBRID) { 2168 if ($kind == ZEND_VM_KIND_CALL || $kind == ZEND_VM_KIND_HYBRID) { [all …]
|
H A D | zend_compile.c | 2548 || ast->kind == ZEND_AST_ISSET || ast->kind == ZEND_AST_EMPTY; in zend_short_circuiting_commit() 3477 switch (kind) { in zend_compile_assign() 3644 switch (kind) { in zend_compile_compound_assign() 5052 switch (kind) { in zend_get_cstring_from_property_hook_kind() 11037 return kind == ZEND_AST_ZVAL || kind == ZEND_AST_BINARY_OP in zend_is_allowed_in_const_expr() 11039 || kind == ZEND_AST_AND || kind == ZEND_AST_OR in zend_is_allowed_in_const_expr() 11042 || kind == ZEND_AST_CONDITIONAL || kind == ZEND_AST_DIM in zend_is_allowed_in_const_expr() 11043 || kind == ZEND_AST_ARRAY || kind == ZEND_AST_ARRAY_ELEM in zend_is_allowed_in_const_expr() 11045 || kind == ZEND_AST_CONST || kind == ZEND_AST_CLASS_CONST in zend_is_allowed_in_const_expr() 11049 || kind == ZEND_AST_NEW || kind == ZEND_AST_ARG_LIST in zend_is_allowed_in_const_expr() [all …]
|
H A D | zend_fibers.h | 81 void *kind; member 140 ZEND_API zend_result zend_fiber_init_context(zend_fiber_context *context, void *kind, zend_fiber_co… 156 ZEND_ASSERT(context->kind == zend_ce_fiber && "Fiber context does not belong to a Zend fiber"); in END_EXTERN_C()
|
H A D | README.md | 128 `zend_vm_gen.php` can produce different kind of executors. You can select a 129 different opcode threading model using `--with-vm-kind=CALL|SWITCH|GOTO|HYBRID`. 137 # Default VM kind is HYBRID 138 php zend_vm_gen.php --with-vm-kind=HYBRID
|
H A D | zend_opcode.c | 732 range->var |= kind; in emit_live_range_raw() 742 uint32_t kind; in emit_live_range() local 763 kind = ZEND_LIVE_SILENCE; in emit_live_range() 767 kind = ZEND_LIVE_ROPE; in emit_live_range() 773 kind = ZEND_LIVE_LOOP; in emit_live_range() 822 kind = ZEND_LIVE_TMPVAR; in emit_live_range() 840 kind = ZEND_LIVE_TMPVAR; in emit_live_range() 855 emit_live_range_raw(op_array, var_num, kind, start, end); in emit_live_range() 865 emit_live_range_raw(op_array, var_num, kind, start, end); in emit_live_range() 875 emit_live_range_raw(op_array, var_num, kind, start, end); in emit_live_range() [all …]
|
/php-src/ext/ffi/ |
H A D | ffi.c | 3119 if (old->kind != type->kind in zend_ffi_same_types() 7168 val->kind = MAX(val->kind, op2->kind); \ 7175 val->kind = op2->kind; \ 7188 val->kind = MAX(val->kind, op2->kind); \ 7191 val->kind = op2->kind; \ 7204 val->kind = MAX(val->kind, op2->kind); \ 7213 val->kind = op2->kind; \ 7219 val->kind = op2->kind; \ 7234 val->kind = MAX(val->kind, op2->kind); \ 7253 val->kind = MAX(val->kind, op2->kind); \ [all …]
|
/php-src/ext/tokenizer/ |
H A D | tokenizer.stub.php | 27 /** @param int|string|array $kind */ 28 public function is($kind): bool {} argument
|
H A D | tokenizer.c | 143 zval *kind; in PHP_METHOD() local 146 Z_PARAM_ZVAL(kind) in PHP_METHOD() 149 if (Z_TYPE_P(kind) == IS_LONG) { in PHP_METHOD() 155 RETURN_BOOL(Z_LVAL_P(id_zval) == Z_LVAL_P(kind)); in PHP_METHOD() 156 } else if (Z_TYPE_P(kind) == IS_STRING) { in PHP_METHOD() 162 RETURN_BOOL(zend_string_equals(text, Z_STR_P(kind))); in PHP_METHOD() 163 } else if (Z_TYPE_P(kind) == IS_ARRAY) { in PHP_METHOD() 166 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(kind), entry) { in PHP_METHOD() 195 …d_argument_type_error(1, "must be of type string|int|array, %s given", zend_zval_value_name(kind)); in PHP_METHOD()
|
/php-src/ext/pdo_dblib/tests/ |
H A D | timeout.phpt | 27 // expect some kind of error code 41 // expect some kind of error code 53 // expect some kind of error code 65 // expect some kind of error code
|
/php-src/scripts/gdb/ |
H A D | php_gdb.py | 177 kind = self.val['kind'] 178 return (kind >> special_shift) & 1 185 kind = self.val['kind'] 186 return (kind >> list_shift) & 1 189 kind = int(self.val['kind']) 191 if kind == enum_value('ZEND_AST_ZVAL') or kind == enum_value('ZEND_AST_CONSTANT'): 193 if kind == enum_value('ZEND_AST_ZNODE'): 213 kind = self.val['kind'] 214 return kind >> num_children_shift
|
/php-src/ext/standard/tests/file/windows_mb_path/ |
H A D | util.inc | 3 function get_active_cp($kind = "") 11 return sapi_windows_cp_get($kind); 47 function skip_if_wrong_cp($cp, $kind = "") 49 if (get_active_cp($kind) != $cp) {
|
/php-src/Zend/tests/type_declarations/mixed/validation/ |
H A D | mixed_parameter_weak_success.phpt | 2 Test that the mixed parameter type accepts any kind of arguments in weak mode
|
H A D | mixed_parameter_strict_success.phpt | 2 Test that the mixed parameter type accepts any kind of arguments in strict mode
|
H A D | mixed_return_weak_success.phpt | 2 Test that the mixed return type is compatible with any kind of return value in weak mode
|
H A D | mixed_return_strict_success.phpt | 2 Test that the mixed return type is compatible with any kind of return value in strict mode
|
H A D | mixed_property_weak_success.phpt | 2 Test that the mixed property type accepts any kind of value in weak mode
|
H A D | mixed_property_strict_success.phpt | 2 Test that the mixed property type accepts any kind of value in strict mode
|
/php-src/ext/gd/tests/ |
H A D | imagegammacorrect_variation2.phpt | 38 $kind = $constructor === 'imagecreate' ? 'palette' : 'truecolor'; 39 echo "$kind gamma ($in, $out): ";
|
/php-src/ext/date/tests/ |
H A D | DateTime_data-absolute.inc | 5 * in a userland package. Please be so kind as to leave them.
|
H A D | DateTime_data-massive.inc | 5 * in a userland package. Please be so kind as to leave them.
|
/php-src/ext/pdo/ |
H A D | php_pdo_int.h | 58 bool pdo_hash_methods(pdo_dbh_object_t *dbh, int kind);
|
/php-src/ext/tokenizer/tests/ |
H A D | PhpToken_methods.phpt | 113 PhpToken::is(): Argument #1 ($kind) must be of type string|int|array, float given 114 PhpToken::is(): Argument #1 ($kind) must only have elements of type string|int, float given
|
/php-src/ext/soap/ |
H A D | php_sdl.h | 163 sdlContentKind kind; member 197 sdlTypeKind kind; member
|