/PHP-5.3/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.3/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 267 result->m.free_buffered_data(result TSRMLS_CC); in MYSQLND_METHOD() 299 result->m.free_result_buffers(result TSRMLS_CC); in mysqlnd_internal_free_result_contents() 323 mnd_pefree(result, result->persistent); in mysqlnd_internal_free_result() 347 result->meta = result->m.result_meta_init(result->field_count, result->persistent TSRMLS_CC); in MYSQLND_METHOD() 500 result = stmt->result; in mysqlnd_query_read_result_set_header() 620 …return (!result->unbuf || result->unbuf->last_row_data || result->unbuf->eof_reached)? result->len… in mysqlnd_fetch_lengths_unbuffered() 628 return result->m.fetch_lengths? result->m.fetch_lengths(result TSRMLS_CC) : NULL; in _mysqlnd_fetch_lengths() 1337 if (!result->stored_data && result->unbuf && in MYSQLND_METHOD() 1362 result->m.skip_result(result TSRMLS_CC); in MYSQLND_METHOD() 1401 …return result->stored_data? result->stored_data->row_count:(result->unbuf && result->unbuf->eof_re… in MYSQLND_METHOD() [all …]
|
/PHP-5.3/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.3/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.3/ext/odbc/ |
H A D | php_odbc.c | 1202 SQLNumParams(result->stmt, &(result->numparams)); in PHP_FUNCTION() 1203 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 1444 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 1635 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 2739 SQLNumParams(result->stmt, &(result->numparams)); in PHP_FUNCTION() 3110 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3179 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3242 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3320 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() 3380 SQLNumResultCols(result->stmt, &(result->numcols)); in PHP_FUNCTION() [all …]
|
/PHP-5.3/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 | 117 return result; in php_handle_gif() 138 return result; in php_handle_psd() 171 return result; in php_handle_bmp() 184 result = result + in php_swf_get_bits() 187 return result; in php_swf_get_bits() 259 return result; in php_handle_swc() 286 return result; in php_handle_swf() 315 return result; in php_handle_png() 645 if (result->channels < 0 || result->channels > 256) { in php_handle_jpc() 1018 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() 283 if (result > 299 || result < 200) { in php_ftp_fopen_connect() 289 if (result > 299 || result < 200) { in php_ftp_fopen_connect() 473 if (result > 299 || result < 200) in php_stream_url_wrap_ftp() 486 if (result > 299 || result < 200) { in php_stream_url_wrap_ftp() 715 if (result > 299 || result < 200) in php_stream_ftp_opendir() 802 if (result < 200 || result > 299) { in php_stream_ftp_url_stat() 812 if(result < 200 || result > 299) { in php_stream_ftp_url_stat() [all …]
|
/PHP-5.3/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() 1208 i= result->store ? result->num_rows- 1 : 0; in php_sybase_fetch_result_row() 1212 if (result->store || 1 == result->num_rows) { in php_sybase_fetch_result_row() 1235 RETURN_DOUBLE_VAL(result->data[i][j], result->tmp_buffer[j], result->lengths[j]); in php_sybase_fetch_result_row() 1317 result->cur_field=result->cur_row=result->num_rows=0; in php_sybase_fetch_result_set() 1388 …ct_bind(sybase_ptr->cmd, i+1, &result->datafmt[i], result->tmp_buffer[i], &result->lengths[i], &re… in php_sybase_fetch_result_set() 1410 Z_TYPE(result->fields[i]) = result->types[i]; in php_sybase_fetch_result_set() 1775 if (result->cur_row >= result->num_rows) { in PHP_FUNCTION() 1782 *field_content = result->data[result->store ? result->cur_row : 0][i]; in PHP_FUNCTION() 1811 if (result->cur_row >= result->num_rows) { in php_sybase_fetch_hash() [all …]
|
/PHP-5.3/Zend/ |
H A D | zend_operators.c | 113 return result; in zend_string_to_double() 118 result *= 10; in zend_string_to_double() 146 return result; in zend_string_to_double() 794 if ((result == op1) && (result == op2)) { in add_function() 1205 Z_STRVAL_P(result)[Z_STRLEN_P(result)] = 0; in add_char_to_string() local 1268 Z_STRVAL_P(result)[Z_STRLEN_P(result)] = 0; in concat_function() local 1604 Z_LVAL_P(result) = !Z_LVAL_P(result); in is_not_identical_function() 1614 ZVAL_BOOL(result, (Z_LVAL_P(result) == 0)); in is_equal_function() 1624 ZVAL_BOOL(result, (Z_LVAL_P(result) != 0)); in is_not_equal_function() 1634 ZVAL_BOOL(result, (Z_LVAL_P(result) < 0)); in is_smaller_function() [all …]
|
/PHP-5.3/ext/mssql/ |
H A D | php_mssql.c | 359 efree(result); in _free_mssql_result() 1274 if (i<result->batchsize || result->batchsize==0) { 1310 result->cur_row=result->num_rows=0; 1311 result->num_rows = _mssql_fetch_batch(mssql_ptr, result, result->lastresult TSRMLS_CC); 1382 result->cur_field=result->cur_row=result->num_rows=0; 1520 if (result->cur_row >= result->num_rows) { 1534 …data = php_addslashes(Z_STRVAL(result->data[result->cur_row][i]), Z_STRLEN(result->data[result->cu… 1539 data = Z_STRVAL(result->data[result->cur_row][i]); 1932 result->cur_row=result->num_fields=result->num_rows=0; 2165 result=NULL; [all …]
|
/PHP-5.3/ext/filter/tests/ |
H A D | 033_run.inc | 25 …foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>array("re… 27 foreach($data as $k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>"test")); 30 printf("%-5s",$result[0]); 31 printf("%-3s",$result[1]); 32 printf("%-15s",$result[2]); 33 printf("%-20s",$result[3]); 34 printf("%-10s",$result[4]); 35 printf("%-5s",$result[5]); 36 printf("%-20s",$result[6]); 37 printf("%-15s",$result[7]); [all …]
|
/PHP-5.3/ext/bcmath/ |
H A D | bcmath.c | 230 result->n_scale = scale; in PHP_FUNCTION() 238 bc_free_num(&result); in PHP_FUNCTION() 269 result->n_scale = scale; in PHP_FUNCTION() 277 bc_free_num(&result); in PHP_FUNCTION() 316 bc_free_num(&result); in PHP_FUNCTION() 361 bc_free_num(&result); in PHP_FUNCTION() 397 bc_free_num(&result); in PHP_FUNCTION() 440 bc_free_num(&result); in PHP_FUNCTION() 479 bc_free_num(&result); in PHP_FUNCTION() 491 bc_num result; in PHP_FUNCTION() local [all …]
|
/PHP-5.3/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 99 result = Monday 1971-01-04 00:00:00 CST 104 result = Monday 1971-04-05 00:00:00 CST [all …]
|
/PHP-5.3/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 …]
|
H A D | vprintf_basic9.phpt | 26 $result = vprintf($format1,$arg1); 28 var_dump($result); 29 $result = vprintf($format11,$arg1); 31 var_dump($result); 33 $result = vprintf($format2,$arg2); 35 var_dump($result); 36 $result = vprintf($format22,$arg2); 38 var_dump($result); 41 var_dump($result); 42 $result = vprintf($format33,$arg3); [all …]
|
H A D | printf_basic3.phpt | 28 $result = printf($format); 30 var_dump($result); 33 $result = printf($format1, $arg1); 35 var_dump($result); 36 $result = printf($format11, $arg1); 38 var_dump($result); 41 $result = printf($format2, $arg1, $arg2); 43 var_dump($result); 46 var_dump($result); 51 var_dump($result); [all …]
|
/PHP-5.3/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_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)
|