/php-src/ext/mbstring/ |
H A D | gen_rare_cp_bitvec.php | 31 $result = <<<'HEADER' variable 48 $result .= "\n"; 50 $result .= " "; 53 $result .= "0x" . str_pad(dechex($bitvec[$i]), 8, '0', STR_PAD_LEFT) . ","; 56 $result .= "\n};\n"; 58 file_put_contents(__DIR__ . '/rare_cp_bitvec.h', $result);
|
/php-src/sapi/fuzzer/ |
H A D | fuzzer-unserializehash.c | 50 zval result; in LLVMFuzzerTestOneInput() local 51 ZVAL_UNDEF(&result); in LLVMFuzzerTestOneInput() 55 php_var_unserialize(&result, (const unsigned char **) &data, data + Size, &var_hash); in LLVMFuzzerTestOneInput() 58 if (Z_TYPE(result) == IS_OBJECT in LLVMFuzzerTestOneInput() 59 && zend_string_equals_literal(Z_OBJCE(result)->name, "HashContext")) { in LLVMFuzzerTestOneInput() 61 ZVAL_COPY_VALUE(&args[0], &result); in LLVMFuzzerTestOneInput() 68 zval_ptr_dtor(&result); in LLVMFuzzerTestOneInput()
|
/php-src/ext/standard/ |
H A D | crypt.c | 73 zend_string *result; in php_crypt() local 103 result = zend_string_init(output, strlen(output), 0); in php_crypt() 106 return result; in php_crypt() 118 result = zend_string_init(output, strlen(output), 0); in php_crypt() 121 return result; in php_crypt() 137 result = zend_string_init(output, strlen(output), 0); in php_crypt() 139 return result; in php_crypt() 152 return result; in php_crypt() 182 return result; in php_crypt() 194 zend_string *result; in PHP_FUNCTION() local [all …]
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 75 return result; in zend_jit_jmp_frameless_helper() 1369 if (result) { in zend_assign_to_string_offset() 1853 zval *result = EX_VAR(opline->result.var); in zend_jit_fetch_obj_r_slow() local 1871 zval *result = EX_VAR(opline->result.var); in zend_jit_fetch_obj_r_dynamic() local 1909 zval *result = EX_VAR(opline->result.var); in zend_jit_fetch_obj_is_slow() local 1927 zval *result = EX_VAR(opline->result.var); in zend_jit_fetch_obj_is_dynamic() local 2020 if (result) ZVAL_ERROR(result); in zend_handle_fetch_obj_flags() 2036 if (result) ZVAL_ERROR(result); in zend_handle_fetch_obj_flags() 2057 zval *result = EX_VAR(opline->result.var); in zend_jit_fetch_obj_w_slow() local 2108 zval *result = EX_VAR(opline->result.var); in zend_jit_check_array_promotion() local [all …]
|
/php-src/ext/standard/tests/math/ |
H A D | pow_basic2.phpt | 10 echo "\n-- The following all result in INF --\n"; 15 echo "\n\n-- The following all result in 0 --\n"; 21 echo "\n\n-- The following all result in -0 --\n"; 24 echo "\n\n-- The following all result in -INF --\n"; 30 -- The following all result in INF -- 36 -- The following all result in 0 -- 43 -- The following all result in -0 -- 47 -- The following all result in -INF --
|
/php-src/Zend/ |
H A D | zend_operators.c | 1081 if (result != op1) { in add_function_array() 1134 if (result == op1) { in add_function_slow() 1198 if (result == op1) { in sub_function_slow() 1229 Z_LVAL_P(result), Z_DVAL_P(result), overflow); in mul_function_fast() 1557 ZVAL_TRUE(result); in boolean_not_function() 1668 if (result==op1) { in bitwise_or_function() 1750 if (result==op1) { in bitwise_and_function() 1832 if (result==op1) { in bitwise_xor_function() 2017 if (EXPECTED(result != op2 || Z_TYPE_P(result) != IS_STRING)) { in concat_function() 2030 if (EXPECTED(result != op1 || Z_TYPE_P(result) != IS_STRING)) { in concat_function() [all …]
|
/php-src/ext/intl/tests/ |
H A D | locale_lookup_variant3.phpt | 54 $res_str .= "\nlookup result:$result\n"; 58 $res_str .= "Canonical lookup result:$result\n"; 76 lookup result:de-DE 77 Canonical lookup result:de_de 82 lookup result:sl_IT 83 Canonical lookup result:sl_it 88 lookup result:sl_IT 94 lookup result:jbo 95 Canonical lookup result:jbo 100 lookup result:art-lojban [all …]
|
H A D | locale_lookup.phpt | 54 $res_str .= "\nlookup result:$result\n"; 58 $res_str .= "Canonical lookup result:$result\n"; 76 lookup result:de-DE 77 Canonical lookup result:de_de 82 lookup result:sl_IT 83 Canonical lookup result:sl_it 88 lookup result:sl_IT 94 lookup result:jbo 95 Canonical lookup result:jbo 100 lookup result:art-lojban [all …]
|
H A D | locale_lookup_variant2.phpt | 54 $res_str .= "\nlookup result:$result\n"; 58 $res_str .= "Canonical lookup result:$result\n"; 76 lookup result:de-DE 77 Canonical lookup result:de_de 82 lookup result:sl_IT 83 Canonical lookup result:sl_it 88 lookup result:sl_IT 89 Canonical lookup result:sl_it 94 lookup result:jbo 95 Canonical lookup result:jbo [all …]
|
/php-src/ext/pgsql/tests/ |
H A D | bug60244.phpt | 15 $result = pg_query($db, "SELECT 'a' UNION SELECT 'b'"); 18 var_dump(pg_fetch_array($result, -1)); 23 var_dump(pg_fetch_assoc($result, -1)); 28 var_dump(pg_fetch_object($result, -1)); 33 var_dump(pg_fetch_row($result, -1)); 38 var_dump(pg_fetch_array($result, 0)); 39 var_dump(pg_fetch_assoc($result, 0)); 40 var_dump(pg_fetch_object($result, 0)); 41 var_dump(pg_fetch_row($result, 0));
|
/php-src/tests/lang/ |
H A D | 024.phpt | 382 Correct result - 8: 8 383 Correct result - 8: 8 384 Correct result - 2: 2 388 Correct result - 2: 2 389 Correct result - 3: 3 393 Correct result - 8: 8 394 Correct result - 8: 8 395 Correct result - 2: 2 399 Correct result - 2: 2 400 Correct result - 3: 3 [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | vprintf_basic8.phpt | 16 $result = vprintf($format1,$arg1); 18 var_dump($result); 20 $result = vprintf($format2,$arg2); 22 var_dump($result); 24 $result = vprintf($format3,$arg3); 26 var_dump($result);
|
H A D | printf_basic2.phpt | 18 $result = printf($format); 20 var_dump($result); 23 $result = printf($format1, $arg1); 25 var_dump($result); 28 $result = printf($format2, $arg1, $arg2); 30 var_dump($result); 33 $result = printf($format3, $arg1, $arg2, $arg3); 35 var_dump($result);
|
H A D | printf_basic4.phpt | 18 $result = printf($format); 20 var_dump($result); 23 $result = printf($format1, $arg1); 25 var_dump($result); 28 $result = printf($format2, $arg1, $arg2); 30 var_dump($result); 33 $result = printf($format3, $arg1, $arg2, $arg3); 35 var_dump($result);
|
H A D | printf_basic5.phpt | 18 $result = printf($format); 20 var_dump($result); 23 $result = printf($format1, $arg1); 25 var_dump($result); 28 $result = printf($format2, $arg1, $arg2); 30 var_dump($result); 33 $result = printf($format3, $arg1, $arg2, $arg3); 35 var_dump($result);
|
H A D | vprintf_basic4.phpt | 16 $result = vprintf($format1,$arg1); 18 var_dump($result); 20 $result = vprintf($format2,$arg2); 22 var_dump($result); 24 $result = vprintf($format3,$arg3); 26 var_dump($result);
|
H A D | vprintf_basic2.phpt | 20 $result = vprintf($format1,$arg1); 22 var_dump($result); 24 $result = vprintf($format2,$arg2); 26 var_dump($result); 28 $result = vprintf($format3,$arg3); 30 var_dump($result);
|
H A D | vprintf_basic5.phpt | 16 $result = vprintf($format1,$arg1); 18 var_dump($result); 20 $result = vprintf($format2,$arg2); 22 var_dump($result); 24 $result = vprintf($format3,$arg3); 26 var_dump($result);
|
H A D | vprintf_basic6.phpt | 16 $result = vprintf($format1,$arg1); 18 var_dump($result); 20 $result = vprintf($format2,$arg2); 22 var_dump($result); 24 $result = vprintf($format3,$arg3); 26 var_dump($result);
|
H A D | printf_basic6.phpt | 17 $result = printf($format); 19 var_dump($result); 22 $result = printf($format1, $arg1); 24 var_dump($result); 27 $result = printf($format2, $arg1, $arg2); 29 var_dump($result); 32 $result = printf($format3, $arg1, $arg2, $arg3); 34 var_dump($result);
|
H A D | printf_basic7.phpt | 24 $result = printf($format); 26 var_dump($result); 29 $result = printf($format1, $arg1); 31 var_dump($result); 34 $result = printf($format2, $arg1, $arg2); 36 var_dump($result); 39 $result = printf($format3, $arg1, $arg2, $arg3); 41 var_dump($result);
|
/php-src/ext/mysqli/tests/ |
H A D | bug36420.phpt | 2 Bug #36420 (segfault when access result->num_rows after calling result->close()) 15 $result = $mysqli->query('select 1'); 17 $result->close(); 19 $result->num_rows; 26 $result->num_rows;
|
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | pickArrayKeys.phpt | 43 $result = $randomizer->pickArrayKeys($array1, $i); 45 if (array_unique($result) !== $result) { 49 if (array_diff($result, array_keys($array1)) !== []) { 53 $result = $randomizer->pickArrayKeys($array2, $i); 55 if (array_unique($result) !== $result) { 59 if (array_diff($result, array_keys($array2)) !== []) { 63 $result = $randomizer->pickArrayKeys($array3, $i); 65 if (array_unique($result) !== $result) { 69 if (array_diff($result, array_keys($array3)) !== []) {
|
/php-src/ext/random/ |
H A D | engine_user.c | 27 uint64_t result = 0; in generate() local 36 .result = 0, in generate() 50 result += ((uint64_t) (unsigned char) Z_STRVAL(retval)[i]) << (8 * i); in generate() 56 .result = 0, in generate() 64 .result = result, in generate()
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_ps.c | 108 result = stmt->result; in MYSQLND_METHOD() 112 result->stored_data = mysqlnd_result_buffered_init(result, result->field_count, stmt); in MYSQLND_METHOD() 118 …ret = result->m.store_result_fetch_data(conn, result, result->meta, &result->stored_data->row_buff… in MYSQLND_METHOD() 183 result->meta = stmt->result->meta->m->clone_metadata(result, stmt->result->meta); in MYSQLND_METHOD() 202 result->m.free_result(result, TRUE); in MYSQLND_METHOD() 450 stmt->result = result; in MYSQLND_METHOD() 741 result = stmt->result; in MYSQLND_METHOD() 743 result->m.use_result(stmt->result, stmt); in MYSQLND_METHOD() 983 stmt->result->m.skip_result(stmt->result); in MYSQLND_METHOD() 1463 return stmt && stmt->result? stmt->result->m.seek_data(stmt->result, row) : FAIL; in MYSQLND_METHOD() [all …]
|