« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 125 for methods (0.003 sec.)
ssh2_methods_negotiated — ネゴシエートされたメソッドのリストを返す | PHP 8.3 14092
ssh2_methods_negotiated (PECL ssh2 >= 0.9.0) ssh2_methods_negotiated — ネゴシエートされたメソッドのリストを返す 説明 function ssh2_methods_negotiated ( resource $session ): array ネゴシエートされたメソッドのリストを返します。 パラメータ ses ... D。 戻り値 例 例1 どのメソッドでネゴシエートされたかの判定 <?php $connection = ssh2_connect ( 'shell.example.com' , 22 ); $methods = ssh2_methods_negotiated ( $connection ); echo "Encryption keys were negotiated using: { $methods [ 'kex' ]} \n" ; echo " ... Server identified using an { $methods [ 'hostkey' ]} with " ; echo "fingerprint: " . ssh2_fingerprint ( $connection ) . "\n" ; echo "Client to Server packets wi ... ll use methods:\n" ; echo "\tCrypt: { $methods [ 'client_to_server' ][ 'crypt' ]} \n" ; echo "\tComp: { $methods [ 'client_to_server' ][ ...
https://man.mtool.work/php/8.3/function.ssh2-methods-negotiated.html
get_class_methods — クラスメソッドの名前を取得する | PHP 8.3 11204
get_class_methods (PHP 4, PHP 5, PHP 7, PHP 8) get_class_methods — クラスメソッドの名前を取得する 説明 function get_class_methods ( object | string $object_or_class ): array クラスメソッドの名前を取得します。 パラメータ object_or_class オブ ... バージョン 説明 8.0.0 object_or_class は、 オブジェクトまたは有効なクラス名を受け入れるようになりました。 例 例1 get_class_methods() の例 <?php class myclass { // コンストラクタ function __construct () { return( true ); } // メソッド1 function myfunc1 ( ... ) { return( true ); } // メソッド2 function myfunc2 () { return( true ); } } $class_methods = get_class_methods ( 'myclass' ); // あるいは $class_methods = get_class_methods (new myclass ()); foreach ( $class_metho ...
https://man.mtool.work/php/8.3/function.get-class-methods.html
EventHttp::setAllowedMethods — Sets which HTTP methods are supported in request... 9853
EventHttp::setAllowedMethods (PECL event >= 1.4.0-beta) EventHttp::setAllowedMethods — Sets which HTTP methods are supported in requests accepted by this server, and passed to user callbacks 説明 public function EventHttp::setAllowedMethods ... ( int $methods ): void Sets which HTTP methods are supported in requests accepted by this server, and passed to user callbacks If not sup ... ported they will generate a "405 Method not allowed" response. By default this includes the following methods: GET , POST , HEAD , PUT , DELETE . See EventHttpRequest::CMD_* constants. パラメータ methods A bit mask of EventHttpReque ...
https://man.mtool.work/php/8.3/eventhttp.setallowedmethods.html
Deprecated Features | PHP 8.3 9853
Deprecated Features PHP Core Using "namespace" as a class constant name Declaring a class constant named namespace is now deprecated. namespace is a semi-reserved keyword, and the name is being reserved for possible future syntax such as a ... ::namespace pseudo-constant analogous to ::class . Methods and static properties named namespace are not affected. Rename the constant, for example to NAMESPACE_NAME . Returning fro ... Returning a value from __construct() or __destruct() is now deprecated, and emits a compile-time deprecation notice. These methods cannot declare a return type, and their return value can never be observed during normal use, which made returning a value ... confusing at best. Using return; without a value to skip the remaining logic is still allowed, as is calling these methods manually. For the same reason, using yield to make __construct() or __destruct() a generator is now deprecated. Naming a f ...
https://man.mtool.work/php/8.3/migration86.deprecated.html
MySQL Native Driverプラグイン のアーキテクチャ | PHP 8.3 9386
MySQL Native Driverプラグイン のアーキテクチャ このセクションでは、 mysqlnd プラグイン のアーキテクチャについての概要を示します。 MySQL Native Driver の概要 mysqlnd プラグイン を開発する前に、 mysqlnd そのものがどのように成り立っているのかを ... ysqlnd の関数テーブルを置き換える方法を示しています: /* a place to store original function table */ struct st_mysqlnd_conn_methods org_methods; void minit_register_hooks(TSRMLS_D) { /* active function table */ struct st_mysqlnd_conn_methods * current_me ... thods = mysqlnd_conn_get_methods(); /* backup original function table */ memcpy(&org_methods, current_methods, sizeof(struct st_mysqlnd_conn_methods); /* i ... nstall new methods */ current_methods->query = MYSQLND_METHOD(my_conn_class, query); } 接続関数テーブルの管理は、モジュールを初期化(MINIT)して ...
https://man.mtool.work/php/8.3/mysqlnd.plugin.architecture.html
Yar_Server::__construct — Create an RPC server | PHP 8.3 9251
Yar_Server::__construct (PECL yar >= 1.0.0) Yar_Server::__construct — Create an RPC server 説明 final public function Yar_Server::__construct ( object $executor ) Creates a Yar HTTP RPC server. All public methods of executor are registered ... as RPC services. パラメータ executor Any object whose public methods should be exposed as RPC services. Protected and private methods, and methods whose name starts with an underscore, are no ... t exposed. The executor can optionally define two protected magic methods, which are recognized by Yar_Server::handle() and never exposed as RPC endpoints: protected function __info(string $markup ... ions. Returning exactly false rejects the request; any other return value lets it proceed. See Yar_Server::handle() . Both methods only take effect when they are protected ; a public or private method with the same name is ignored. 戻り値 An instance of ...
https://man.mtool.work/php/8.3/yar-server.construct.html
openssl_get_md_methods — 利用可能なダイジェスト・メソッドを取得 | PHP 8.3 9116
openssl_get_md_methods (PHP 5 >= 5.3.0, PHP 7, PHP 8) openssl_get_md_methods — 利用可能なダイジェスト・メソッドを取得 説明 function openssl_get_md_methods ( bool $aliases = false ): array 利用可能なダイジェスト・メソッドの一覧を取得します。 ... ェストのエイリアスを含めるべき場合、 true に設定します 戻り値 利用可能なダイジェスト・メソッドの array 例 例1 openssl_get_md_methods() の例 どのように利用可能なダイジェストが見るか、およびどのエイリアスが利用可能か示します。 <?php $digests = openssl_get_m ... d_methods (); $digests_and_aliases = openssl_get_md_methods ( true ); $digest_aliases = array_diff ( $digests_and_aliases , $digests ... on [53] => ssl2-md5 [54] => ssl3-md5 [55] => ssl3-sha1 ) 参考 openssl_digest() - ダイジェストを計算する openssl_get_cipher_methods() - 利用可能な暗号メソッドを取得 他のマニュアルの関連ページ Linux JM aliases(5) Python hmac Linux JM newaliases(1) Docker ...
https://man.mtool.work/php/8.3/function.openssl-get-md-methods.html
例 | PHP 8.3 8305
例 The examples below walk through a complete service: a server that exposes a few arithmetic methods, a synchronous client that calls them, a client that fans several calls out concurrently, and a client that talks to a server over TCP. 例 ... regular PHP class wrapped by Yar_Server . Every public method of the object becomes an RPC endpoint; protected and private methods, as well as methods whose names start with an underscore, stay hidden from clients. The doc comments of the public methods ... ion sub ( $a , $b ) { return $a - $b ; } /** * Mul */ public function mul ( $a , $b ) { return $a * $b ; } /** * Protected methods will not be exposed * @param integer * @return integer */ protected function _add ( $a , $b ) { return $a + $b ; } } $serv ... single service address. Calling any undefined method on it is transparently turned into a synchronous RPC call, so remote methods look and feel like local ones; Yar_Client::call() does the same thing explicitly by name. Protected methods are not expose ...
https://man.mtool.work/php/8.3/yar.examples.html
ReflectionClass::getMethods — メソッドの配列を取得する | PHP 8.3 7764
ReflectionClass::getMethods (PHP 5, PHP 7, PHP 8) ReflectionClass::getMethods — メソッドの配列を取得する 説明 public function ReflectionClass::getMethods ( ? int $filter = null ): array クラスのメソッドの配列を取得します。 パラメータ filter ... オブジェクトの配列を返します。 変更履歴 バージョン 説明 7.2.0 filter は、nullable になりました。 例 例1 ReflectionClass::getMethods() の基本的な使用例 <?php class Apple { public function firstMethod () { } final protected function secondMethod () { } pri ... vate static function thirdMethod () { } } $class = new ReflectionClass ( 'Apple' ); $methods = $class -> getMethods (); var_dump ( $methods ); ?> 上の例の出力は以下となります。 array(3) { [0]=> object(ReflectionMeth ... ct(ReflectionMethod)#4 (2) { ["name"]=> string(11) "thirdMethod" ["class"]=> string(5) "Apple" } } 例2 ReflectionClass::getMethods() のフィルタリング <?php class Apple { public function firstMethod () { } final protected function secondMethod () { } pri ...
https://man.mtool.work/php/8.3/reflectionclass.getmethods.html
openssl_get_cipher_methods — 利用可能な暗号メソッドを取得 | PHP 8.3 7703
openssl_get_cipher_methods (PHP 5 >= 5.3.0, PHP 7, PHP 8) openssl_get_cipher_methods — 利用可能な暗号メソッドを取得 説明 function openssl_get_cipher_methods ( bool $aliases = false ): array 利用可能な暗号メソッドの一覧を取得します。 パラメー ... 返していました。 OpenSSL 1.1.1 以降では、小文字のみで記されたものが返されることに注意して下さい。 例 例1 openssl_get_cipher_methods() の例 どのように利用可能な暗号が見るか、およびどのエイリアスが利用可能か示します。 <?php $ciphers = openssl_get_cipher_me ... thods (); $ciphers_and_aliases = openssl_get_cipher_methods ( true ); $cipher_aliases = array_diff ( $ciphers_and_aliases , $ciphers ); //ECB mode should be avoided $ciphers = array_ ... lia192 [101] => camellia256 [102] => cast [103] => cast-cbc [146] => idea [164] => seed [169] => sm4 ) 参考 openssl_get_md_methods() - 利用可能なダイジェスト・メソッドを取得 他のマニュアルの関連ページ Linux JM aliases(5) Python hmac Linux JM newaliases( ...
https://man.mtool.work/php/8.3/function.openssl-get-cipher-methods.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT