/php-src/tests/lang/ |
H A D | bug22592.phpt | 14 $result = "* *-*"; 16 $result[6] = '*'; 18 $result[1] = $i; 20 $result[3] = $s; 22 $result[7] = 0; 24 $a = $result[1] = $result[3] = '-'; 26 $b = $result[3] = $result[5] = $s; 28 $c = $result[0] = $result[2] = $result[4] = $i; 30 $d = $result[6] = $result[8] = 5; 32 $e = $result[1] = $result[6]; [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 88 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD() 93 result->unbuf->m.free_result(result->unbuf, result->conn? result->conn->stats : NULL); in MYSQLND_METHOD() 114 result->m.free_result_buffers(result); in MYSQLND_METHOD() 145 result->meta = result->m.result_meta_init(result, result->field_count); in MYSQLND_METHOD() 150 if (FAIL == result->meta->m->read_metadata(result->meta, conn, result)) { in MYSQLND_METHOD() 291 result = stmt->result; in mysqlnd_query_read_result_set_header() 372 if (result->current_row > result->row_count || result->current_row == 0) { in MYSQLND_METHOD() 826 result->m.skip_result(result); in MYSQLND_METHOD() 827 result->m.free_result_contents(result); in MYSQLND_METHOD() 887 (result->unbuf? result->unbuf->m.num_rows(result->unbuf) : 0); in MYSQLND_METHOD() [all …]
|
/php-src/ext/odbc/ |
H A D | php_odbc.c | 961 SQLNumParams(result->stmt, &(result->numparams)); in PHP_FUNCTION() 962 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 1159 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 1347 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 2505 SQLNumParams(result->stmt, &(result->numparams)); 2871 SQLNumResultCols(result->stmt, &(result->numcols)); 2938 SQLNumResultCols(result->stmt, &(result->numcols)); 2999 SQLNumResultCols(result->stmt, &(result->numcols)); 3075 SQLNumResultCols(result->stmt, &(result->numcols)); 3133 SQLNumResultCols(result->stmt, &(result->numcols)); [all …]
|
/php-src/ext/pgsql/tests/ |
H A D | 03sync_query.phpt | 28 pg_fetch_object($result); 32 pg_fetch_row($result, $i); 65 pg_result_error($result); 88 pg_field_name($result, 0); 89 pg_field_num($result, "num"); 90 pg_field_size($result, 0); 91 pg_field_type($result, 0); 111 pg_field_name($result, -1); 116 pg_field_name($result, 3); 132 pg_last_oid($result); [all …]
|
H A D | 24sync_query_prepared.phpt | 20 pg_result_error($result); 21 pg_free_result($result); 33 pg_fetch_object($result); 44 pg_result_error($result); 47 pg_field_name($result, 0); 49 pg_field_size($result, 0); 50 pg_field_type($result, 0); 55 pg_result_error($result); 56 pg_free_result($result); 58 pg_last_oid($result); [all …]
|
H A D | 23sync_query_params.phpt | 30 pg_fetch_object($result); 34 pg_fetch_row($result, $i); 38 pg_fetch_result($result, $i, 0); 41 pg_result_error($result); 44 pg_field_name($result, 0); 45 pg_field_num($result, "num"); 46 pg_field_size($result, 0); 47 pg_field_type($result, 0); 48 pg_field_prtlen($result, null, 0); 52 pg_last_oid($result); [all …]
|
H A D | 32nb_async_query.phpt | 43 pg_fetch_object($result); 46 pg_fetch_row($result, $i); 49 pg_fetch_result($result, $i, 0); 54 pg_field_name($result, 0); 55 pg_field_num($result, "num"); 56 pg_field_size($result, 0); 57 pg_field_type($result, 0); 58 pg_field_prtlen($result, null, 0); 59 pg_field_is_null($result, null, 0); 74 pg_last_oid($result); [all …]
|
H A D | 26async_query_prepared.phpt | 30 pg_free_result($result); 53 pg_fetch_object($result); 57 pg_fetch_row($result, $i); 61 pg_fetch_result($result, $i, 0); 66 pg_field_name($result, 0); 67 pg_field_num($result, "num"); 68 pg_field_size($result, 0); 69 pg_field_type($result, 0); 85 pg_free_result($result); 100 pg_last_oid($result); [all …]
|
/php-src/ext/standard/ |
H A D | image.c | 86 return result; in php_handle_gif() 106 return result; in php_handle_psd() 133 result->height = abs((int32_t)result->height); in php_handle_bmp() 139 return result; in php_handle_bmp() 152 result = result + in php_swf_get_bits() 155 return result; in php_swf_get_bits() 232 result = NULL; in php_handle_swc() 236 return result; in php_handle_swc() 262 return result; in php_handle_swf() 291 return result; in php_handle_png() [all …]
|
H A D | ftp_fopen_wrapper.c | 109 if (result != 226 && result != 250) { in php_stream_ftp_stream_close() 163 if (result > 299 || result < 200) { in php_ftp_fopen_connect() 254 if (result >= 300 && result <= 399) { in php_ftp_fopen_connect() 276 if (result > 299 || result < 200) { in php_ftp_fopen_connect() 282 if (result > 299 || result < 200) { in php_ftp_fopen_connect() 464 if (result > 299 || result < 200) in php_stream_url_wrap_ftp() 477 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp() 702 if (result > 299 || result < 200) in php_stream_ftp_opendir() 791 if (result < 200 || result > 299) { in php_stream_ftp_url_stat() 801 if(result < 200 || result > 299) { in php_stream_ftp_url_stat() [all …]
|
/php-src/ext/tokenizer/ |
H A D | tokenizer_data_gen.php | 19 $result = "<?php\n\n/** @generate-class-entries */\n\n"; variable 28 $result .= "/**\n * @var int\n * @cvalue $tokenName\n */\n"; 29 $result .= "const $tokenName = UNKNOWN;\n"; 32 $result .= "/**\n * @var int\n * @cvalue T_PAAMAYIM_NEKUDOTAYIM\n */\n"; 33 $result .= "const T_DOUBLE_COLON = UNKNOWN;\n"; 35 file_put_contents($outfile_stub, $result); 39 $result = <<<CODE variable 75 $result .= "\t\tcase T_PAAMAYIM_NEKUDOTAYIM: return \"T_DOUBLE_COLON\";\n"; 77 $result .= "\t\tcase $tokenName: return \"$tokenName\";\n"; 81 $result .= <<<CODE [all …]
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | floor_or_ceil.c | 24 bc_num result = bc_new_num(num->n_len, 0); in bc_floor_or_ceil() local 25 result->n_sign = num->n_sign; in bc_floor_or_ceil() 28 memcpy(result->n_value, num->n_value, num->n_len); in bc_floor_or_ceil() 32 if (num->n_scale == 0 || result->n_sign == (is_floor ? PLUS : MINUS)) { in bc_floor_or_ceil() 50 bc_num tmp = _bc_do_add(result, BCG(_one_)); in bc_floor_or_ceil() 51 tmp->n_sign = result->n_sign; in bc_floor_or_ceil() 52 bc_free_num(&result); in bc_floor_or_ceil() 53 result = tmp; in bc_floor_or_ceil() 56 if (bc_is_zero(result)) { in bc_floor_or_ceil() 57 result->n_sign = PLUS; in bc_floor_or_ceil() [all …]
|
H A D | round.c | 24 bc_free_num(result); in bc_round() 37 *result = bc_copy_num(BCG(_zero_)); in bc_round() 43 *result = bc_copy_num(num); in bc_round() 46 (*result)->n_sign = num->n_sign; in bc_round() 69 (*result)->n_sign = num->n_sign; in bc_round() 168 bc_num scaled_one = bc_new_num((*result)->n_len, (*result)->n_scale); in bc_round() 172 tmp->n_sign = (*result)->n_sign; in bc_round() 176 bc_free_num(result); in bc_round() 177 *result = tmp; in bc_round() 181 if (bc_is_zero(*result)) { in bc_round() [all …]
|
H A D | raise.c | 37 void bc_square_ex(bc_num n1, bc_num *result, size_t scale_min) { in bc_square_ex() argument 39 bc_free_num(result); in bc_square_ex() 40 *(result) = square_ex; in bc_square_ex() 46 bool bc_raise(bc_num base, long exponent, bc_num *result, size_t scale) { in bc_raise() argument 55 bc_free_num (result); in bc_raise() 56 *result = bc_copy_num(BCG(_one_)); in bc_raise() 95 if (bc_divide(BCG(_one_), temp, result, rscale) == false) { in bc_raise() 102 bc_free_num (result); in bc_raise() 103 *result = temp; in bc_raise() 104 (*result)->n_scale = MIN(scale, (*result)->n_scale); in bc_raise() [all …]
|
/php-src/scripts/dev/ |
H A D | bless_tests.php | 83 $result = str_replace('%e', '\\' . DIRECTORY_SEPARATOR, $result); 84 $result = str_replace('%s', '[^\r\n]+', $result); 85 $result = str_replace('%S', '[^\r\n]*', $result); 86 $result = str_replace('%w', '\s*', $result); 87 $result = str_replace('%i', '[+-]?\d+', $result); 88 $result = str_replace('%d', '\d+', $result); 89 $result = str_replace('%x', '[0-9a-fA-F]+', $result); 91 $result = str_replace('%c', '.', $result); 92 $result = str_replace('%0', '\0', $result); 107 $result = []; [all …]
|
/php-src/ext/filter/tests/ |
H A D | 033_run.inc | 26 … foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>"test")); 29 printf("%-5s",$result[0]); 30 printf("%-3s",$result[1]); 31 printf("%-15s",$result[2]); 32 printf("%-20s",$result[3]); 33 printf("%-10s",$result[4]); 34 printf("%-5s",$result[5]); 35 printf("%-20s",$result[6]); 36 printf("%-15s",$result[7]); 37 printf("%-10s",$result[8]); [all …]
|
/php-src/ext/bcmath/tests/ |
H A D | bcround_early_return.phpt | 36 echo $result; 37 $results[RoundingMode::HalfAwayFromZero->name][] = $result; 46 $results[$mode->name][] = $result; 78 HalfAwayFromZero: result is same to HalfAwayFromZero 79 HalfTowardsZero: result is same to HalfAwayFromZero 80 HalfEven: result is same to HalfAwayFromZero 81 HalfOdd: result is same to HalfAwayFromZero 82 TowardsZero: result is same to HalfAwayFromZero 83 AwayFromZero: result is same to HalfAwayFromZero 84 NegativeInfinity: result is same to HalfAwayFromZero [all …]
|
/php-src/Zend/tests/throw/ |
H A D | 001.phpt | 8 var_dump($result); 15 var_dump($result); 22 var_dump($result); 29 var_dump($result); 36 var_dump($result); 43 var_dump($result); 50 var_dump($result); 57 var_dump($result); 64 var_dump($result); 98 $result = "bar"; [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | vprintf_basic3.phpt | 21 $result = vprintf($format1,$arg1); 23 var_dump($result); 25 $result = vprintf($format11,$arg1); 27 var_dump($result); 29 $result = vprintf($format2,$arg2); 31 var_dump($result); 33 $result = vprintf($format22,$arg2); 35 var_dump($result); 37 $result = vprintf($format3,$arg3); 39 var_dump($result); [all …]
|
H A D | vprintf_basic9.phpt | 21 $result = vprintf($format1,$arg1); 23 var_dump($result); 24 $result = vprintf($format11,$arg1); 26 var_dump($result); 28 $result = vprintf($format2,$arg2); 30 var_dump($result); 31 $result = vprintf($format22,$arg2); 33 var_dump($result); 36 var_dump($result); 37 $result = vprintf($format33,$arg3); [all …]
|
H A D | printf_basic3.phpt | 23 $result = printf($format); 25 var_dump($result); 28 $result = printf($format1, $arg1); 30 var_dump($result); 31 $result = printf($format11, $arg1); 33 var_dump($result); 36 $result = printf($format2, $arg1, $arg2); 38 var_dump($result); 41 var_dump($result); 46 var_dump($result); [all …]
|
H A D | printf_basic9.phpt | 24 $result = printf($format); 26 var_dump($result); 29 $result = printf($format1, $arg1); 31 var_dump($result); 32 $result = printf($format11, $arg1); 34 var_dump($result); 37 $result = printf($format2, $arg1, $arg2); 39 var_dump($result); 42 var_dump($result); 47 var_dump($result); [all …]
|
/php-src/ext/date/tests/ |
H A D | bug20382-2.phpt | 49 result = Monday 2037-10-26 00:00:00 CET 54 result = Monday 1970-01-05 00:00:00 %s 59 result = Monday 1970-01-05 00:00:00 %s 64 result = Monday 1970-01-05 00:00:00 AST 69 result = Monday 1970-01-05 00:00:00 AST 79 result = Monday 2037-10-26 00:00:00 +04 84 result = Monday 1970-01-05 00:00:00 AST 89 result = Monday 1970-01-05 00:00:00 WAT 134 result = Monday 1971-01-04 00:00:00 %s 154 result = Monday 1974-10-07 00:00:00 %s [all …]
|
/php-src/Zend/Optimizer/ |
H A D | sccp.c | 335 ZVAL_TRUE(result); in ct_eval_bool_cast() 416 ZVAL_TRUE(result); in ct_eval_isset_isempty() 554 array_init(result); in ct_eval_assign_dim() 571 memcpy(ZSTR_VAL(new_str), Z_STRVAL_P(result), Z_STRLEN_P(result)); in ct_eval_assign_dim() 830 ZVAL_NULL(result); in ct_eval_func_call_ex() 1112 if (result && Z_TYPE_P(result) == IS_NULL) { in sccp_visit_instr() 1135 if (!result) { in sccp_visit_instr() 1158 if (result) { in sccp_visit_instr() 1200 ZVAL_NULL(result); in sccp_visit_instr() 2048 zval result; in sccp_visit_phi() local [all …]
|
/php-src/ext/odbc/tests/ |
H A D | odbc_tables_001.phpt | 14 var_dump($result = odbc_tables($conn, '', '', '', '')); 15 var_dump(odbc_fetch_row($result)); 17 var_dump($result = odbc_tables($conn)); 18 var_dump(odbc_fetch_row($result)); 19 var_dump(odbc_free_result($result)); 21 var_dump($result = odbc_tables($conn, NULL, NULL, NULL, NULL)); 22 var_dump(odbc_fetch_row($result)); 23 var_dump(odbc_free_result($result)); 25 var_dump($result = odbc_tables($conn, 'FOO', 'FOO', 'FOO', 'FOO')); 26 var_dump(odbc_fetch_row($result));
|