/PHP-8.2/ext/mbstring/tests/ |
H A D | mb_strimwidth.phpt | 26 print "start=$start width=$width result=["; 27 print MBStringChars($result, $encoding); 28 print "] length=" . mb_strlen($result, $encoding); 29 print " width=" . mb_strwidth($result, $encoding) . "\n"; 170 if ($result !== '...') 182 …die("Width was different from requested. string=" . $str . " result=" . $result . " from=" . $from… 252 start=9 width=5 result=[a4cf 2e 2e 2e] length=4 width=5 255 start=39 width=10 result=[] length=0 width=0 263 start=1 width=0 result=[2e 2e 2e] length=3 width=3 265 start=0 width=10 result=[3f 3f 3f] length=3 width=3 [all …]
|
/PHP-8.2/ext/date/tests/ |
H A D | bug33414-2.phpt | 10 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n"; 18 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n"; 80 result=Tuesday 1970-01-06 00:00:00 -1030 0 85 result=Tuesday 1970-01-06 00:00:00 -02 0 90 result=Monday 2005-04-04 00:00:00 EDT 1 95 result=Monday 1970-01-05 00:00:00 -12 0 100 result=Monday 1970-01-05 00:00:00 -1040 0 105 result=Tuesday 2005-04-12 00:00:00 CDT 1 110 result=Wednesday 1970-01-07 00:00:00 -0830 0 115 result=Saturday 1970-01-03 00:00:00 -11 0 [all …]
|
/PHP-8.2/sapi/fuzzer/ |
H A D | fuzzer-unserialize.c | 45 zval result; in LLVMFuzzerTestOneInput() local 46 ZVAL_UNDEF(&result); in LLVMFuzzerTestOneInput() 50 php_var_unserialize(&result, (const unsigned char **) &data, data + Size, &var_hash); in LLVMFuzzerTestOneInput() 53 zval_ptr_dtor(&result); in LLVMFuzzerTestOneInput()
|
/PHP-8.2/ext/mysqlnd/ |
H A D | mysqlnd.h | 102 #define mysqlnd_fetch_row_c(result) (result)->m.fetch_row_c((result)) argument 104 (result)->m.fetch_row((result), (row_ptr), 0, (fetched)) 120 #define mysqlnd_data_seek(result, row) (result)->m.seek_data((result), (row)) argument 143 #define mysqlnd_num_rows(result) (result)->m.num_rows((result)) argument 144 #define mysqlnd_num_fields(result) (result)->m.num_fields((result)) argument 146 #define mysqlnd_fetch_lengths(result) (result)->m.fetch_lengths((result)) argument 148 #define mysqlnd_field_seek(result, ofs) (result)->m.seek_field((result), (ofs)) argument 149 #define mysqlnd_field_tell(result) (result)->m.field_tell((result)) argument 150 #define mysqlnd_fetch_field(result) (result)->m.fetch_field((result)) argument 151 #define mysqlnd_fetch_field_direct(result,fnr) (result)->m.fetch_field_direct((result), (fnr)) argument [all …]
|
/PHP-8.2/ext/json/tests/ |
H A D | json_encode_recursion_06.phpt | 12 return [ 'result' => $this->a ]; 27 return [ 'result' => json_encode($this) ]; 40 string(68) "{"serialize":"O:19:\"JsonEncodeFirstTest\":1:{s:6:\"result\";i:1;}"}" 41 …ng(113) "O:18:"SerializeFirstTest":1:{s:6:"result";s:62:"{"json":"O:18:\"SerializeFirstTest\":1:{s…
|
/PHP-8.2/ext/mysqli/tests/transactions/ |
H A D | 014.phpt | 29 $result = mysqli_query($link, "SELECT * FROM test_transactions_14"); 30 printf("Num_of_rows=%d\n", mysqli_num_rows($result)); 31 $row = mysqli_fetch_row($result); 32 mysqli_free_result($result); 44 $result = mysqli_query($link, "SELECT * FROM test_transactions_14"); 45 $row = mysqli_fetch_row($result); 46 mysqli_free_result($result);
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | bug69198.phpt | 8 $result = compact('willNeverBeDefined'); 9 var_dump($result, empty($result), $result === array(), empty($willNeverBeDefined));
|
H A D | compact.phpt | 12 $result = compact("event", $location_vars); 13 var_dump($result); 15 $result = compact(true); 18 $result = compact($foo, [42]); 19 var_dump($result);
|
/PHP-8.2/Zend/tests/ |
H A D | concat_002.phpt | 12 $result = 'f'; 15 $result .= $result; 18 var_dump(strlen($result));
|
/PHP-8.2/Zend/ |
H A D | zend_compile.c | 2214 GET_NODE(result, opline->result); in zend_make_var_result() 2222 GET_NODE(result, opline->result); in zend_make_tmp_result() 2496 SET_NODE(opline->result, result); in zend_short_circuiting_commit() 4303 SET_NODE(opline->result, result); in zend_compile_assert() 4675 SET_NODE(flf_icall->result, result); in zend_compile_ns_call() 9493 SET_NODE(opline->result, result); in zend_compile_coalesce() 9581 SET_NODE(opline->result, result); in zend_compile_assign_coalesce() 9898 SET_NODE(opline->result, result); in zend_compile_array() 9925 SET_NODE(opline->result, result); in zend_compile_array() 10072 SET_NODE(opline->result, result); in zend_compile_rope_add_ex() [all …]
|
H A D | zend_vm_def.h | 59 result = EX_VAR(opline->result.var); 72 result = EX_VAR(opline->result.var); 118 result = EX_VAR(opline->result.var); 131 result = EX_VAR(opline->result.var); 179 result = EX_VAR(opline->result.var); 193 result = EX_VAR(opline->result.var); 262 result = EX_VAR(opline->result.var); 2175 result = EX_VAR(opline->result.var); 2195 result = EX_VAR(opline->result.var); 2341 result = EX_VAR(opline->result.var); [all …]
|
/PHP-8.2/benchmark/ |
H A D | shared.php | 11 $result = new ProcessResult(); 38 $result->stdout .= $chunk; 40 $result->stderr .= $chunk; 53 fwrite(STDOUT, $result->stdout); 54 fwrite(STDERR, $result->stderr); 59 return $result;
|
H A D | benchmark.php | 30 $result = json_encode($data, JSON_PRETTY_PRINT) . "\n"; 32 fwrite(STDOUT, $result); 35 storeResult($result); 39 function storeResult(string $result) { argument 49 file_put_contents($summaryFile, $result); 53 $result = runCommand(['git', 'log', '--pretty=format:%H', '-n', '1'], dirname(__DIR__)); 54 return $result->stdout;
|
/PHP-8.2/ext/openssl/tests/ |
H A D | openssl_pkcs7_read_basic.phpt | 9 $result = []; 11 var_dump(openssl_pkcs7_read("", $result)); 12 var_dump(openssl_pkcs7_read($certfile, $result)); 13 var_dump(openssl_pkcs7_read($infile, $result)); 14 var_dump($result);
|
H A D | openssl_cms_read_basic.phpt | 9 $result = []; 11 var_dump(openssl_cms_read("", $result)); 12 var_dump(openssl_cms_read($certfile, $result)); 13 var_dump(openssl_cms_read($infile, $result)); 14 var_dump($result);
|
H A D | bug72333.phpt | 21 $result = fread($conn, $total); 26 $result = fread($conn, 100000); 27 if (!$result) { 30 $total += strlen($result); 51 $result = fwrite($fp, $buf); 52 if (!$result) { 55 $total += $result;
|
/PHP-8.2/ext/spl/tests/ |
H A D | heap_003.phpt | 8 $result = 1; 10 $result = -1; 12 $result = 0; 14 return $result;
|
/PHP-8.2/ext/mysqli/tests/ |
H A D | bug73462.phpt | 15 $result = $mysql_1->query("SHOW STATUS LIKE 'Connections'"); 16 $c1 = $result->fetch_row(); 17 $result->free(); 31 $result = $mysql_3->query("SHOW STATUS LIKE 'Connections'"); 32 $c3 = $result->fetch_row(); 33 $result->free();
|
H A D | 074.phpt | 17 $result = $mysqli->query("SELECT @@autocommit"); 18 var_dump($result->fetch_row()); 21 $result = $mysqli->query("SELECT @@autocommit"); 22 var_dump($result->fetch_row());
|
H A D | bug42378.phpt | 81 printf("[%03d] Cannot store result set, [%d] %s\n", 89 $result = null; 90 if (!mysqli_stmt_bind_result($stmt, $result)) { 91 printf("[%03d] Cannot bind result, [%d] %s\n", 98 printf("[%03d] Cannot fetch result,, [%d] %s\n", 104 if ($result !== $expected) { 108 gettype($result), $result, 114 $order_by_col = $result = null; 123 if (!mysqli_stmt_bind_result($stmt, $result)) { 135 if ($result !== $v) { [all …]
|
/PHP-8.2/ext/odbc/tests/ |
H A D | bug47803.phpt | 58 $result = odbc_prepare($link, $sql); 59 if (!$result) { 64 if(!odbc_execute($result, array($k['name'], $k['id']))) { 69 odbc_free_result($result); 72 $result = odbc_prepare($link, $sql); 73 if (!$result) { 78 if(!odbc_execute($result, array($k['id']))) { 82 while (($r = odbc_fetch_array($result)) !== false) { 88 if ($result) odbc_free_result($result);
|
/PHP-8.2/ext/standard/tests/file/ |
H A D | file_get_contents_with_large_length.phpt | 13 $result = file_get_contents($file_path, length: 500000000); 14 var_dump($result === $file_content); 17 $result = file_get_contents($file_path, length: 40000); 18 var_dump($result === str_repeat('a', 40000));
|
/PHP-8.2/ext/sqlite3/tests/ |
H A D | sqlite3_19_columninfo.phpt | 19 $result = $db->query("SELECT * FROM test ORDER BY id ASC"); 20 while ($row = $result->fetchArray(SQLITE3_NUM)) { 21 $totalColumns = $result->numColumns(); 23 echo "Name: " . $result->columnName($i) . " - Type: " . $result->columnType($i) . "\n"; 26 $result->finalize();
|
/PHP-8.2/Zend/Optimizer/ |
H A D | pass3.c | 177 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3() 184 target->result.var == opline->result.var && in zend_optimizer_pass3() 185 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3() 192 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3() 198 target->result.var == opline->result.var && in zend_optimizer_pass3() 199 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3() 205 (SAME_VAR(target->op1, opline->result) || in zend_optimizer_pass3() 218 opline->result.var = target->result.var; in zend_optimizer_pass3()
|
/PHP-8.2/ext/dom/lexbor/lexbor/html/ |
H A D | encoding.h | 27 lexbor_array_obj_t result; member 62 lexbor_array_obj_clean(&em->result); in lxb_html_encoding_clean() 68 return (lxb_html_encoding_entry_t *) lexbor_array_obj_get(&em->result, idx); in lxb_html_encoding_meta_entry() 74 return lexbor_array_obj_length(&em->result); in lxb_html_encoding_meta_length() 80 return &em->result; in lxb_html_encoding_meta_result()
|