Results of 1 - 10 of about 110 for Return key (0.003 sec.)
return (931), key (912)
- Yaf_Dispatcher::setView — カスタムビューエンジンを設定する | PHP 8.3 9502
- Yaf_Dispatcher::setView (Yaf >=1.0.0) Yaf_Dispatcher::setView — カスタムビューエンジンを設定する 説明 public function Yaf_Dispatcher::setView ( Yaf_View_Interface $view ): Yaf_Dispatcher このメソッドは、 Yaf_View_Simple ではなくカスタムビュ
... ジェクト * @var Smarty */ public $_smarty ; /** * コンストラクタ * * @param string $tmplPath * @param array $extraParams * @return void */ public function __construct ( $tmplPath = null , $extraParams = array()) { $this -> _smarty = new Smarty ; if ( nu ... ll !== $tmplPath ) { $this -> setScriptPath ( $tmplPath ); } foreach ( $extraParams as $key => $value ) { $this -> _smarty -> $key = $value ; } } /** * テンプレートへのパスを設定する * * @param string $path パスに設 ... 定するディレクトリ * @return void */ public function setScriptPath ( $path ) { if ( is_readable ( $path )) { $this -> _smarty -> template_dir = $path ; ...
-
https://man.mtool.work/php/8.3/yaf-dispatcher.setview.html
- Rnp 関数 | PHP 8.3 9408
- Rnp 関数 目次 rnp_backend_string — Return cryptographic backend library name rnp_backend_version — Return cryptographic backend library version rnp_decrypt — Decrypt PGP message rnp_dump_packets — Dump OpenPGP packets stream information in
... bject used for interacting with the library rnp_ffi_set_pass_provider — Set password provider callback function rnp_import_keys — Import keys from PHP string to the keyring and receive JSON describing new/updated keys rnp_import_signatures — Import ... standalone signatures to the keyring and receive JSON describing updated keys rnp_key_export — Export a key rnp_key_export_autocrypt — Export minimal key f ... _op_encrypt — Encrypt message rnp_op_generate_key — Generate key rnp_op_sign — Perform signing operation on a binary data, return embedded signature(s) rnp_op_sign_cleartext — Perform signing operation on a textual data, return cleartext signed message ...
-
https://man.mtool.work/php/8.3/ref.rnp.html
- Rnp | PHP 8.3 9097
- Rnp はじめに 警告 この拡張モジュールは、 実験的 なものです。この拡張モジュールの動作・ 関数名・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 このモジュールは自己責任で使用してく
... Mozilla Thunderbird. インストール/設定 要件 インストール手順 定義済み定数 例 Clearsign text Rnp 関数 rnp_backend_string — Return cryptographic backend library name rnp_backend_version — Return cryptographic backend library version rnp_decrypt — Decryp ... bject used for interacting with the library rnp_ffi_set_pass_provider — Set password provider callback function rnp_import_keys — Import keys from PHP string to the keyring and receive JSON describing new/updated keys rnp_import_signatures — Import ... standalone signatures to the keyring and receive JSON describing updated keys rnp_key_export — Export a key rnp_key_export_autocrypt — Export minimal key f ...
-
https://man.mtool.work/php/8.3/book.rnp.html
- usort — ユーザー定義の比較関数を使用して、配列を値でソートする | PHP 8.3 8588
- usort (PHP 4, PHP 5, PHP 7, PHP 8) usort — ユーザー定義の比較関数を使用して、配列を値でソートする 説明 function usort ( array &$array , callable $callback ): true 順序を決めるユーザー定義の比較関数により、 array をその値でソートします。 注意
... この関数は E_WARNING を発生させるようになりました。 例 例1 usort() の例 <?php function cmp ( $a , $b ) { if ( $a == $b ) { return 0 ; } return ( $a < $b ) ? - 1 : 1 ; } $a = array( 3 , 2 , 5 , 6 , 1 ); usort ( $a , "cmp" ); foreach ( $a as $key => $val ... ue ) { echo " $key : $value \n" ; } ?> 上の例の出力は以下となります。 0: 1 1: 2 2: 3 3: 5 4: 6 内部的な比較をさらにシンプルにするために、 宇宙 ... 船演算子を使うこともできます。 <?php function cmp ( $a , $b ) { return $a <=> $b ; } $a = array( 3 , 2 , 5 , 6 , 1 ); usort ( $a , "cmp" ); foreach ( $a as $key => $value ) { echo " $key : $val ...
-
https://man.mtool.work/php/8.3/function.usort.html
- array_find_key — コールバック関数を満たす最初の要素のキーを返す | PHP 8.3 8502
- array_find_key (PHP 8 >= 8.4.0) array_find_key — コールバック関数を満たす最初の要素のキーを返す 説明 function array_find_key ( array $array , callable $callback ): mixed array_find_key() は、指定された callback が true を返す array の最初の
... 索する array 。 callback 各要素を調べるコールバック関数。シグネチャは次の通りです: function callback ( mixed $value , mixed $key ): bool この関数が true を返すと、 その要素のキーが array_find_key() から返され、 以降の要素に対してはコールバックは呼び出 ... 値 callback が true を返す最初の要素のキーを返します。 一致する要素が見つからない場合、 null を返します。 例 例1 array_find_key() の例 <?php $array = [ 'a' => 'dog' , 'b' => 'cat' , 'c' => 'cow' , 'd' => 'duck' , 'e' => 'goose' , 'f' => 'elephant' ]; ... // 名前が4文字より長い最初の動物を探します。 var_dump ( array_find_key ( $array , function ( string $value ) { return strlen ( $value ) > 4 ; })); // 名前がfで始まる最初の動物を探します。 var_dump ( array_find_key ( $array , function ( stri ...
-
https://man.mtool.work/php/8.3/function.array-find-key.html
- 暗号化フィルタ | PHP 8.3 8321
- 暗号化フィルタ 暗号化フィルタは、ファイル/ストリーム を暗号化する場合に特に有用です。 mcrypt.* と mdecrypt.* 警告 この機能は PHP 7.1.0 で 非推奨 になります。この機能に頼らないことを強く推奨します。 mcrypt.* と mdecrypt.* は、libmcrypt を用い
... .modes_dir') モードモジュールのある場所 iv 必須 N/A 通常は 8, 16, あるいは 32 バイトのバイナリデータ。暗号の形式に依存する key 必須 N/A 通常は 8, 16, あるいは 32 バイトのバイナリデータ。暗号の形式に依存する 例1 Blowfish を用いた 暗号化/復号化 <?php ... //$key は、ここより以前で生成されているものとする $iv_size = mcrypt_get_iv_size ( MCRYPT_BLOWFISH , MCRYPT_MODE_CBC ); $iv = mcry ... static $KEY_SIZES = array( 'AES-128' => 16 , 'AES-192' => 24 , 'AES-256' => 32 ); protected static function key_size () { return self :: $KEY_SIZES [ 'AES-128' ]; } //default AES-128 public static function encryptFile ( $password , $input_stream , $ae ...
-
https://man.mtool.work/php/8.3/filters.encryption.html
- Ds\Map::put — Associates a key with a value | PHP 8.3 7953
- Ds\Map::put (PECL ds >= 1.0.0) Ds\Map::put — Associates a key with a value 説明 public function Ds\Map::put ( mixed $key , mixed $value ): void Associates a key with a value , overwriting a previous association if one exists. 注意 : Keys of
... ust be references to the same instance to be considered equal. 注意 : You can also use array syntax to associate values by key, eg. $map["key"] = $value . 警告 Be careful when using array syntax. Scalar keys will be coerced to integers by the engine ... . For example, $map["1"] will attempt to access int(1) , while $map->get("1") will correctly look up the string key. See Arrays . パラメータ key The key to associate the value with. value The value to be associated with the key. 戻り値 値 ... uality. */ private $value ; public function __construct ( $value ) { $this -> value = $value ; } public function hash () { return $this -> value ; } public function equals ( $obj ): bool { return $this -> value === $obj -> value ; } } $map = new \Ds\Ma ...
-
https://man.mtool.work/php/8.3/ds-map.put.html
- cubrid_schema — Get the requested schema information | PHP 8.3 7833
- cubrid_schema (PECL CUBRID >= 8.3.0) cubrid_schema — Get the requested schema information 説明 function cubrid_schema ( resource $conn_identifier , int $schema_type , string $class_name = ? , string $attr_name = ? ): array The cubrid_schema
... bute (can be used only with CUBRID_SCH_ATTR_PRIVILEGE ), set the attr_name . The result of the cubrid_schema() function is returned as a two-dimensional array (column (associative array) * row (numeric array)). The following tables shows types of schem ... a and the column structure of the result array to be returned based on the schema type. Result Composition of Each Type Schema Column Number Column Name Value CUBRID_SCH_CLASS 1 NAME ... NOT NULL 1:not null 7 SHARED 1:shared 8 UNIQUE 1:unique 9 DEFAULT 10 ATTR_ORDER base:1 11 CLASS_NAME 12 SOURCE_CLASS 13 IS_KEY 1:key CUBRID_SCH_METHOD / CUBRID_SCH_CLASS_METHOD 1 NAME 2 RET_DOMAIN 3 ARG_DOMAIN CUBRID_SCH_METHOD_FILE 1 METHOD_FILE CU ...
-
https://man.mtool.work/php/8.3/function.cubrid-schema.html
- Ds\Map::remove — Removes and returns a value by key | PHP 8.3 7763
- Ds\Map::remove (PECL ds >= 1.0.0) Ds\Map::remove — Removes and returns a value by key 説明 public function Ds\Map::remove ( mixed $key , mixed $default = ? ): mixed Removes and returns a value by key, or return an optional default value if
... the key could not be found. 注意 : Keys of type object are supported. If an object implements Ds\Hashable , equality will be deter ... s must be references to the same instance to be considered equal. 注意 : You can also use array syntax to access values by key, eg. $map["key"] . 警告 Be careful when using array syntax. Scalar keys will be coerced to integers by the engine. For exa ... will correctly look up the string key. See Arrays . パラメータ key The key to remove. default The optional default value, returned if the key could not be found. 戻り値 The value that was removed, or the default value if provided and the key could not ...
-
https://man.mtool.work/php/8.3/ds-map.remove.html
- array_key_first — 配列の最初のキーを得る | PHP 8.3 7678
- array_key_first (PHP 7 >= 7.3.0, PHP 8) array_key_first — 配列の最初のキーを得る 説明 function array_key_first ( array $array ): int | string | null 与えられた array の最初のキーを返します。 これは内部的な配列のポインタに影響を与えません。
... なる配列 戻り値 配列が空でなければ、 array の最初のキーを返します。 そうでなければ、 null を返します。 例 例1 基本的な array_key_first() 関数の使い方 <?php $array = [ 'a' => 1 , 'b' => 2 , 'c' => 3 ]; $firstKey = array_key_first ( $array ); var_dump ( ... $firstKey ); ?> 上の例の出力は以下となります。 string(1) "a" 注意 ヒント PHP 7.3.0 より前のバージョンでは、この関数の機能を実現する方 ... (! function_exists ( 'array_key_first' )) { function array_key_first (array $arr ) { foreach( $arr as $key => $unused ) { return $key ; } return NULL ; } } ?> 参考 array_first() - 配列の最初の値を得る array_key_last() - 配列の最後のキーを得る reset() ...
-
https://man.mtool.work/php/8.3/function.array-key-first.html