/PHP-5.3/ext/pgsql/tests/ |
H A D | 16pg_result_status.phpt | 12 $result = pg_query($db, "BEGIN;END"); 14 echo pg_result_status($result)."\n"; 15 echo pg_result_status($result, PGSQL_STATUS_STRING)."\n";
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | bug36949.phpt | 18 $result = $this->mysqli->query("SELECT NOW() AS my_time FROM DUAL"); 19 $row = $result->fetch_object(); 21 $result->close(); 36 $result = $this->mysqli->query("SELECT NOW() AS my_time FROM DUAL"); 37 $row = $result->fetch_object(); 39 $result->close();
|
H A D | 015.phpt | 50 $result = mysqli_query($link, "SELECT SQL_NO_CACHE * FROM test"); 51 if (!$result) 53 $row = mysqli_fetch_row($result); 54 mysqli_free_result($result); 65 $result = mysqli_query($link, "SELECT * FROM test"); 66 if (!$result) 68 $row = mysqli_fetch_row($result); 69 mysqli_free_result($result);
|
H A D | 039.phpt | 18 $result = mysqli_store_result($link); 19 $num = mysqli_num_fields($result); 20 mysqli_free_result($result);
|
H A D | 049.phpt | 17 $result = $mysql->query("SELECT DATABASE()"); 18 $row = $result->fetch_row(); 19 $result->close();
|
/PHP-5.3/ext/sybase_ct/tests/ |
H A D | bug26407.phpt | 23 -- anything producing a result set here will fail; 33 -- no result returned... 42 -- do anything, even return a result set 53 -- anything producing a result set here will fail; 69 -- no result returned... 78 -- do anything, even return a result set
|
/PHP-5.3/ext/ldap/tests/ |
H A D | ldap_search_variation3.phpt | 22 $result = ldap_search($link, $dn, $filter, array('sn'), 1, 3), 23 ldap_get_entries($link, $result) 27 $result = ldap_search($link, $dn, $filter, array('sn'), 1, 1), 28 ldap_get_entries($link, $result) 40 resource(%d) of type (ldap result) 89 resource(%d) of type (ldap result)
|
/PHP-5.3/ext/dba/ |
H A D | dba_inifile.c | 143 char *result = inifile_key_string(&dba->curr.key); in DBA_FIRSTKEY_FUNC() local 144 *newlen = strlen(result); in DBA_FIRSTKEY_FUNC() 145 return result; in DBA_FIRSTKEY_FUNC() 160 char *result = inifile_key_string(&dba->curr.key); in DBA_NEXTKEY_FUNC() local 161 *newlen = strlen(result); in DBA_NEXTKEY_FUNC() 162 return result; in DBA_NEXTKEY_FUNC()
|
/PHP-5.3/ext/intl/collator/ |
H A D | collator_sort.c | 84 result->value.lval = ucol_strcoll( in collator_regular_compare_function() 88 result->type = IS_LONG; in collator_regular_compare_function() 193 result->value.lval = ucol_strcoll( in collator_icu_compare_function() 197 result->type = IS_LONG; in collator_icu_compare_function() 213 zval result; in collator_compare_func() local 226 if( Z_TYPE(result) == IS_DOUBLE ) in collator_compare_func() 228 if( Z_DVAL(result) < 0 ) in collator_compare_func() 230 else if( Z_DVAL(result) > 0 ) in collator_compare_func() 236 convert_to_long(&result); in collator_compare_func() 238 if( Z_LVAL(result) < 0 ) in collator_compare_func() [all …]
|
/PHP-5.3/ext/phar/tests/files/ |
H A D | pear2coverage.phar.php | 1070 if (!$result) { 1087 if (!$result) { 1118 if (!$result) { 1137 if (!$result) { 1167 if (!$result) { 1180 if (!$result) { 1213 if (!$result) { 1228 if (!$result) { 1249 if (!$result) { 1335 if (!$result) { [all …]
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | parse_str_basic1.phpt | 13 echo "Basic test WITHOUT result arg\n"; 18 echo "\nBasic test WITH undefined var for result arg\n"; 23 echo "\nBasic test WITH existing non-array var for result arg\n"; 38 Basic test WITHOUT result arg 44 Basic test WITH undefined var for result arg 55 Basic test WITH existing non-array var for result arg
|
/PHP-5.3/ext/standard/tests/general_functions/ |
H A D | 003.phpt | 9 $result=levenshtein($text1,$text2); 11 $result=levenshtein($text1,$text2,$cost1,$cost2,$cost3); 13 if($result==$expect) return 0; 15 echo "$title: result is $result instead of $expect ";
|
H A D | get_extension_funcs_basic.phpt | 13 $result = get_extension_funcs("standard"); 14 var_dump(gettype($result)); 15 var_dump(in_array("cos", $result));
|
/PHP-5.3/ext/mysql/tests/ |
H A D | mysql_result.phpt | 15 // string mysql_result ( resource result, int row [, mixed field] ) 68 Warning: mysql_result(): Unable to jump to row -1 on MySQL result index %d in %s on line %d 71 Warning: mysql_result(): Unable to jump to row 2 on MySQL result index %d in %s on line %d 88 Warning: mysql_result(): unknown not found in MySQL result index %d in %s on line %d 91 Warning: mysql_result(): _test. not found in MySQL result index %d in %s on line %d 94 Warning: mysql_result(): not found in MySQL result index %d in %s on line %d 97 Warning: mysql_result(): _test. not found in MySQL result index %d in %s on line %d 106 Warning: mysql_result(): test.id not found in MySQL result index %d in %s on line %d 109 Warning: mysql_result(): test.label not found in MySQL result index %d in %s on line %d 112 Warning: mysql_result(): %d is not a valid MySQL result resource in %s on line %d
|
/PHP-5.3/ext/mbstring/libmbfl/tests/ |
H A D | sample.c | 16 mbfl_string string, result, *ret; in main() local 25 mbfl_string_init(&result); in main() 33 ret = mbfl_buffer_converter_feed_result(convd, &string, &result); in main()
|
/PHP-5.3/ext/intl/dateformat/ |
H A D | dateformat_parse.c | 39 double result = 0; in internal_parse_to_timestamp() local 56 result = (double)timestamp / U_MILLIS_PER_SECOND; in internal_parse_to_timestamp() 57 if(result > LONG_MAX || result < -LONG_MAX) { in internal_parse_to_timestamp() 58 ZVAL_DOUBLE(return_value, result<0?ceil(result):floor(result)); in internal_parse_to_timestamp() 60 ZVAL_LONG(return_value, (long)result); in internal_parse_to_timestamp()
|
/PHP-5.3/tests/lang/ |
H A D | 023.phpt | 39 Correct result - 8: 8<br> 40 Correct result - 8: 8<br> 41 Correct result - 2: 2<br> 42 Correct result - -2: -2<br> 45 Correct result - 2: 2<br> 46 Correct result - 3: 3<br> 50 Correct result - 8: 8<br> 51 Correct result - 8: 8<br> 52 Correct result - 2: 2<br> 56 Correct result - 2: 2<br> [all …]
|
/PHP-5.3/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_createcollation.phpt | 19 $result = $db->query('SELECT name FROM foobar ORDER BY name COLLATE MYCOLLATE'); 20 foreach ($result as $row) { 24 $result = $db->query('SELECT name FROM foobar ORDER BY name'); 25 foreach ($result as $row) {
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | bug45312.phpt | 25 $result = array_udiff_assoc($a, $b, array("cr", "comp_func_cr")); 26 foreach($result as $val) { 29 $result = array_udiff_assoc($a, $b, array("cr", "comp_func_cr2")); 30 foreach($result as $val) {
|
/PHP-5.3/ext/interbase/ |
H A D | ibase_query.c | 63 ibase_result *result; member 321 char result[8]; in _php_ibase_alloc_query() local 332 ib_query->result = NULL; in _php_ibase_alloc_query() 359 info_type, sizeof(result), result)) { in _php_ibase_alloc_query() 871 char result[64]; in _php_ibase_exec() local 1002 info_count, sizeof(result), result)) { in _php_ibase_exec() 1265 char result[64]; in PHP_FUNCTION() local 1542 zval *result; in _php_ibase_fetch_hash() local 1641 zval_dtor(result); in _php_ibase_fetch_hash() 1887 zval *result; in PHP_FUNCTION() local [all …]
|
/PHP-5.3/ext/standard/ |
H A D | strnatcmp.c | 108 int fractional, result; in strnatcmp_ex() local 144 result = compare_left(&ap, aend, &bp, bend); in strnatcmp_ex() 146 result = compare_right(&ap, aend, &bp, bend); in strnatcmp_ex() 148 if (result != 0) in strnatcmp_ex() 149 return result; in strnatcmp_ex()
|
/PHP-5.3/tests/ |
H A D | quicktester.inc | 51 $result = $left === $right; 56 $result = FALSE; 59 $result = abs(($left-$right) / $left) < 1e-12; 66 $success = $success && $result; 67 if (!$result) {
|
/PHP-5.3/ext/pdo/tests/ |
H A D | pdo_035.phpt | 15 $result = $stmt->fetch(PDO::FETCH_LAZY); 17 echo get_class($result), "\n"; 18 var_dump(get_parent_class($result));
|
/PHP-5.3/Zend/ |
H A D | zend_execute.c | 904 result->var.ptr_ptr = retval; in zend_fetch_dimension_address() 967 result->var.ptr_ptr = NULL; in zend_fetch_dimension_address() 968 result->var.ptr = NULL; in zend_fetch_dimension_address() 1044 if (result) { in zend_fetch_dimension_address_read() 1052 if (result) { in zend_fetch_dimension_address_read() 1081 if (result) { in zend_fetch_dimension_address_read() 1089 result->var.ptr = NULL; in zend_fetch_dimension_address_read() 1109 if (result) { in zend_fetch_dimension_address_read() 1117 } else if (result) { in zend_fetch_dimension_address_read() 1129 if (result) { in zend_fetch_dimension_address_read() [all …]
|
/PHP-5.3/ext/date/tests/ |
H A D | bug20382-1.phpt | 2 Bug #20382 [1] (strtotime ("Monday", $date) produces wrong result on DST changeover) 11 echo "result=". date("l Y-m-d H:i:s T", $strtotime_timestamp). "\n"; 16 result=Monday 2004-11-01 00:00:00 CET
|