/PHP-7.0/ext/pgsql/tests/ |
H A D | 30nb_async_query_params.phpt | 44 pg_fetch_object($result); 47 pg_fetch_row($result, $i); 50 pg_fetch_result($result, $i, 0); 55 pg_field_name($result, 0); 56 pg_field_num($result, $field_name); 57 pg_field_size($result, 0); 58 pg_field_type($result, 0); 59 pg_field_prtlen($result, 0); 60 pg_field_is_null($result, 0); 70 pg_last_oid($result); [all …]
|
H A D | 17result.phpt | 14 $result = pg_query($db, $sql) or die('Cannot qeury db'); 15 $rows = pg_num_rows($result); 17 var_dump(pg_result_seek($result, 1)); 18 var_dump(pg_fetch_object($result)); 19 var_dump(pg_fetch_array($result, 1)); 20 var_dump(pg_fetch_row($result, 1)); 21 var_dump(pg_fetch_assoc($result, 1)); 22 var_dump(pg_result_seek($result, 0));
|
/PHP-7.0/ext/standard/tests/strings/ |
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 …]
|
H A D | printf_basic9.phpt | 29 $result = printf($format); 31 var_dump($result); 34 $result = printf($format1, $arg1); 36 var_dump($result); 37 $result = printf($format11, $arg1); 39 var_dump($result); 42 $result = printf($format2, $arg1, $arg2); 44 var_dump($result); 47 var_dump($result); 52 var_dump($result); [all …]
|
H A D | bug39621.phpt | 10 $result = str_replace ( $search, $replace, $subject ); 12 var_dump($result); 18 $result = str_ireplace ( $search, $replace, $subject ); 20 var_dump($result); 26 $result = str_replace ( $search, $replace, $subject ); 28 var_dump($result); 34 $result = str_ireplace ( $search, $replace, $subject ); 36 var_dump($result);
|
H A D | unpack_bug68225.phpt | 8 $result = unpack('Va/X' ,$data); 9 var_dump($result); 11 $result = unpack('Va/X4' ,$data); 12 var_dump($result); 14 $result = unpack('V1a/X4/V1b/V1c/X4/V1d', $data); 15 var_dump($result);
|
/PHP-7.0/Zend/ |
H A D | zend_operators.c | 913 if ((result == op1) && (result == op2)) { in add_function() 1744 if (result == op1 && Z_REFCOUNTED_P(result)) { in concat_function() 1874 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_DVAL_P(result))); in convert_compare_result_to_long() 1896 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_DVAL_P(result))); in compare_function() 2073 zval result; in hash_zval_identical_function() local 2139 ZVAL_BOOL(result, (Z_LVAL_P(result) == 0)); in is_equal_function() 2149 ZVAL_BOOL(result, (Z_LVAL_P(result) != 0)); in is_not_equal_function() 2159 ZVAL_BOOL(result, (Z_LVAL_P(result) < 0)); in is_smaller_function() 2169 ZVAL_BOOL(result, (Z_LVAL_P(result) <= 0)); in is_smaller_or_equal_function() 2490 int result; in zend_object_is_true() local [all …]
|
H A D | zend_operators.h | 285 int result = 0; in i_zend_is_true() local 290 result = 1; in i_zend_is_true() 294 result = 1; in i_zend_is_true() 299 result = 1; in i_zend_is_true() 304 result = 1; in i_zend_is_true() 309 result = 1; in i_zend_is_true() 317 result = 1; in i_zend_is_true() 327 return result; in i_zend_is_true() 676 zval result; in fast_equal_check_function() local 710 zval result; in fast_equal_check_long() local [all …]
|
/PHP-7.0/ext/mysqli/ |
H A D | mysqli_result_iterator.c | 40 mysqli_object *result; member 59 iterator->result = Z_MYSQLI_P(object); in php_mysqli_result_get_iterator() 100 mysqli_object *intern = iterator->result; in php_mysqli_result_iterator_move_forward() 101 MYSQL_RES *result; in php_mysqli_result_iterator_move_forward() local 106 php_mysqli_fetch_into_hash_aux(&iterator->current_row, result, MYSQLI_ASSOC); in php_mysqli_result_iterator_move_forward() 117 mysqli_object *intern = iterator->result; 118 MYSQL_RES *result; local 122 if (mysqli_result_is_unbuffered(result)) { 124 if (result->unbuf->eof_reached) { 126 if (result->eof) { [all …]
|
/PHP-7.0/ext/standard/tests/array/ |
H A D | bug40709.phpt | 15 echo "result for arr1: ".array_reduce($arr1,'CommaSeparatedList')."\n"; 16 echo "result for arr2: ".array_reduce($arr2,'CommaSeparatedList')."\n"; 17 echo "result for arr1: ".array_reduce($arr1,'CommaSeparatedList')."\n"; 18 echo "result for arr2: ".array_reduce($arr2,'CommaSeparatedList')."\n"; 23 result for arr1: 1,2,3 24 result for arr2: 1 25 result for arr1: 1,2,3 26 result for arr2: 1
|
/PHP-7.0/ext/standard/ |
H A D | formatted_print.c | 394 zend_string *result; in php_formatted_print() local 467 efree(result); in php_formatted_print() 510 efree(result); in php_formatted_print() 551 efree(result); in php_formatted_print() 656 return result; in php_formatted_print() 669 RETVAL_STR(result); in PHP_FUNCTION() 682 RETVAL_STR(result); in PHP_FUNCTION() 696 rlen = PHPWRITE(ZSTR_VAL(result), ZSTR_LEN(result)); in PHP_FUNCTION() 712 rlen = PHPWRITE(ZSTR_VAL(result), ZSTR_LEN(result)); in PHP_FUNCTION() 740 php_stream_write(stream, ZSTR_VAL(result), ZSTR_LEN(result)); in PHP_FUNCTION() [all …]
|
/PHP-7.0/ext/ldap/tests/ |
H A D | ldap_search_error.phpt | 18 $result = ldap_search(); 19 var_dump($result); 21 $result = ldap_search($link, $dn, $filter); 22 var_dump($result); 24 $result = ldap_search($link, $dn, $filter, NULL); 25 var_dump($result); 28 var_dump($result); 30 $result = ldap_search(array(), $dn, $filter, array('top')); 31 var_dump($result); 34 var_dump($result); [all …]
|
H A D | ldap_search_variation6.phpt | 24 $result0 = ldap_get_entries($link, $result[0]), 29 ldap_get_entries($link, $result[0]), 30 ldap_get_entries($link, $result[1]) 34 ldap_get_entries($link, $result[0]), 35 ldap_get_entries($link, $result[1]) 49 resource(%d) of type (ldap result) 51 resource(%d) of type (ldap result) 216 resource(%d) of type (ldap result) 218 resource(%d) of type (ldap result) 230 resource(%d) of type (ldap result) [all …]
|
/PHP-7.0/ext/date/tests/ |
H A D | bug40861.phpt | 9 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 10 echo $result . "\n"; 14 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 15 echo $result . "\n"; 19 $result = date("Y-m-d H:i:s", strtotime("-$offset minutes", $ts)); 20 echo $result . "\n"; 25 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 26 echo $result . "\n";
|
/PHP-7.0/ext/intl/locale/ |
H A D | locale_methods.c | 140 return result; in getPreferredTag() 150 int result =-1; in getStrrtokenPos() local 160 result = i; in getStrrtokenPos() 165 if(result < 1){ in getStrrtokenPos() 167 result =-1; in getStrrtokenPos() 169 return result; in getStrrtokenPos() 189 result =0; in getSingletonPos() 203 return result; in getSingletonPos() 368 *result = 1; in get_icu_value_internal() 1060 result = 1; in add_array_entry() [all …]
|
/PHP-7.0/ext/interbase/ |
H A D | ibase_service.c | 290 result = res_buf; in _php_ibase_service_query() 299 switch (*result++) { in _php_ibase_service_query() 323 result += 2; in _php_ibase_service_query() 335 RETURN_STRINGL(result + 2, isc_vax_integer(result, 2)); in _php_ibase_service_query() 346 result += 4; in _php_ibase_service_query() 351 result += 4; in _php_ibase_service_query() 357 result += len+2; in _php_ibase_service_query() 378 result += len+2; in _php_ibase_service_query() 384 result += len+2; in _php_ibase_service_query() 401 result += 4; in _php_ibase_service_query() [all …]
|
/PHP-7.0/ext/gmp/tests/ |
H A D | gmp_random_range.phpt | 37 $result = gmp_random_range(0, 1000); 38 if ($result < 0 || $result > 1000) { 40 var_dump($result); 44 $result = gmp_random_range(-1000, 0); 45 if ($result < -1000 || $result > 0) { 47 var_dump($result); 51 $result = gmp_random_range(-500, 500); 52 if ($result < -500 || $result > 500) { 54 var_dump($result);
|
/PHP-7.0/Zend/tests/ |
H A D | bug69957.phpt | 8 $result = 1 / $divisor; 9 var_dump($result); 19 var_dump($result); 27 $result = 1 / 0; 28 var_dump($result); 36 $result = 1 % 0; 37 var_dump($result); 45 $result = 1 / 0.0; 46 var_dump($result); 54 $result = 1 % 0.0; [all …]
|
/PHP-7.0/ext/bcmath/libbcmath/src/ |
H A D | raise.c | 47 bc_raise (bc_num num1, bc_num num2, bc_num *result, int scale) in bc_raise() argument 66 bc_free_num (result); in bc_raise() 67 *result = bc_copy_num (BCG(_one_)); in bc_raise() 112 bc_divide (BCG(_one_), temp, result, rscale); in bc_raise() 117 bc_free_num (result); in bc_raise() 118 *result = temp; in bc_raise() 119 if ((*result)->n_scale > rscale) in bc_raise() 120 (*result)->n_scale = rscale; in bc_raise()
|
/PHP-7.0/ext/json/tests/ |
H A D | bug72069.phpt | 8 $result = json_encode(['end' => json_decode(null, true)]); 9 var_dump($result); 20 $result = json_encode($a); 21 var_dump($result); 23 $result = json_encode($toJsonData); 24 var_dump($result);
|
/PHP-7.0/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"; 32 -- The following all result in INF -- 38 -- The following all result in 0 -- 45 -- The following all result in -0 -- 49 -- The following all result in -INF --
|
/PHP-7.0/ext/mysqlnd/ |
H A D | mysqlnd_ext_plugin.c | 60 PHPAPI void ** _mysqlnd_plugin_get_plugin_result_data(const MYSQLND_RES * result, unsigned int plug… in _mysqlnd_plugin_get_plugin_result_data() argument 64 if (!result || plugin_id >= mysqlnd_plugin_count()) { in _mysqlnd_plugin_get_plugin_result_data() 67 DBG_RETURN((void *)((char *)result + sizeof(MYSQLND_RES) + plugin_id * sizeof(void *))); in _mysqlnd_plugin_get_plugin_result_data() 73 …_plugin_get_plugin_result_unbuffered_data(const MYSQLND_RES_UNBUFFERED * result, unsigned int plug… in _mysqlnd_plugin_get_plugin_result_unbuffered_data() argument 77 if (!result || plugin_id >= mysqlnd_plugin_count()) { in _mysqlnd_plugin_get_plugin_result_unbuffered_data() 80 DBG_RETURN((void *)((char *)result + sizeof(MYSQLND_RES_UNBUFFERED) + plugin_id * sizeof(void *))); in _mysqlnd_plugin_get_plugin_result_unbuffered_data() 90 if (!result || plugin_id >= mysqlnd_plugin_count()) { in _mysqlnd_plugin_get_plugin_result_buffered_data_zval() 93 …DBG_RETURN((void *)((char *)result + sizeof(MYSQLND_RES_BUFFERED_ZVAL) + plugin_id * sizeof(void *… in _mysqlnd_plugin_get_plugin_result_buffered_data_zval() 98 …_plugin_get_plugin_result_buffered_data_c(const MYSQLND_RES_BUFFERED_C * result, unsigned int plug… in _mysqlnd_plugin_get_plugin_result_buffered_data_c() argument 102 if (!result || plugin_id >= mysqlnd_plugin_count()) { in _mysqlnd_plugin_get_plugin_result_buffered_data_c() [all …]
|
/PHP-7.0/ext/intl/tests/ |
H A D | locale_lookup.phpt | 53 $res_str .= "\nlookup result:$result\n"; 57 $res_str .= "Canonical lookup result:$result\n"; 75 lookup result:de-DE 76 Canonical lookup result:de_de 81 lookup result:sl_IT 82 Canonical lookup result:sl_it 87 lookup result:sl_IT 93 lookup result:jbo 94 Canonical lookup result:jbo 99 lookup result:art-lojban [all …]
|
H A D | locale_lookup_variant2.phpt | 53 $res_str .= "\nlookup result:$result\n"; 57 $res_str .= "Canonical lookup result:$result\n"; 75 lookup result:de-DE 76 Canonical lookup result:de_de 81 lookup result:sl_IT 82 Canonical lookup result:sl_it 87 lookup result:sl_IT 88 Canonical lookup result:sl_it 93 lookup result:jbo 94 Canonical lookup result:jbo [all …]
|