« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 206 for Custom (0.007 sec.)
eio_* のようなカスタムリクエストを実行する 11547
« eio_close eio_dup2 » PHP Manual Eio 関数 eio_* のようなカスタムリクエストを実行する 検索 eio_custom (PECL eio >= 0.0.1dev) eio_custom — eio_* のようなカスタムリクエストを実行する 説明 function eio_custom ( callable $execute , int $pri , c ... allable $callback , mixed $data = NULL ): resource eio_custom() は、 execute で指定したカスタム関数を実行し、 その他の eio_* と同じように処理します。 パラメータ execute 次のプロトタイプ ... で指定するリクエストリソースです。 eio_get_last_error() のような関数で使えます。 data callback に渡す任意の引数。 戻り値 eio_custom() は、成功した場合にリクエストリソースを返します。失敗した場合に false を返します 例 例1 eio_custom() の例 <?php /* カスタ ... ムコールバック用のコールバック */ function my_custom_callback ( $data , $result ) { var_dump ( $data ); var_dump ( count ( $result )); var_dump ( $result [ 'data_modified' ]); ...
https://man.mtool.work/php/8.3/function.eio-custom.html
eio_* のようなカスタムリクエストを実行する 11483
« eio_close eio_dup2 » PHP Manual Eio 関数 eio_* のようなカスタムリクエストを実行する 検索 eio_custom (PECL eio >= 0.0.1dev) eio_custom — eio_* のようなカスタムリクエストを実行する 説明 function eio_custom ( callable $execute , int $pri , c ... allable $callback , mixed $data = NULL ): resource eio_custom() は、 execute で指定したカスタム関数を実行し、 その他の eio_* と同じように処理します。 パラメータ execute 次のプロトタイプ ... で指定するリクエストリソースです。 eio_get_last_error() のような関数で使えます。 data callback に渡す任意の引数。 戻り値 eio_custom() は、成功した場合にリクエストリソースを返します。失敗した場合に false を返します 例 例1 eio_custom() の例 <?php /* カスタ ... ムコールバック用のコールバック */ function my_custom_callback ( $data , $result ) { var_dump ( $data ); var_dump ( count ( $result )); var_dump ( $result [ 'data_modified' ]); ...
https://man.mtool.work/php/8.3/function.eio-custom.html
GeoIP データベースのカスタムディレクトリを設定する 9470
« geoip_region_name_by_code geoip_time_zone_by_country_and_region » PHP Manual GeoIP 関数 GeoIP データベースのカスタムディレクトリを設定する 検索 geoip_setup_custom_directory (PECL geoip >= 1.1.0) geoip_setup_custom_directory — GeoIP データ ... ベースのカスタムディレクトリを設定する 説明 function geoip_setup_custom_directory ( string $path ): void geoip_setup_custom_directory() 関数は、 GeoIPデータベースのデフォルトディレクトリを変更し ... ます。 これは geoip.custom_directory を変更することと同等です。 パラメータ path ディスク上に置くGeoIP データベースのフルパス。 戻り値 値を返しません。 ... 例 例1 geoip_setup_custom_directory() の例 この例は、GeoIP のデータベースパスを変更します。 <?php geoip_setup_custom_directory ( '/some/other/path' ...
https://man.mtool.work/php/8.3/function.geoip-setup-custom-directory.html
GeoIP データベースのカスタムディレクトリを設定する 9470
« geoip_region_name_by_code geoip_time_zone_by_country_and_region » PHP Manual GeoIP 関数 GeoIP データベースのカスタムディレクトリを設定する 検索 geoip_setup_custom_directory (PECL geoip >= 1.1.0) geoip_setup_custom_directory — GeoIP データ ... ベースのカスタムディレクトリを設定する 説明 function geoip_setup_custom_directory ( string $path ): void geoip_setup_custom_directory() 関数は、 GeoIPデータベースのデフォルトディレクトリを変更し ... ます。 これは geoip.custom_directory を変更することと同等です。 パラメータ path ディスク上に置くGeoIP データベースのフルパス。 戻り値 値を返しません。 ... 例 例1 geoip_setup_custom_directory() の例 この例は、GeoIP のデータベースパスを変更します。 <?php geoip_setup_custom_directory ( '/some/other/path' ...
https://man.mtool.work/php/8.3/function.geoip-setup-custom-directory.html
Throwable errors 8234
« Error Handling Diagnostic errors » PHP Manual Error Handling Throwable errors 検索 Throwable errors A Throwable error is an execution event which disrupts the normal flow of instructions. When a Throwable error is throw n, be that by the ... ement Throwable . ヒント The Standard PHP Library (SPL) provides various built-in exceptions . And it's possible to create custom exceptions by extending the Exception class . It is possible to handle a Throwable error within PHP by surrounding the cod ... onstruct() to ensure all available data has been properly assigned. The __toString() method can be overridden to provide a custom output when the object is used as a string. 例1 Extending Exception <?php class CustomException extends Exception { // Red ... ll ) { // some code // Ensure everything is assigned properly parent :: __construct ( $message , $code , $previous ); } // Custom string representation of object public function __toString () { return __CLASS__ . ": [ { $this -> code } ]: { $this -> me ...
https://man.mtool.work/php/8.3/language.error-handling.throwable.html
Throwable errors 8181
« Error Handling Diagnostic errors » PHP Manual Error Handling Throwable errors 検索 Throwable errors A Throwable error is an execution event which disrupts the normal flow of instructions. When a Throwable error is throw n, be that by the ... ement Throwable . ヒント The Standard PHP Library (SPL) provides various built-in exceptions . And it's possible to create custom exceptions by extending the Exception class . It is possible to handle a Throwable error within PHP by surrounding the cod ... onstruct() to ensure all available data has been properly assigned. The __toString() method can be overridden to provide a custom output when the object is used as a string. 例1 Extending Exception <?php class CustomException extends Exception { // Red ... ll ) { // some code // Ensure everything is assigned properly parent :: __construct ( $message , $code , $previous ); } // Custom string representation of object public function __toString () { return __CLASS__ . ": [ { $this -> code } ]: { $this -> me ...
https://man.mtool.work/php/8.3/language.error-handling.throwable.html
Custom serialization of SolrDocument objects 8063
« SolrDocument::toArray SolrDocument::__unset » PHP Manual SolrDocument Custom serialization of SolrDocument objects 検索 SolrDocument::unserialize (PECL solr >= 0.9.2) SolrDocument::unserialize — Custom serialization of SolrDocument object ... s 説明 public function SolrDocument::unserialize ( string $serialized ): void Custom serialization of SolrDocument objects パラメータ serialized An XML representation of the document. 戻り値 None. 関連キーワ ... ード: SolrDocument Custom serialization objects unserialize serialized toArray unset solr representation document None ...
https://man.mtool.work/php/8.3/solrdocument.unserialize.html
Custom serialization of SolrDocument objects 7957
« SolrDocument::toArray SolrDocument::__unset » PHP Manual SolrDocument Custom serialization of SolrDocument objects 検索 SolrDocument::unserialize (PECL solr >= 0.9.2) SolrDocument::unserialize — Custom serialization of SolrDocument object ... s 説明 public function SolrDocument::unserialize ( string $serialized ): void Custom serialization of SolrDocument objects パラメータ serialized An XML representation of the document. 戻り値 None. 関連キーワ ... ード: SolrDocument Custom serialization objects unserialize serialized toArray Search unset solr function string void パラメータ representation docu ...
https://man.mtool.work/php/8.3/solrdocument.unserialize.html
例 7669
« 定義済み定数 Eio 関数 » PHP Manual Eio 例 検索 例 例1 リクエストの取り消し <?php /* eio_nop() が終わったら呼ばれます */ function my_nop_cb ( $data , $result ) { echo "my_nop " , $data , "\n" ; } // この eio_nop() の呼び出しは取り消されます ... 力は、 たとえば以下のようになります。 eio_chmod_ok 例3 カスタムリクエストの作成 <?php /* カスタムコールバック */ function my_custom_callback ( $data , $result ) { var_dump ( $data ); var_dump ( count ( $result )); var_dump ( $result [ 'data_modified' ]); ... var_dump ( $result [ 'result' ]); } /* カスタムリクエスト */ function my_custom ( $data ) { var_dump ( $data ); $result = array( 'result' => 1001 , 'data_modified' => "my custom data" , ); return $resul ... t ; } $data = "my_custom_data" ; $req = eio_custom ( "my_custom" , EIO_PRI_DEFAULT , "my_custom_callback" , $data ); var_dump ( $req ); eio_event_l ...
https://man.mtool.work/php/8.3/eio.examples.html
例 7616
« 定義済み定数 Eio 関数 » PHP Manual Eio 例 検索 例 例1 リクエストの取り消し <?php /* eio_nop() が終わったら呼ばれます */ function my_nop_cb ( $data , $result ) { echo "my_nop " , $data , "\n" ; } // この eio_nop() の呼び出しは取り消されます ... 力は、 たとえば以下のようになります。 eio_chmod_ok 例3 カスタムリクエストの作成 <?php /* カスタムコールバック */ function my_custom_callback ( $data , $result ) { var_dump ( $data ); var_dump ( count ( $result )); var_dump ( $result [ 'data_modified' ]); ... var_dump ( $result [ 'result' ]); } /* カスタムリクエスト */ function my_custom ( $data ) { var_dump ( $data ); $result = array( 'result' => 1001 , 'data_modified' => "my custom data" , ); return $resul ... t ; } $data = "my_custom_data" ; $req = eio_custom ( "my_custom" , EIO_PRI_DEFAULT , "my_custom_callback" , $data ); var_dump ( $req ); eio_event_l ...
https://man.mtool.work/php/8.3/eio.examples.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT