« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 15 for Correctly (0.001 sec.)
hash_equals — タイミング攻撃に対しても安全な文字列比較 | PHP 8.3 13149
hash_equals (PHP 5 >= 5.6.0, PHP 7, PHP 8) hash_equals — タイミング攻撃に対しても安全な文字列比較 説明 function hash_equals ( #[ \SensitiveParameter ] string $known_string , #[ \SensitiveParameter ] string $user_string ): bool 実行している間 ... 3c5237cd27b57b5f327' ; if ( hash_equals ( hash_hmac ( 'sha256' , $value , $secretKey ), $signature )) { echo "The value is correctly signed." , PHP_EOL ; } else { echo "The value was tampered with." , PHP_EOL ; } ?> 上の例の出力は以下となります。 The valu ... e is correctly signed. 注意 注意 : 指定するパラメータは両方、長さが等しくなければいけません。 違う長さの文字列が指定されると、この関数はす ...
https://man.mtool.work/php/8.3/function.hash-equals.html
EvLoop::now — Returns the current "event loop time" | PHP 8.3 10832
EvLoop::now (PECL ev >= 0.2.0) EvLoop::now — Returns the current "event loop time" 説明 public function EvLoop::now (): float Returns the current "event loop time", which is the time the event loop received events and started processing the ... and this is also the base time used for relative timers. You can treat it as the timestamp of the event occurring(or more correctly, libev finding out about it). パラメータ この関数にはパラメータはありません。 戻り値 Returns time of the event loop in (fr ...
https://man.mtool.work/php/8.3/evloop.now.html
MongoDB\BSON\Int64::jsonSerialize — Returns a representation that can be conver... 10362
MongoDB\BSON\Int64::jsonSerialize (mongodb >=1.5.0) MongoDB\BSON\Int64::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\Int64::jsonSerialize (): mixed パラメータ この関数にはパラ ... driver-specific legacy extended JSON format ( MongoDB\BSON\toJSON() ), in order to ensure that the 64-bit integer value is correctly represented on 32-bit platforms. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsin ...
https://man.mtool.work/php/8.3/mongodb-bson-int64.jsonserialize.html
Ds\Map::get — Returns the value for a given key | PHP 8.3 9439
Ds\Map::get (PECL ds >= 1.0.0) Ds\Map::get — Returns the value for a given key 説明 public function Ds\Map::get ( mixed $key , mixed $default = ? ): mixed Returns the value for a given key, or an optional default value if the key could not ... ill 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 look up. default The optional default value, returned if th ...
https://man.mtool.work/php/8.3/ds-map.get.html
Ds\Map::remove — Removes and returns a value by key | PHP 8.3 9439
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 ... ill 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 remove. default The optional default value, returned if the ...
https://man.mtool.work/php/8.3/ds-map.remove.html
Yaconf::__debug_info — Inspect how a configuration value is stored | PHP 8.3 9439
Yaconf::__debug_info (PECL yaconf >= 1.1.0) Yaconf::__debug_info — Inspect how a configuration value is stored 説明 public static function Yaconf::__debug_info ( string $name ): ? array Returns debugging information about the value stored u ... e block. 警告 This method exists solely for Yaconf's own test suite, which uses it to verify that the extension is working correctly. Do not use it in production code, and do not rely on the format of its output: the returned array may change at any time. ...
https://man.mtool.work/php/8.3/yaconf.debug-info.html
opendir — ディレクトリハンドルをオープンする | PHP 8.3 8516
opendir (PHP 4, PHP 5, PHP 7, PHP 8) opendir — ディレクトリハンドルをオープンする 説明 function opendir ( string $directory , ? resource $context = null ): resource | false ディレクトリハンドルをオープンします。このハンドルは、この後 closed ... ためには、 比較演算子 === を使う必要があります。 <?php if ( $handle = opendir ( '/path/to/files' )) { echo "Entries:\n" ; /* Correctly handling directory entries that may be considered falsy */ while ( false !== ( $entry = readdir ( $handle ))) { if ( $entr ...
https://man.mtool.work/php/8.3/function.opendir.html
Ds\Map::put — Associates a key with a value | PHP 8.3 8046
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 ... ill 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 ...
https://man.mtool.work/php/8.3/ds-map.put.html
EventHttp::__construct — Constructs EventHttp object (the HTTP server) | PHP 8.... 8046
EventHttp::__construct (PECL event >= 1.2.6-beta) EventHttp::__construct — Constructs EventHttp object (the HTTP server) 説明 public function EventHttp::__construct ( EventBase $base , EventSslContext $ctx = null ) Constructs the HTTP serve ... vent base. ctx EventSslContext class object. Turns plain HTTP server into HTTPS server. It means that if ctx is configured correctly, then the underlying buffer events will be based on OpenSSL sockets. Thus, all traffic will pass through the SSL or TLS. 注 ...
https://man.mtool.work/php/8.3/eventhttp.construct.html
Parle pattern matching | PHP 8.3 8046
Parle pattern matching Parle supports regex matching similar to flex. Also supported are the following POSIX character sets: [:alnum:] , [:alpha:] , [:blank:] , [:cntrl:] , [:digit:] , [:graph:] , [:lower:] , [:print:] , [:punct:] , [:space ... ently not enabled by default, pass --enable-parle-utf32 to make them available. A particular encoding can be mapped with a correctly constructed regex. For example, to match the EURO symbol encoded in UTF-8, the regular expression [\xe2][\x82][\xac] can b ...
https://man.mtool.work/php/8.3/parle.pattern.matching.html
PREV 1 2 NEXT