/PHP-8.0/ext/bcmath/libbcmath/src/ |
H A D | int2num.c | 44 bc_int2num (num, val) in bc_int2num() argument 46 int val; 54 if (val < 0) 57 val = -val; 62 *bptr++ = val % BASE; 63 val = val / BASE; 66 while (val != 0) 68 *bptr++ = val % BASE; 69 val = val / BASE;
|
H A D | num2long.c | 49 long val; local 54 val = 0; 59 if (val > LONG_MAX/BASE) { 62 val *= BASE; 64 if (val > LONG_MAX - n) { 67 val += n; 72 return (val); 74 return (-val);
|
H A D | doaddsub.c | 146 int borrow, count, val; local 184 if (val < 0) 186 val += BASE; 191 *diffptr-- = val; 200 if (val < 0) 202 val += BASE; 207 *diffptr-- = val; 215 val = *n1ptr-- - borrow; 216 if (val < 0) 218 val += BASE; [all …]
|
/PHP-8.0/Zend/ |
H A D | zend_float.h | 121 # define XPFPA_RETURN_DOUBLE(val) \ argument 127 # define XPFPA_RETURN_SINGLE(val) \ argument 180 # define XPFPA_RETURN_DOUBLE(val) \ 186 # define XPFPA_RETURN_SINGLE(val) \ 240 # define XPFPA_RETURN_DOUBLE(val) \ 246 # define XPFPA_RETURN_SINGLE(val) \ 296 # define XPFPA_RETURN_DOUBLE(val) \ 302 # define XPFPA_RETURN_SINGLE(val) \ 409 # define XPFPA_RETURN_DOUBLE(val) return (val) 410 # define XPFPA_RETURN_SINGLE(val) return (val) [all …]
|
H A D | zend_vm_trace_map.h | 48 if (Z_LVAL(p1->val) > Z_LVAL(p2->val)) { in zend_vm_trace_compare() 50 } else if (Z_LVAL(p1->val) < Z_LVAL(p2->val)) { in zend_vm_trace_compare() 61 zval *val; in zend_vm_trace_init() local 68 ZEND_HASH_FOREACH_STR_KEY_VAL(&vm_trace_ht, key, val) { in zend_vm_trace_init() 70 …fprintf(f, ADDR_FMT" "ADDR_FMT" t %s\n", prev_addr, Z_LVAL_P(val) - prev_addr, ZSTR_VAL(prev_key)); in zend_vm_trace_init() 73 prev_addr = Z_LVAL_P(val); in zend_vm_trace_init()
|
H A D | zend_map_ptr.h | 40 # define ZEND_MAP_PTR_SET(ptr, val) do { \ argument 41 (*(ZEND_MAP_PTR(ptr))) = (val); \ 43 # define ZEND_MAP_PTR_INIT(ptr, val) do { \ argument 44 ZEND_MAP_PTR(ptr) = (val); \ 69 # define ZEND_MAP_PTR_SET(ptr, val) do { \ argument 74 *__p = (val); \ 76 # define ZEND_MAP_PTR_INIT(ptr, val) do { \ argument 77 ZEND_MAP_PTR(ptr) = (val); \
|
/PHP-8.0/ext/standard/ |
H A D | php_mail.h | 25 #define PHP_MAIL_BUILD_HEADER_CHECK(target, s, key, val) \ argument 27 if (Z_TYPE_P(val) == IS_STRING) { \ 28 php_mail_build_headers_elem(&s, key, val); \ 29 } else if (Z_TYPE_P(val) == IS_ARRAY) { \ 34 php_mail_build_headers_elems(&s, key, val); \ 36 …"Header \"%s\" must be of type array|string, %s given", ZSTR_VAL(key), zend_zval_type_name(val)); \ 41 #define PHP_MAIL_BUILD_HEADER_DEFAULT(s, key, val) \ argument 43 if (Z_TYPE_P(val) == IS_STRING) { \ 44 php_mail_build_headers_elem(&s, key, val); \ 45 } else if (Z_TYPE_P(val) == IS_ARRAY) { \ [all …]
|
H A D | mail.c | 63 zend_string *value = Z_STR_P(val); in php_mail_build_headers_check_field_value() 68 if (*(value->val+len) == '\r') { in php_mail_build_headers_check_field_value() 70 && *(value->val+len+1) == '\n' in php_mail_build_headers_check_field_value() 71 && (*(value->val+len+2) == ' ' || *(value->val+len+2) == '\t')) { in php_mail_build_headers_check_field_value() 77 if (*(value->val+len) == '\0') { in php_mail_build_headers_check_field_value() 92 if (*(key->val+len) < 33 || *(key->val+len) > 126 || *(key->val+len) == ':') { in php_mail_build_headers_check_field_name() 105 switch(Z_TYPE_P(val)) { in php_mail_build_headers_elem() 117 smart_str_appends(s, Z_STRVAL_P(val)); in php_mail_build_headers_elem() 152 zval *val; in php_mail_build_headers() local 438 #define MAIL_RET(val) \ in php_mail() argument [all …]
|
/PHP-8.0/ext/ffi/ |
H A D | php_ffi.h | 253 void zend_ffi_expr_add(zend_ffi_val *val, zend_ffi_val *op2); 254 void zend_ffi_expr_sub(zend_ffi_val *val, zend_ffi_val *op2); 255 void zend_ffi_expr_mul(zend_ffi_val *val, zend_ffi_val *op2); 256 void zend_ffi_expr_div(zend_ffi_val *val, zend_ffi_val *op2); 259 void zend_ffi_expr_plus(zend_ffi_val *val); 260 void zend_ffi_expr_neg(zend_ffi_val *val); 261 void zend_ffi_expr_bw_not(zend_ffi_val *val); 262 void zend_ffi_expr_bool_not(zend_ffi_val *val); 263 void zend_ffi_expr_sizeof_val(zend_ffi_val *val); 265 void zend_ffi_expr_alignof_val(zend_ffi_val *val); [all …]
|
H A D | ffi.g | 461 {zend_ffi_val val;} 500 {zend_ffi_val val;} 608 and_expression(val) 680 cast_expression(val) 728 | OCTNUMBER(val) 729 | DECNUMBER(val) 730 | HEXNUMBER(val) 731 | FLOATNUMBER(val) 732 | STRING(val) 733 | CHARACTER(val) [all …]
|
H A D | ffi.c | 6997 val->d = val->u64; 7000 val->d = val->i64; 7005 val->d = val->ch; 7013 val->d = val->u64; 7016 val->d = val->i64; 7021 val->d = val->ch; 7038 val->d = val->ch; 7097 val->ch = val->d; 7143 val->d = -val->d; 7145 val->ch = -val->ch; [all …]
|
/PHP-8.0/ext/pdo_dblib/tests/ |
H A D | bug_38955.phpt | 13 $db->query("CREATE table php_test(val int)"); 15 $db->query("INSERT INTO php_test(val) values(1)"); 16 $db->query("INSERT INTO php_test(val) values(2)"); 17 $db->query("INSERT INTO php_test(val) values(3)"); 18 $db->query("INSERT INTO php_test(val) values(4)"); 23 $db->query("INSERT INTO php_test(val) values(5)"); 24 $db->query("INSERT INTO php_test(val) values(6)"); 39 ["val"]=> 44 ["val"]=> 49 ["val"]=> [all …]
|
/PHP-8.0/ext/spl/tests/ |
H A D | iterator_013.phpt | 10 foreach($it as $key=>$val) 12 echo "$key=>$val\n"; 19 foreach($it as $key=>$val) 21 echo "$key=>$val\n"; 26 foreach($it as $key=>$val) 28 echo "$key=>$val\n"; 35 foreach(new NoRewindIterator($it) as $key=>$val) 37 echo "$key=>$val\n"; 42 foreach($it as $key=>$val) 44 echo "$key=>$val\n";
|
/PHP-8.0/Zend/tests/type_declarations/ |
H A D | typed_properties_073.phpt | 8 public int $val; 16 unset($test->val); 18 var_dump($val = &$test->val); 22 var_dump($test, $val); 29 ["val"]=> 36 ["val"]=> 42 ["val"]=>
|
H A D | typed_properties_045.phpt | 11 foreach ($this as $k => &$val) { 13 var_dump($val); 14 $val = 20; 15 var_dump($val); 17 $val = []; 27 foreach ($foo as $k => &$val) { 28 var_dump($val); 30 $val = 20; 34 $val = [];
|
/PHP-8.0/Zend/tests/arrow_functions/ |
H A D | 008.phpt | 9 foreach ($fn() as $val) { 10 var_dump($val); 14 foreach ($fn() as $val) { 15 var_dump($val); 19 foreach ($fn()() as $val) { 20 var_dump($val);
|
/PHP-8.0/ext/standard/tests/class_object/ |
H A D | get_object_vars_variation_002.phpt | 10 $obj->val = $a; 16 $arr['val'] = 'changed.val'; 26 ["val"]=> 32 ["val"]=> 33 string(11) "changed.val" 38 ["val"]=>
|
/PHP-8.0/ext/soap/ |
H A D | php_packet_soap.c | 296 val = cur; in parse_packet_soap() 313 if (!val) { in parse_packet_soap() 336 xmlNodePtr val; in parse_packet_soap() local 337 val = resp->children; in parse_packet_soap() 339 while (val && val->type != XML_ELEMENT_NODE) { in parse_packet_soap() 340 val = val->next; in parse_packet_soap() 342 if (val != NULL) { in parse_packet_soap() 348 if (val->name) { in parse_packet_soap() 351 } else if (val->next && get_node(val->next, (char*)val->name)) { in parse_packet_soap() 365 val = val->next; in parse_packet_soap() [all …]
|
/PHP-8.0/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_string.c | 41 string->val = (unsigned char*)NULL; in mbfl_string_init() 49 string->val = (unsigned char*)NULL; in mbfl_string_init_set() 56 if (string->val != (unsigned char*)NULL) { in mbfl_string_clear() 57 efree(string->val); in mbfl_string_clear() 59 string->val = (unsigned char*)NULL; in mbfl_string_clear()
|
/PHP-8.0/ext/pdo/tests/ |
H A D | pdo_011.phpt | 47 $this->val = $val; 57 function test($id,$val='N/A') 60 return array($id=>$val); 160 ["val"]=> 167 ["val"]=> 174 ["val"]=> 181 ["val"]=> 198 ["val"]=> 205 ["val"]=> 212 ["val"]=> [all …]
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_max_buffer_size.phpt | 33 … $db->exec(sprintf('CREATE TABLE test(id INT, val LONGBLOB) ENGINE = %s', PDO_MYSQL_TEST_ENGINE)); 36 $db->exec('INSERT INTO test(id, val) VALUES (1, REPEAT("01234567890", 10240))'); 38 $stmt = $db->prepare('SELECT id, val FROM test'); 41 $id = $val = NULL; 43 $stmt->bindColumn(2, $val); 45 printf("[%03d] id = %d, val = %s... (length: %d)\n", 46 $offset, $id, substr($val, 0, 10), strlen($val)); 73 [001] id = 1, val = 0123456789... (length: %d) 74 [002] id = 1, val = 0123456789... (length: 1000) 75 [003] id = 1, val = 0123456789... (length: %d) [all …]
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_optimizer.c | 42 zval val; in zend_optimizer_collect_constant() local 48 ZVAL_COPY(&val, value); in zend_optimizer_collect_constant() 134 zval *val; in zend_optimizer_get_collected_constant() local 137 ZVAL_COPY(value, val); in zend_optimizer_get_collected_constant() 164 ZVAL_STR(val, str); in drop_leading_backslash() 218 REQUIRES_STRING(val); in zend_optimizer_update_op1_const() 306 val = &zv; in zend_optimizer_update_op1_const() 309 if (Z_TYPE_P(val) == IS_STRING && Z_STRLEN_P(val) == 0) { in zend_optimizer_update_op1_const() 397 zend_str_tolower(Z_STRVAL_P(val), Z_STRLEN_P(val)); in zend_optimizer_update_op2_const() 401 val = &tmp; in zend_optimizer_update_op2_const() [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | debug_info-error-0.phpt | 7 public $val; 9 return $this->val; 11 public function __construct($val) { 12 $this->val = $val;
|
H A D | debug_info-error-1.phpt | 7 public $val; 9 return $this->val; 11 public function __construct($val) { 12 $this->val = $val;
|
H A D | debug_info-error-false.phpt | 7 public $val; 9 return $this->val; 11 public function __construct($val) { 12 $this->val = $val;
|