/PHP-7.2/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-7.2/ext/pgsql/tests/ |
H A D | 03sync_query.phpt | 23 pg_fetch_object($result); 27 pg_fetch_row($result, $i); 31 pg_fetch_result($result, $i, 0); 34 pg_result_error($result); 57 pg_field_name($result, 0); 59 pg_field_size($result, 0); 60 pg_field_type($result, 0); 61 pg_field_prtlen($result, 0); 62 pg_field_is_null($result, 0); 65 pg_last_oid($result); [all …]
|
H A D | 24sync_query_prepared.phpt | 18 pg_result_error($result); 19 pg_free_result($result); 31 pg_fetch_object($result); 42 pg_result_error($result); 45 pg_field_name($result, 0); 47 pg_field_size($result, 0); 48 pg_field_type($result, 0); 53 pg_result_error($result); 54 pg_free_result($result); 56 pg_last_oid($result); [all …]
|
H A D | 98old_api.phpt | 12 pg_numrows($result); 13 pg_numfields($result); 14 pg_fieldname($result, 0); 15 pg_fieldsize($result, 0); 16 pg_fieldtype($result, 0); 17 pg_fieldprtlen($result, 0); 18 pg_fieldisnull($result, 0); 20 pg_result($result,0,0); 22 $oid = pg_getlastoid($result); 23 pg_freeresult($result); [all …]
|
H A D | 23sync_query_params.phpt | 28 pg_fetch_object($result); 32 pg_fetch_row($result, $i); 36 pg_fetch_result($result, $i, 0); 39 pg_result_error($result); 42 pg_field_name($result, 0); 44 pg_field_size($result, 0); 45 pg_field_type($result, 0); 46 pg_field_prtlen($result, 0); 47 pg_field_is_null($result, 0); 50 pg_last_oid($result); [all …]
|
H A D | 04async_query.phpt | 19 if (!($result = pg_get_result($db))) 33 pg_fetch_object($result); 37 pg_fetch_row($result, $i); 41 pg_fetch_result($result, $i, 0); 46 pg_field_name($result, 0); 48 pg_field_size($result, 0); 49 pg_field_type($result, 0); 50 pg_field_prtlen($result, 0); 51 pg_field_is_null($result, 0); 58 pg_last_oid($result); [all …]
|
H A D | 32nb_async_query.phpt | 45 pg_fetch_object($result); 48 pg_fetch_row($result, $i); 51 pg_fetch_result($result, $i, 0); 56 pg_field_name($result, 0); 57 pg_field_num($result, $field_name); 58 pg_field_size($result, 0); 59 pg_field_type($result, 0); 60 pg_field_prtlen($result, 0); 61 pg_field_is_null($result, 0); 76 pg_last_oid($result); [all …]
|
H A D | 25async_query_params.phpt | 24 if (!($result = pg_get_result($db))) 37 pg_fetch_object($result); 41 pg_fetch_row($result, $i); 45 pg_fetch_result($result, $i, 0); 50 pg_field_name($result, 0); 52 pg_field_size($result, 0); 53 pg_field_type($result, 0); 54 pg_field_prtlen($result, 0); 55 pg_field_is_null($result, 0); 62 pg_last_oid($result); [all …]
|
H A D | 26async_query_prepared.phpt | 28 pg_free_result($result); 51 pg_fetch_object($result); 55 pg_fetch_row($result, $i); 64 pg_field_name($result, 0); 66 pg_field_size($result, 0); 67 pg_field_type($result, 0); 68 pg_field_prtlen($result, 0); 69 pg_field_is_null($result, 0); 83 pg_free_result($result); 98 pg_last_oid($result); [all …]
|
H A D | 31nb_async_query_prepared.phpt | 37 pg_free_result($result); 59 pg_fetch_object($result); 62 pg_fetch_row($result, $i); 70 pg_field_name($result, 0); 72 pg_field_size($result, 0); 73 pg_field_type($result, 0); 74 pg_field_prtlen($result, 0); 75 pg_field_is_null($result, 0); 89 pg_free_result($result); 104 pg_last_oid($result); [all …]
|
/PHP-7.2/ext/intl/tests/ |
H A D | formatter_get_set_attribute.phpt | 102 Old attribute value: 0 ; Format result: '12,345.123' ; Parse result: 12345.123 104 New attribute value: 1 ; Format result: '12,345.123' ; Parse result: 12345 107 Old attribute value: 1 ; Format result: '12,345.123' ; Parse result: 12345.123 109 New attribute value: 0 ; Format result: '12345.123' ; Parse result: 12345.123 112 Old attribute value: 0 ; Format result: '12,345' ; Parse result: 12345 114 New attribute value: 1 ; Format result: '12,345.' ; Parse result: 12345 117 Old attribute value: 309 ; Format result: '12,345.123' ; Parse result: 12345.123 119 New attribute value: 2 ; Format result: '45.123' ; Parse result: 45.123 122 Old attribute value: 1 ; Format result: '12,345.123' ; Parse result: 12345.123 127 Old attribute value: 1 ; Format result: '12,345.123' ; Parse result: 12345.123 [all …]
|
/PHP-7.2/ext/standard/ |
H A D | base64.c | 60 zend_string *result; in php_base64_encode() local 90 ZSTR_LEN(result) = (p - (unsigned char *)ZSTR_VAL(result)); in php_base64_encode() 92 return result; in php_base64_encode() 134 zend_string *result; in php_base64_decode_ex() local 191 ZSTR_LEN(result) = j; in php_base64_decode_ex() 192 ZSTR_VAL(result)[ZSTR_LEN(result)] = '\0'; in php_base64_decode_ex() local 194 return result; in php_base64_decode_ex() 208 zend_string *result; in PHP_FUNCTION() local 216 RETURN_STR(result); in PHP_FUNCTION() 230 zend_string *result; in PHP_FUNCTION() local [all …]
|
H A D | image.c | 123 return result; in php_handle_gif() 144 return result; in php_handle_psd() 172 result->height = abs((int32_t)result->height); in php_handle_bmp() 178 return result; in php_handle_bmp() 191 result = result + in php_swf_get_bits() 194 return result; in php_swf_get_bits() 276 return result; in php_handle_swc() 303 return result; in php_handle_swf() 332 return result; in php_handle_png() 1029 if (result) { in php_get_xbm() [all …]
|
H A D | ftp_fopen_wrapper.c | 115 if (result != 226 && result != 250) { in php_stream_ftp_stream_close() 170 if (result > 299 || result < 200) { in php_ftp_fopen_connect() 261 if (result >= 300 && result <= 399) { in php_ftp_fopen_connect() 283 if (result > 299 || result < 200) { in php_ftp_fopen_connect() 289 if (result > 299 || result < 200) { in php_ftp_fopen_connect() 475 if (result > 299 || result < 200) in php_stream_url_wrap_ftp() 488 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp() 715 if (result > 299 || result < 200) in php_stream_ftp_opendir() 805 if (result < 200 || result > 299) { in php_stream_ftp_url_stat() 815 if(result < 200 || result > 299) { in php_stream_ftp_url_stat() [all …]
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 203 mnd_pefree(result, result->persistent); in MYSQLND_METHOD() 308 result->unbuf->m.free_result(result->unbuf, result->conn? result->conn->stats : NULL); in MYSQLND_METHOD() 326 result->m.free_result_buffers(result); in MYSQLND_METHOD() 343 result->m.skip_result(result); in MYSQLND_METHOD() 345 result->m.free_result_contents(result); in MYSQLND_METHOD() 352 mnd_pefree(result, result->persistent); in MYSQLND_METHOD() 376 result->meta = result->m.result_meta_init(result->field_count, result->persistent); in MYSQLND_METHOD() 386 result->m.free_result_contents(result); in MYSQLND_METHOD() 531 result = stmt->result; in mysqlnd_query_read_result_set_header() 1606 (result->unbuf? result->unbuf->m.num_rows(result->unbuf) : 0); in MYSQLND_METHOD() [all …]
|
/PHP-7.2/ext/odbc/ |
H A D | php_odbc.c | 1259 SQLNumParams(result->stmt, &(result->numparams)); in PHP_FUNCTION() 1260 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 1497 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 1695 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 2832 SQLNumParams(result->stmt, &(result->numparams)); in PHP_FUNCTION() 3215 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3286 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3351 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3431 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3493 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() [all …]
|
/PHP-7.2/ext/bcmath/ |
H A D | bcmath.c | 248 bc_init_num(&result); in PHP_FUNCTION() 254 result = split_bc_num(result); in PHP_FUNCTION() 261 bc_free_num(&result); in PHP_FUNCTION() 294 result = split_bc_num(result); in PHP_FUNCTION() 334 result = split_bc_num(result); in PHP_FUNCTION() 375 result = split_bc_num(result); in PHP_FUNCTION() 421 result = split_bc_num(result); in PHP_FUNCTION() 467 result = split_bc_num(result); in PHP_FUNCTION() 511 result = split_bc_num(result); in PHP_FUNCTION() 529 bc_num result; in PHP_FUNCTION() local [all …]
|
/PHP-7.2/ext/mbstring/libmbfl/tests/ |
H A D | emoji.c | 34 mbfl_string string, result, *ret; in main() local 78 mbfl_string_init_set(&result, no_language, to_encoding); in main() 82 for (i = 0; i < result.len; i+= 2) { in main() 83 if (result.val[i] >= 0xD8 && result.val[i] < 0xE0) { // Surrogate pair in main() 84 int h = (result.val[i] & 0x07)<<8 | result.val[i+1]; in main() 85 int l = (result.val[i+2] & 0x03)<<8 | result.val[i+3]; in main() 90 printf("U+%x\n",(result.val[i] << 8) | result.val[i+1]); in main() 93 hexdump(&result); in main() 103 memcpy(dev2.buffer, result.val, result.len+1); in main() 109 hexdump(&result); in main() [all …]
|
/PHP-7.2/ext/filter/tests/ |
H A D | 033_run.inc | 28 foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>"test")); 31 printf("%-5s",$result[0]); 32 printf("%-3s",$result[1]); 33 printf("%-15s",$result[2]); 34 printf("%-20s",$result[3]); 35 printf("%-10s",$result[4]); 36 printf("%-5s",$result[5]); 37 printf("%-20s",$result[6]); 38 printf("%-15s",$result[7]); 39 printf("%-10s",$result[8]); [all …]
|
/PHP-7.2/Zend/ |
H A D | zend_operators.c | 920 if ((result == op1) && (result == op2)) { in add_function() 1776 if (result == op1 && Z_REFCOUNTED_P(result)) { in concat_function() 1906 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_DVAL_P(result))); in convert_compare_result_to_long() 1928 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_DVAL_P(result))); in compare_function() 2105 zval result; in hash_zval_identical_function() local 2171 ZVAL_BOOL(result, (Z_LVAL_P(result) == 0)); in is_equal_function() 2181 ZVAL_BOOL(result, (Z_LVAL_P(result) != 0)); in is_not_equal_function() 2191 ZVAL_BOOL(result, (Z_LVAL_P(result) < 0)); in is_smaller_function() 2201 ZVAL_BOOL(result, (Z_LVAL_P(result) <= 0)); in is_smaller_or_equal_function() 2517 int result; in zend_object_is_true() local [all …]
|
/PHP-7.2/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-7.2/ext/standard/tests/strings/ |
H A D | vprintf_basic3.phpt | 26 $result = vprintf($format1,$arg1); 28 var_dump($result); 30 $result = vprintf($format11,$arg1); 32 var_dump($result); 34 $result = vprintf($format2,$arg2); 36 var_dump($result); 38 $result = vprintf($format22,$arg2); 40 var_dump($result); 42 $result = vprintf($format3,$arg3); 44 var_dump($result); [all …]
|
/PHP-7.2/ext/odbc/tests/ |
H A D | odbc_columnprivileges_001.phpt | 12 var_dump($result = odbc_columnprivileges($conn, '', '', '', '')); 13 var_dump(odbc_fetch_row($result)); 15 var_dump($result = odbc_columnprivileges($conn, NULL, NULL, NULL, NULL)); 16 var_dump(odbc_fetch_row($result)); 18 var_dump($result = odbc_columnprivileges($conn, 'FOO', 'FOO', 'FOO', 'FOO')); 19 var_dump(odbc_fetch_row($result)); 23 resource(%d) of type (odbc result) 25 resource(%d) of type (odbc result) 27 resource(%d) of type (odbc result)
|
H A D | odbc_columns_001.phpt | 12 var_dump($result = odbc_columns($conn, '', '', '', '')); 13 var_dump(odbc_fetch_row($result)); 15 var_dump($result = odbc_columns($conn, NULL, NULL, NULL, NULL)); 16 var_dump(odbc_fetch_row($result)); 18 var_dump($result = odbc_columns($conn, 'FOO', 'FOO', 'FOO', 'FOO')); 19 var_dump(odbc_fetch_row($result)); 23 resource(%d) of type (odbc result) 25 resource(%d) of type (odbc result) 27 resource(%d) of type (odbc result)
|
H A D | odbc_tables_001.phpt | 12 var_dump($result = odbc_tables($conn, '', '', '', '')); 13 var_dump(odbc_fetch_row($result)); 15 var_dump($result = odbc_tables($conn, NULL, NULL, NULL, NULL)); 16 var_dump(odbc_fetch_row($result)); 18 var_dump($result = odbc_tables($conn, 'FOO', 'FOO', 'FOO', 'FOO')); 19 var_dump(odbc_fetch_row($result)); 24 resource(%d) of type (odbc result) 26 resource(%d) of type (odbc result) 28 resource(%d) of type (odbc result)
|