/PHP-5.5/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.5/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.5/ext/opcache/Optimizer/ |
H A D | pass1_5.c | 39 zval result; variable 56 PZ_SET_REFCOUNT_P(&result, 1); 57 PZ_UNSET_ISREF_P(&result); 63 replace_tmp_by_const(op_array, opline + 1, tv, &result TSRMLS_CC); 111 zval result; variable 118 if (unary_op(&result, &ZEND_OP1_LITERAL(opline)) != SUCCESS) { 120 if (unary_op(&result, &ZEND_OP1_LITERAL(opline) TSRMLS_CC) != SUCCESS) { 126 PZ_SET_REFCOUNT_P(&result, 1); 127 PZ_UNSET_ISREF_P(&result); 132 replace_tmp_by_const(op_array, opline + 1, tv, &result TSRMLS_CC); [all …]
|
/PHP-5.5/ext/interbase/ |
H A D | ibase_query.c | 61 ibase_result *result; member 319 char result[8]; in _php_ibase_alloc_query() local 330 ib_query->result = NULL; in _php_ibase_alloc_query() 357 info_type, sizeof(result), result)) { in _php_ibase_alloc_query() 869 char result[64]; in _php_ibase_exec() local 1000 info_count, sizeof(result), result)) { in _php_ibase_exec() 1263 char result[64]; in PHP_FUNCTION() local 1535 zval *result; in _php_ibase_fetch_hash() local 1634 zval_dtor(result); in _php_ibase_fetch_hash() 1880 zval *result; in PHP_FUNCTION() local [all …]
|
/PHP-5.5/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()
|
H A D | md5.c | 371 result[0] = ctx->a; in PHP_MD5Final() 372 result[1] = ctx->a >> 8; in PHP_MD5Final() 373 result[2] = ctx->a >> 16; in PHP_MD5Final() 374 result[3] = ctx->a >> 24; in PHP_MD5Final() 375 result[4] = ctx->b; in PHP_MD5Final() 376 result[5] = ctx->b >> 8; in PHP_MD5Final() 377 result[6] = ctx->b >> 16; in PHP_MD5Final() 378 result[7] = ctx->b >> 24; in PHP_MD5Final() 379 result[8] = ctx->c; in PHP_MD5Final() 380 result[9] = ctx->c >> 8; in PHP_MD5Final() [all …]
|
/PHP-5.5/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.5/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.5/ext/standard/tests/general_functions/ |
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.5/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
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | 049.phpt | 17 $result = $mysql->query("SELECT DATABASE()"); 18 $row = $result->fetch_row(); 19 $result->close();
|
H A D | bug66124.phpt | 51 $result = $link->query($table_select); 53 if ($result){ 54 while ($row = $result->fetch_assoc()) { 80 $result = $link->query($table_select); 82 if ($result){ 83 while ($row = $result->fetch_assoc()) {
|
H A D | 014.phpt | 45 if (!$result = mysqli_query($link, "SELECT * FROM test")) 48 printf("Num_of_rows=%d\n", mysqli_num_rows($result)); 49 if (!$row = mysqli_fetch_row($result)) 52 mysqli_free_result($result); 65 if (!$result = mysqli_query($link, "SELECT * FROM test")) 68 if (!$row = mysqli_fetch_row($result)) 71 mysqli_free_result($result);
|
/PHP-5.5/ext/mbstring/libmbfl/tests/ |
H A D | conv_kana.c | 29 mbfl_string string, result; in main() local 140 mbfl_ja_jp_hantozen(&string, &result, mode); in main() 141 hexdump(&result); in main() 142 mbfl_string_clear(&result); in main()
|
H A D | strcut.c | 67 mbfl_string result; in main() local 103 if (mbfl_strcut(&string, &result, offset, length)) { in main() 104 hexdump(&result); in main() 105 mbfl_string_clear(&result); in main()
|
/PHP-5.5/ext/pgsql/tests/ |
H A D | 22pg_fetch_object.phpt | 20 $result = pg_query($db, $sql) or die('Cannot qeury db'); 21 $rows = pg_num_rows($result); 23 var_dump(pg_fetch_object($result, NULL, 'test_class', array(1, 2)));
|
/PHP-5.5/ext/standard/tests/time/ |
H A D | 001.phpt | 14 $result = ''; 23 $result .= sprintf('%06d', $i).": $time $micro < $last_t $last_m\n"; 30 echo $result;
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gd_io.h | 37 int gdGetByte(int *result, gdIOCtx *ctx); 38 int gdGetWord(int *result, gdIOCtx *ctx); 39 int gdGetInt(int *result, gdIOCtx *ctx);
|
/PHP-5.5/ext/hash/tests/ |
H A D | joaat.phpt | 21 $result = hash("joaat", $test[0]); 22 if ($result != $test[1]) { 23 …echo "Iteration " . $i . " failed - expected '" . $test[1] . "', got '" . $result . "' for '" . $t…
|
/PHP-5.5/ext/ldap/tests/ |
H A D | ldap_next_attribute_error.phpt | 15 $result = ldap_search($link, "dc=my-domain,dc=com", "(objectclass=organization)"); 16 $entry = ldap_first_entry($link, $result); 34 Warning: ldap_next_attribute(): supplied resource is not a valid ldap result entry resource in %s o… 36 …: called before calling ldap_first_attribute() or no attributes found in result entry in %s on lin…
|
/PHP-5.5/ext/standard/tests/image/ |
H A D | getimagesize_246x247.phpt | 11 $result = array(); 21 $result[$file] = getimagesize(dirname(__FILE__)."/$file"); 23 var_dump($result);
|
H A D | getimagesize_384x385.phpt | 11 $result = array(); 21 $result[$file] = getimagesize(dirname(__FILE__)."/$file"); 23 var_dump($result);
|
/PHP-5.5/tests/lang/ |
H A D | bug19566.phpt | 6 $result = get_declared_classes(); 7 var_dump(array_search('foo', $result));
|
/PHP-5.5/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.c | 118 mbfl_memory_device_result(mbfl_memory_device *device, mbfl_string *result) in mbfl_memory_device_result() argument 120 if (device && result) { in mbfl_memory_device_result() 121 result->len = device->pos; in mbfl_memory_device_result() 123 result->val = device->buffer; in mbfl_memory_device_result() 127 if (result->val == NULL) { in mbfl_memory_device_result() 128 result->len = 0; in mbfl_memory_device_result() 129 result = NULL; in mbfl_memory_device_result() 132 result = NULL; in mbfl_memory_device_result() 135 return result; in mbfl_memory_device_result()
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | levenshtein.phpt | 9 $result=levenshtein($text1,$text2); 12 $result=levenshtein($text1,$text2,$cost1); 15 $result=levenshtein($text1,$text2,$cost1,$cost2,$cost3); 17 if($result==$expect) return 0; 19 echo "$title: result is $result instead of $expect ";
|