/PHP-5.5/tests/lang/ |
H A D | bug22592.phpt | 14 $result = "* *-*"; 15 var_dump($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; [all …]
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 245 result->m.free_buffered_data(result TSRMLS_CC); in MYSQLND_METHOD() 275 result->m.free_result_buffers(result TSRMLS_CC); in mysqlnd_internal_free_result_contents() 299 mnd_pefree(result, result->persistent); in mysqlnd_internal_free_result() 323 result->meta = result->m.result_meta_init(result->field_count, result->persistent TSRMLS_CC); in MYSQLND_METHOD() 477 result = stmt->result; in mysqlnd_query_read_result_set_header() 597 …return (!result->unbuf || result->unbuf->last_row_data || result->unbuf->eof_reached)? result->len… in mysqlnd_fetch_lengths_unbuffered() 605 return result->m.fetch_lengths? result->m.fetch_lengths(result TSRMLS_CC) : NULL; in _mysqlnd_fetch_lengths() 1279 if (!result->stored_data && result->unbuf && in MYSQLND_METHOD() 1303 result->m.skip_result(result TSRMLS_CC); in MYSQLND_METHOD() 1342 …return result->stored_data? result->stored_data->row_count:(result->unbuf && result->unbuf->eof_re… in MYSQLND_METHOD() [all …]
|
/PHP-5.5/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 | 25async_query_params.phpt | 37 pg_fetch_object($result); 41 pg_fetch_row($result, $i); 45 pg_fetch_result($result, $i, 0); 50 pg_field_name($result, 0); 51 pg_field_num($result, $field_name); 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 …]
|
/PHP-5.5/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-5.5/ext/standard/ |
H A D | base64.c | 60 unsigned char *result; in php_base64_encode() local 70 p = result; in php_base64_encode() 99 return result; in php_base64_encode() 164 efree(result); in php_base64_decode_ex() 174 efree(result); in php_base64_decode_ex() 191 result[j++] |= ch; in php_base64_decode_ex() 202 efree(result); in php_base64_decode_ex() 207 result[k] = 0; in php_base64_decode_ex() 213 result[j] = '\0'; in php_base64_decode_ex() 214 return result; in php_base64_decode_ex() [all …]
|
H A D | image.c | 120 return result; in php_handle_gif() 141 return result; in php_handle_psd() 169 result->height = abs((int32_t)result->height); in php_handle_bmp() 175 return result; in php_handle_bmp() 188 result = result + in php_swf_get_bits() 191 return result; in php_swf_get_bits() 263 return result; in php_handle_swc() 290 return result; in php_handle_swf() 319 return result; in php_handle_png() 1022 if (result) { in php_get_xbm() [all …]
|
H A D | ftp_fopen_wrapper.c | 116 if (result != 226 && result != 250) { in php_stream_ftp_stream_close() 170 if (result > 299 || result < 200) { in php_ftp_fopen_connect() 260 if (result >= 300 && result <= 399) { in php_ftp_fopen_connect() 282 if (result > 299 || result < 200) { in php_ftp_fopen_connect() 288 if (result > 299 || result < 200) { in php_ftp_fopen_connect() 472 if (result > 299 || result < 200) in php_stream_url_wrap_ftp() 485 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp() 714 if (result > 299 || result < 200) in php_stream_ftp_opendir() 801 if (result < 200 || result > 299) { in php_stream_ftp_url_stat() 811 if(result < 200 || result > 299) { in php_stream_ftp_url_stat() [all …]
|
/PHP-5.5/ext/odbc/ |
H A D | php_odbc.c | 1241 SQLNumParams(result->stmt, &(result->numparams)); in PHP_FUNCTION() 1242 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 1477 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 1668 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 2789 SQLNumParams(result->stmt, &(result->numparams)); in PHP_FUNCTION() 3160 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3229 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3292 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3370 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3430 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/sybase_ct/ |
H A D | php_sybase_ct.c | 273 for (i = 0; i < (result->store ? result->num_rows : MIN(1, result->num_rows)); i++) { in _free_sybase_result() 1207 i= result->store ? result->num_rows- 1 : 0; in php_sybase_fetch_result_row() 1211 if (result->store || 1 == result->num_rows) { in php_sybase_fetch_result_row() 1234 RETURN_DOUBLE_VAL(result->data[i][j], result->tmp_buffer[j], result->lengths[j]); in php_sybase_fetch_result_row() 1316 result->cur_field=result->cur_row=result->num_rows=0; in php_sybase_fetch_result_set() 1387 …ct_bind(sybase_ptr->cmd, i+1, &result->datafmt[i], result->tmp_buffer[i], &result->lengths[i], &re… in php_sybase_fetch_result_set() 1409 Z_TYPE(result->fields[i]) = result->types[i]; in php_sybase_fetch_result_set() 1774 if (result->cur_row >= result->num_rows) { in PHP_FUNCTION() 1781 *field_content = result->data[result->store ? result->cur_row : 0][i]; in PHP_FUNCTION() 1810 if (result->cur_row >= result->num_rows) { in php_sybase_fetch_hash() [all …]
|
/PHP-5.5/ext/bcmath/ |
H A D | bcmath.c | 245 result = split_bc_num(result); in PHP_FUNCTION() 254 bc_free_num(&result); in PHP_FUNCTION() 285 result = split_bc_num(result); in PHP_FUNCTION() 294 bc_free_num(&result); in PHP_FUNCTION() 325 result = split_bc_num(result); in PHP_FUNCTION() 334 bc_free_num(&result); in PHP_FUNCTION() 366 result = split_bc_num(result); in PHP_FUNCTION() 447 result = split_bc_num(result); in PHP_FUNCTION() 491 result = split_bc_num(result); in PHP_FUNCTION() 512 bc_num result; in PHP_FUNCTION() local [all …]
|
/PHP-5.5/Zend/ |
H A D | zend_operators.c | 147 return result; in zend_string_to_double() 152 result *= 10; in zend_string_to_double() 180 return result; in zend_string_to_double() 846 if ((result == op1) && (result == op2)) { in add_function() 1639 zval result; in hash_zval_identical_function() local 1701 Z_LVAL_P(result) = !Z_LVAL_P(result); in is_not_identical_function() 1711 ZVAL_BOOL(result, (Z_LVAL_P(result) == 0)); in is_equal_function() 1721 ZVAL_BOOL(result, (Z_LVAL_P(result) != 0)); in is_not_equal_function() 1731 ZVAL_BOOL(result, (Z_LVAL_P(result) < 0)); in is_smaller_function() 1741 ZVAL_BOOL(result, (Z_LVAL_P(result) <= 0)); in is_smaller_or_equal_function() [all …]
|
H A D | zend_operators.h | 612 : "r"(&result->value), in fast_add_function() 635 : "r"(&result->value), in fast_add_function() 702 : "r"(&result->value), in fast_sub_function() 729 : "r"(&result->value), in fast_sub_function() 802 Z_LVAL_P(result) = 0; in fast_div_function() 821 Z_LVAL_P(result) = 0; in fast_div_function() 833 Z_LVAL_P(result) = 0; in fast_div_function() 843 Z_LVAL_P(result) = 0; in fast_div_function() 862 Z_LVAL_P(result) = 0; in fast_mod_function() 867 Z_LVAL_P(result) = 0; in fast_mod_function() [all …]
|
/PHP-5.5/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-5.5/ext/mssql/ |
H A D | php_mssql.c | 364 efree(result); in _free_mssql_result() 1279 if (i<result->batchsize || result->batchsize==0) { 1315 result->cur_row=result->num_rows=0; 1316 result->num_rows = _mssql_fetch_batch(mssql_ptr, result, result->lastresult TSRMLS_CC); 1387 result->cur_field=result->cur_row=result->num_rows=0; 1525 if (result->cur_row >= result->num_rows) { 1537 data = Z_STRVAL(result->data[result->cur_row][i]); 1553 add_assoc_long(return_value, result->fields[i].name, Z_LVAL(result->data[result->cur_row][i])); 1927 result->cur_row=result->num_fields=result->num_rows=0; 2160 result=NULL; [all …]
|
/PHP-5.5/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-5.5/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 GST 59 result = Monday 1970-01-05 00:00:00 AFT 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 AMT 84 result = Monday 1970-01-05 00:00:00 AST 89 result = Monday 1970-01-05 00:00:00 WAT 114 result = Monday 1971-04-05 00:00:00 AST 124 result = Monday 1971-01-04 00:00:00 CET [all …]
|
/PHP-5.5/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-5.5/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)
|