« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 52 for struct (0.002 sec.)
SOAP 型の一覧を返す 10544
« SoapClient::__getLastResponseHeaders SoapClient::__setCookie » PHP Manual SoapClient SOAP 型の一覧を返す 検索 SoapClient::__getTypes (PHP 5, PHP 7, PHP 8) SoapClient::__getTypes — SOAP 型の一覧を返す 説明 public function SoapClient::__get ... pes ()); ?> 上の例の出力は以下となります。 array(88) { [0]=> string(30) "ProductLine ProductLineArray[]" [1]=> string(85) "struct ProductLine { string Mode; string RelevanceRank; ProductInfo ProductInfo; }" [2]=> string(105) "struct ProductInfo { strin ... es; string ListName; DetailsArray Details; }" ... [85]=> string(32) "ShortSummary ShortSummaryArray[]" [86]=> string(121) "struct GetTransactionDetailsRequest { string tag; string devtag; string key; OrderIdArray OrderIds; string locale; }" [87]=> stri ... ng(75) "struct GetTransactionDetailsResponse { ShortSummaryArray ShortSummaries; }" } 参考 SoapClient::__construct() - SoapClient のコンス ...
https://man.mtool.work/php/8.3/soapclient.gettypes.html
FFI の基本的な使い方 10454
« 例 PHP のコールバック » PHP Manual 例 FFI の基本的な使い方 検索 FFI の基本的な使い方 FFI API の詳細に深く立ち入る前に、よくあるタスクに対する FFI API の使い方が どれほど簡単かを示す例をいくつか見てみましょう。 注意 : これらの例の中には、 ... meofday() のバインディングを作成する $ffi = FFI :: cdef ( " typedef unsigned int time_t; typedef unsigned int suseconds_t; struct timeval { time_t tv_sec; suseconds_t tv_usec; }; struct timezone { int tz_minuteswest; int tz_dsttime; }; int gettimeofday ... (struct timeval *tv, struct timezone *tz); " , "libc.so.6" ); // C のデータ構造を作成する $tv = $ffi -> new ( "struct timeval" ); ... $tz = $ffi -> new ( "struct timezone" ); // C の gettimeofday() を呼ぶ var_dump ( $ffi -> gettimeofday ( FFI :: addr ( $tv ), FFI :: addr ( $tz ))); / ...
https://man.mtool.work/php/8.3/ffi.examples-basic.html
SOAP 型の一覧を返す 10454
« SoapClient::__getLastResponseHeaders SoapClient::__setCookie » PHP Manual SoapClient SOAP 型の一覧を返す 検索 SoapClient::__getTypes (PHP 5, PHP 7, PHP 8) SoapClient::__getTypes — SOAP 型の一覧を返す 説明 public function SoapClient::__get ... pes ()); ?> 上の例の出力は以下となります。 array(88) { [0]=> string(30) "ProductLine ProductLineArray[]" [1]=> string(85) "struct ProductLine { string Mode; string RelevanceRank; ProductInfo ProductInfo; }" [2]=> string(105) "struct ProductInfo { strin ... es; string ListName; DetailsArray Details; }" ... [85]=> string(32) "ShortSummary ShortSummaryArray[]" [86]=> string(121) "struct GetTransactionDetailsRequest { string tag; string devtag; string key; OrderIdArray OrderIds; string locale; }" [87]=> stri ... ng(75) "struct GetTransactionDetailsResponse { ShortSummaryArray ShortSummaries; }" } 参考 SoapClient::__construct() - SoapClient のコンス ...
https://man.mtool.work/php/8.3/soapclient.gettypes.html
FFI の基本的な使い方 10380
« 例 PHP のコールバック » PHP Manual 例 FFI の基本的な使い方 検索 FFI の基本的な使い方 FFI API の詳細に深く立ち入る前に、よくあるタスクに対する FFI API の使い方が どれほど簡単かを示す例をいくつか見てみましょう。 注意 : これらの例の中には、 ... meofday() のバインディングを作成する $ffi = FFI :: cdef ( " typedef unsigned int time_t; typedef unsigned int suseconds_t; struct timeval { time_t tv_sec; suseconds_t tv_usec; }; struct timezone { int tz_minuteswest; int tz_dsttime; }; int gettimeofday ... (struct timeval *tv, struct timezone *tz); " , "libc.so.6" ); // C のデータ構造を作成する $tv = $ffi -> new ( "struct timeval" ); ... $tz = $ffi -> new ( "struct timezone" ); // C の gettimeofday() を呼ぶ var_dump ( $ffi -> gettimeofday ( FFI :: addr ( $tv ), FFI :: addr ( $tz ))); / ...
https://man.mtool.work/php/8.3/ffi.examples-basic.html
Creates an empty training data struct 9857
« fann_create_standard_array fann_create_train_from_callback » PHP Manual Fann 関数 Creates an empty training data struct 検索 fann_create_train (PECL fann >= 1.0.0) fann_create_train — Creates an empty training data struct 説明 function fa ... nn_create_train ( int $num_data , int $num_input , int $num_output ): resource Creates an empty training data struct. パラメータ num_data The number of training data num_input The number of inputs per training data num_output The number of ... that stores training data fann_train_on_data() - Trains on an entire dataset for a period of time fann_destroy_train() - Destructs the training data fann_save_train() - Save the training structure to a file 関連キーワード: data fann training train num ... create Creates empty struct int number file input output per 場合 standard array Search callback ...
https://man.mtool.work/php/8.3/function.fann-create-train.html
配列構造体に XML データを処理する 9857
« xml_parse xml_parser_create » PHP Manual XML パーサー 関数 配列構造体に XML データを処理する 検索 xml_parse_into_struct (PHP 4, PHP 5, PHP 7, PHP 8) xml_parse_into_struct — 配列構造体に XML データを処理する 説明 function xml_parse_into_struct ... 含む文字列。 values XML データの値を含む配列。 index $values 内の適切な値の場所をさすポインタの配列。 戻り値 xml_parse_into_struct() は失敗した場合に 0、 成功した場合に 1 を返します。これは false および true とは 異なるものですので、=== のような演算子を ... のです。 note タグを para タグの中に埋 め込んで使用した後、これをパースし、生成された構造体を出力します。 例1 xml_parse_into_struct() の例 <?php $simple = "<para><note>simple note</note></para>" ; $p = xml_parser_create (); xml_parse_into_struct ( $p , $ ... ymbol ; // three letter symbol var $code ; // one letter code var $type ; // hydrophobic, charged or neutral function __construct ( $aa ) { foreach ( $aa as $k => $v ) $this -> $k = $aa [ $k ]; } } function readDatabase ( $filename ) { // read the XML ...
https://man.mtool.work/php/8.3/function.xml-parse-into-struct.html
配列構造体に XML データを処理する 9857
« xml_parse xml_parser_create » PHP Manual XML パーサー 関数 配列構造体に XML データを処理する 検索 xml_parse_into_struct (PHP 4, PHP 5, PHP 7, PHP 8) xml_parse_into_struct — 配列構造体に XML データを処理する 説明 function xml_parse_into_struct ... 含む文字列。 values XML データの値を含む配列。 index $values 内の適切な値の場所をさすポインタの配列。 戻り値 xml_parse_into_struct() は失敗した場合に 0、 成功した場合に 1 を返します。これは false および true とは 異なるものですので、=== のような演算子を ... のです。 note タグを para タグの中に埋 め込んで使用した後、これをパースし、生成された構造体を出力します。 例1 xml_parse_into_struct() の例 <?php $simple = "<para><note>simple note</note></para>" ; $p = xml_parser_create (); xml_parse_into_struct ( $p , $ ... ymbol ; // three letter symbol var $code ; // one letter code var $type ; // hydrophobic, charged or neutral function __construct ( $aa ) { foreach ( $aa as $k => $v ) $this -> $k = $aa [ $k ]; } } function readDatabase ( $filename ) { // read the XML ...
https://man.mtool.work/php/8.3/function.xml-parse-into-struct.html
C の型ハンドル 9782
« FFI\CData FFI\CType::getAlignment » PHP Manual FFI C の型ハンドル 検索 C の型ハンドル (PHP 7 >= 7.4.0, PHP 8) はじめに クラス概要 namespace FFI ; final class CType { /* 定数 */ public const int TYPE_VOID ; public const int TYPE_FLOAT ; pu ... PE_CHAR ; public const int TYPE_POINTER ; public const int TYPE_FUNC ; public const int TYPE_ARRAY ; public const int TYPE_STRUCT ; public const int ATTR_CONST ; public const int ATTR_INCOMPLETE_TAG ; public const int ATTR_VARIADIC ; public const int A ... _ARRAY ; public const int ATTR_VLA ; public const int ATTR_UNION ; public const int ATTR_PACKED ; public const int ATTR_MS_STRUCT ; public const int ATTR_GCC_STRUCT ; public const int ABI_DEFAULT ; public const int ABI_CDECL ; public const int ABI_FAST ... unction getName (): string public function getPointerType (): FFI\CType public function getSize (): int public function getStructFieldNames (): array public function getStructFieldOffset ( string $name ): int public function getStructFieldType ( string ...
https://man.mtool.work/php/8.3/class.ffi-ctype.html
C の型ハンドル 9782
« FFI\CData FFI\CType::getAlignment » PHP Manual FFI C の型ハンドル 検索 C の型ハンドル (PHP 7 >= 7.4.0, PHP 8) はじめに クラス概要 namespace FFI ; final class CType { /* 定数 */ public const int TYPE_VOID ; public const int TYPE_FLOAT ; pu ... PE_CHAR ; public const int TYPE_POINTER ; public const int TYPE_FUNC ; public const int TYPE_ARRAY ; public const int TYPE_STRUCT ; public const int ATTR_CONST ; public const int ATTR_INCOMPLETE_TAG ; public const int ATTR_VARIADIC ; public const int A ... _ARRAY ; public const int ATTR_VLA ; public const int ATTR_UNION ; public const int ATTR_PACKED ; public const int ATTR_MS_STRUCT ; public const int ATTR_GCC_STRUCT ; public const int ABI_DEFAULT ; public const int ABI_CDECL ; public const int ABI_FAST ... unction getName (): string public function getPointerType (): FFI\CType public function getSize (): int public function getStructFieldNames (): array public function getStructFieldOffset ( string $name ): int public function getStructFieldType ( string ...
https://man.mtool.work/php/8.3/class.ffi-ctype.html
Creates an empty training data struct 9782
« fann_create_standard_array fann_create_train_from_callback » PHP Manual Fann 関数 Creates an empty training data struct 検索 fann_create_train (PECL fann >= 1.0.0) fann_create_train — Creates an empty training data struct 説明 function fa ... nn_create_train ( int $num_data , int $num_input , int $num_output ): resource Creates an empty training data struct. パラメータ num_data The number of training data num_input The number of inputs per training data num_output The number of ... that stores training data fann_train_on_data() - Trains on an entire dataset for a period of time fann_destroy_train() - Destructs the training data fann_save_train() - Save the training structure to a file 関連キーワード: fann training train create Cr ... eates empty struct number input output standard callback Fann resource inputs outputs 成功 ニューラル ネットワーク トレーニング リソース 拡張 ...
https://man.mtool.work/php/8.3/function.fann-create-train.html
PREV 1 2 3 4 5 6 NEXT