« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 299 for printf (0.004 sec.)
PHP DTrace 静的プローブとともに SystemTap を使用 | PHP 8.3 10210
PHP DTrace 静的プローブとともに SystemTap を使用 一部の Linux ディストリビューションでは、 PHP の静的な DTrace プローブをトレースするために SystemTap トレーシング・ユーティリティを使用できます。 これは、PHP 5.4.20 および PHP 5.5 で使用できま ... 静的プローブをトレースするための all_probes.stp probe process("sapi/cli/php").provider("php").mark("compile__file__entry") { printf("Probe compile__file__entry\n"); printf(" compile_file %s\n", user_string($arg1)); printf(" compile_file_translated %s\n", ... user_string($arg2)); } probe process("sapi/cli/php").provider("php").mark("compile__file__return") { printf("Probe compile__file__return\n"); printf(" compile_file %s\n", user_string($arg1)); printf(" compile_file_translated %s\n" ... , user_string($arg2)); } probe process("sapi/cli/php").provider("php").mark("error") { printf("Probe error\n"); printf(" errormsg %s\n", user_string($arg1)); printf(" request_file %s\n", user_string($arg2)); printf(" ...
https://man.mtool.work/php/8.3/features.dtrace.systemtap.html
PHP DTrace 静的プローブとともに bpftrace を使用 | PHP 8.3 10012
PHP DTrace 静的プローブとともに bpftrace を使用 LinuxディストリビューションにおいてカーネルがeBPFをサポートする場合、bpftraceユーティリティはPHPのDTraceプローブ(USDT)に対してSystemTapを必要とせず直接アタッチすることができます。 bpftraceの ... してすべてのPHP静的プローブをトレースする all_probes.bt #!/usr/bin/env bpftrace usdt:/usr/bin/php:php:compile__file__entry { printf("Probe compile__file__entry\n"); printf(" compile_file %s\n", str(arg0)); printf(" compile_file_translated %s\n", str(arg1 ... )); } usdt:/usr/bin/php:php:compile__file__return { printf("Probe compile__file__return\n"); printf(" compile_file %s\n", str(arg0)); printf(" compile_file_translated %s\n", str(arg ... 1)); } usdt:/usr/bin/php:php:error { printf("Probe error\n"); printf(" errormsg %s\n", str(arg0)); printf(" request_file %s\n", str(arg1)); printf(" lineno %d\n", (in ...
https://man.mtool.work/php/8.3/features.dtrace.bpftrace.html
PHP および DTrace の使用 | PHP 8.3 9624
PHP および DTrace の使用 DTrace 動的トレーシングをサポートするプラットフォームでは、 DTrace 静的プローブ付きで PHP を構成できます。 DTrace 静的プローブのために PHP を構成 OS の DTrace サポートを有効にするには、 プラットフォーム固有の外部のド ... HP 静的プローブをトレースするための all_probes.d #!/usr/sbin/dtrace -Zs #pragma D option quiet php*:::compile-file-entry { printf("PHP compile-file-entry\n"); printf(" compile_file %s\n", copyinstr(arg0)); printf(" compile_file_translated %s\n", copyin ... str(arg1)); } php*:::compile-file-return { printf("PHP compile-file-return\n"); printf(" compile_file %s\n", copyinstr(arg0)); printf(" compile_file_translated %s\n", copyi ... nstr(arg1)); } php*:::error { printf("PHP error\n"); printf(" errormsg %s\n", copyinstr(arg0)); printf(" request_file %s\n", copyinstr(arg1)); printf(" lineno ...
https://man.mtool.work/php/8.3/features.dtrace.dtrace.html
OCI8 および DTrace 動的トレーシング | PHP 8.3 8999
OCI8 および DTrace 動的トレーシング OCI8 2.0 では、DTrace をサポートする OS 上で使用できる 静的な DTrace プローブが導入されました。 PHP および DTrace の概要については、 DTrace 動的トレーシング をご覧ください。 DTrace サポート付きで OCI8 をイ ... 的プローブをトレースするための user_oci8_probes.d #!/usr/sbin/dtrace -Zs #pragma D option quiet php*:::oci8-connect-entry { printf("%lld: PHP connect-entry\n", walltimestamp); printf(" credentials=\"%s@%s\"\n", arg0 ? copyinstr(arg0) : "", arg1 ? copyin ... str(arg1) : ""); printf(" charset=\"%s\"\n", arg2 ? copyinstr(arg2) : ""); printf(" session_mode=%ld\n", (long)arg3); printf(" persistent=%d\n", ( ... int)arg4); printf(" exclusive=%d\n", (int)arg5); } php*:::oci8-connect-return { printf("%lld: PHP oci8-connect-return\n", walltimestamp); pr ...
https://man.mtool.work/php/8.3/oci8.dtrace.html
cubrid_fetch_field — Get column information from a result and return as an obje... 8422
cubrid_fetch_field (PECL CUBRID >= 8.3.1) cubrid_fetch_field — Get column information from a result and return as an object 説明 function cubrid_fetch_field ( resource $result , int $field_offset = 0 ): object This function returns an objec ... de=20001;" ); var_dump ( cubrid_fetch_row ( $req )); cubrid_field_seek ( $req , 1 ); $field = cubrid_fetch_field ( $req ); printf ( "\n--- Field Properties ---\n" ); printf ( "%-30s %s\n" , "name:" , $field -> name ); printf ( "%-30s %s\n" , "table:" , ... $field -> table ); printf ( "%-30s \"%s\"\n" , "default value:" , $field -> def ); printf ( "%-30s %d\n" , "max length:" , $field -> max_length ); p ... rintf ( "%-30s %d\n" , "not null:" , $field -> not_null ); printf ( "%-30s %d\n" , "primary key:" , $field -> primary_key ); printf ( "%-30s %d\n" , "unique key:" , $field -> unique_key ); ...
https://man.mtool.work/php/8.3/function.cubrid-fetch-field.html
printf — フォーマット済みの文字列を出力する | PHP 8.3 8299
printf (PHP 4, PHP 5, PHP 7, PHP 8) printf — フォーマット済みの文字列を出力する 説明 function printf ( string $format , mixed ...$values ): int format にしたがって、出力を生成します。 パラメータ format 0個以上のディレクティブで構成されるフォ ... ntCountError がスローされるようになりました。 これより前のバージョンでは、代わりに E_WARNING を発生させていました。 例 例1 printf() : の様々な例 <?php $n = 43951789 ; $u = - 43951789 ; $c = 65 ; // ASCII の 65番目は 'A' // %% は、リテラル '%' 文字を出力 ... することに注意 printf ( "%%b = '%b'\n" , $n ); // バイナリ表現 printf ( "%%c = '%c'\n" , $c ); // ASCII 文字を出力。chr() 関数と同じ printf ( "% ... %d = '%d'\n" , $n ); // 標準的な整数表現 printf ( "%%e = '%e'\n" , $n ); // 科学的記法 printf ( "%%u = '%u'\n" , $n ); // 正の整数の符号なし整数表現 printf ( "%%u = '%u'\ ...
https://man.mtool.work/php/8.3/function.printf.html
cubrid_next_result — Get result of next query when executing multiple SQL state... 8185
cubrid_next_result (PECL CUBRID >= 8.4.0) cubrid_next_result — Get result of next query when executing multiple SQL statements 説明 function cubrid_next_result ( resource $result ): bool The cubrid_next_result() function is used to get resu ... LL ); get_result_info ( $res ); cubrid_next_result ( $res ); get_result_info ( $res ); function get_result_info ( $req ) { printf ( "\n------------ get_result_info --------------------\n" ); $row_num = cubrid_num_rows ( $req ); $col_num = cubrid_num_co ... num - 1 ); $column_last_len = cubrid_field_len ( $req , $col_num - 1 ); $column_1_flags = cubrid_field_flags ( $req , 1 ); printf ( "%-30s %d\n" , "Row count:" , $row_num ); printf ( "%-30s %d\n" , "Column count:" , $col_num ); printf ( "\n" ); printf ... ( "%-30s %-30s %-15s\n" , "Column Names" , "Column Types" , "Column Len" ); printf ( "------------------------------------------------------------------------------\n" ); $size = count ( $column_name_list ...
https://man.mtool.work/php/8.3/function.cubrid-next-result.html
mysqli_result::$current_field — 結果ポインタにおける現在のフィールドオフセット... 8034
mysqli_result::$current_field mysqli_field_tell (PHP 5, PHP 7, PHP 8) mysqli_result::$current_field -- mysqli_field_tell — 結果ポインタにおける現在のフィールドオフセットを取得する 説明 オブジェクト指向型 int $mysqli_result->current_field ; ... sqli ( "localhost" , "my_user" , "my_password" , "world" ); /* 接続状況をチェックします */ if ( mysqli_connect_errno ()) { printf ( "Connect failed: %s\n" , mysqli_connect_error ()); exit(); } $query = "SELECT Name, SurfaceArea from Country ORDER BY Co ... = $result -> fetch_field ()) { /* フィールドポインタのオフセットを取得します */ $currentfield = $result -> current_field ; printf ( "Column %d:\n" , $currentfield ); printf ( "Name: %s\n" , $finfo -> name ); printf ( "Table: %s\n" , $finfo -> table ); ... printf ( "max. Len: %d\n" , $finfo -> max_length ); printf ( "Flags: %d\n" , $finfo -> flags ); printf ( "Type: %d\n\n" , $finfo -> type ); } $result -> close (); } /* 接続を閉じます ...
https://man.mtool.work/php/8.3/mysqli-result.current-field.html
mysqli_result::fetch_fields — 結果セットのフィールド情報をオブジェクトの配列で... 7561
mysqli_result::fetch_fields mysqli_fetch_fields (PHP 5, PHP 7, PHP 8) mysqli_result::fetch_fields -- mysqli_fetch_fields — 結果セットのフィールド情報をオブジェクトの配列で返す 説明 オブジェクト指向型 public function mysqli_result::fetch_fie ... ew mysqli ( "127.0.0.1" , "root" , "foofoo" , "sakila" ); /* 接続状況をチェックします */ if ( $mysqli -> connect_errno ) { printf ( "Connect failed: %s\n" , $mysqli -> connect_error ); exit(); } foreach (array( 'latin1' , 'utf8' ) as $charset ) { // 文 ... ry )) { /* すべてのカラムのフィールド情報を取得します */ $finfo = $result -> fetch_fields (); foreach ( $finfo as $val ) { printf ( "Name: %s\n" , $val -> name ); printf ( "Table: %s\n" , $val -> table ); printf ( "Max. Len: %d\n" , $val -> max_length ... ); printf ( "Length: %d\n" , $val -> length ); printf ( "charsetnr: %d\n" , $val -> charsetnr ); printf ( "Flags: %d\n" , $val -> fl ...
https://man.mtool.work/php/8.3/mysqli-result.fetch-fields.html
cubrid_field_seek — Move the result set cursor to the specified field offset | ... 7523
cubrid_field_seek (PECL CUBRID >= 8.3.0) cubrid_field_seek — Move the result set cursor to the specified field offset 説明 function cubrid_field_seek ( resource $result , int $field_offset = 0 ): bool This function moves the result set curs ... de=20001;" ); var_dump ( cubrid_fetch_row ( $req )); cubrid_field_seek ( $req , 1 ); $field = cubrid_fetch_field ( $req ); printf ( "\n--- Field Properties ---\n" ); printf ( "%-30s %s\n" , "name:" , $field -> name ); printf ( "%-30s %s\n" , "table:" , ... $field -> table ); printf ( "%-30s \"%s\"\n" , "default value:" , $field -> def ); printf ( "%-30s %d\n" , "max length:" , $field -> max_length ); p ... rintf ( "%-30s %d\n" , "not null:" , $field -> not_null ); printf ( "%-30s %d\n" , "unique key:" , $field -> unique_key ); printf ( "%-30s %d\n" , "multiple key:" , $field -> multiple_key ...
https://man.mtool.work/php/8.3/function.cubrid-field-seek.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT