« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 12 for entropy (0.002 sec.)
uniqid — 時刻ベースの識別子を生成する | PHP 8.3 13265
uniqid (PHP 4, PHP 5, PHP 7, PHP 8) uniqid — 時刻ベースの識別子を生成する 説明 function uniqid ( string $prefix = "" , bool $more_entropy = false ): string マイクロ秒単位の現在時刻にもとづいた、識別子を取得します。 prefix が指定された場合は ... この関数は、戻り値の一意性を保証するものではありません。 なぜなら、値がマイクロ秒単位の現在時刻をベースとしていますし、 more_entropy を true にしたとしても、 わずかな量のランダムデータが付加されるだけだからです。 パラメータ prefix これが有用なのは、たとえ ... によってシステム時刻が巻き戻された場合にも起こりえます) 空の prefix を指定すると、 返される文字列は 13 文字となります。 more_entropy が true の場合は 23 文字となります。 more_entropy true にすると、 uniqid() は 戻り値の最後にさらに別のエントロピーを (線形 ... iqid = $prefix . uniqid(); * $uniqid = uniqid($prefix); */ printf ( "uniqid('php_'): %s\r\n" , uniqid ( 'php_' )); /* more_entropy パラメータも使えます。Cygwin などのシステムで * 必要となるでしょう。これは、uniqid() が生成する値をたとえば * 4b3405502422 ...
https://man.mtool.work/php/8.3/function.uniqid.html
EventUtil::sslRandPoll — Generates entropy by means of OpenSSL's RAND_poll() | ... 11408
EventUtil::sslRandPoll (PECL event >= 1.2.6-beta) EventUtil::sslRandPoll — Generates entropy by means of OpenSSL's RAND_poll() 説明 public static function EventUtil::sslRandPoll (): void Generates entropy by means of OpenSSL's RAND_poll() ( ...
https://man.mtool.work/php/8.3/eventutil.sslrandpoll.html
実行時設定 | PHP 8.3 10082
実行時設定 php.ini の設定により動作が変化します。 セッションの設定オプション 名前 デフォルト 変更可能 変更履歴 session.save_path "" INI_ALL session.name "PHPSESSID" INI_ALL session.save_handler "files" INI_ALL session.auto_start "0" INI_PER ... "0" INI_ALL PHP 7.1.0 で削除されました。 session.hash_bits_per_character "4" INI_ALL PHP 7.1.0 で削除されました。 session.entropy_file "" INI_ALL PHP 7.1.0 で削除されました。 session.entropy_length "0" INI_ALL PHP 7.1.0 で削除されました。 INI_* モードの ... デフォルトは空の文字列です。 警告 session.referer_check に空でない値を設定することは、 PHP 8.4.0 以降は非推奨です。 session.entropy_file string session.entropy_file は、 セッションIDを作成する際の別のエントロピーソースとして使用する 外部リソースへのパスを ... UNIX で利用可能な /dev/random または /dev/urandom があげられます。 この機能は、Windows でもサポートされています。 session.entropy_length にゼロ以外の値を設定すると、 PHP は Windows Random API をエントロピーソースとして使います。 注意 : PHP 7.1.0 で削除 ...
https://man.mtool.work/php/8.3/session.configuration.html
その他の変更 | PHP 8.3 8879
その他の変更 無効な文字列による算術演算の通知 数値形式ではない文字列を使って、数値を期待する演算 ( + - * / ** % << >> | & ^ や、これらを用いた代入演算) を行おうとしたときに、 E_WARNING あるいは E_NOTICE レベルのエラーが発生するようになりまし ... の生成 セッション ID の生成時にハッシュされないようになりました。 この変更に伴い、以下の INI 項目が削除されました。 session.entropy_file session.entropy_length session.hash_function session.hash_bits_per_character また、以下のふたつの INI 項目が新たに追加 ...
https://man.mtool.work/php/8.3/migration71.other-changes.html
mcrypt_create_iv — Creates an initialization vector (IV) from a random source |... 8472
mcrypt_create_iv (PHP 4, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0) mcrypt_create_iv — Creates an initialization vector (IV) from a random source 警告 この関数は PHP 7.1.0 で 非推奨 となり、 PHP 7.2.0 で 削除 されました。 この関数の代替とし ... value of this parameter was MCRYPT_DEV_RANDOM prior to PHP 5.6.0. 注意 : Note that MCRYPT_DEV_RANDOM may block until more entropy is available. 戻り値 Returns the initialization vector, or false on error. 例 例1 mcrypt_create_iv() Example <?php $size = ...
https://man.mtool.work/php/8.3/function.mcrypt-create-iv.html
The EventUtil class | PHP 8.3 8083
The EventUtil class (PECL event >= 1.5.0) はじめに EventUtil is a singleton with supplementary methods and constants. クラス概要 final class EventUtil { /* 定数 */ const int AF_INET = 2 ; const int AF_INET6 = 10 ; const int AF_UNSPEC = 0 ; ... t address to which the socket is bound EventUtil::setSocketOption — Sets socket options EventUtil::sslRandPoll — Generates entropy by means of OpenSSL's RAND_poll() 他のマニュアルの関連ページ Linux JM unix(7) Linux JM connect(2) DuckDB ORDER BY Clause L ...
https://man.mtool.work/php/8.3/class.eventutil.html
下位互換性のない変更点 | PHP 8.3 8083
下位互換性のない変更点 関数に渡す引数が少ない場合の挙動 これまでのバージョンでは、ユーザー定義の関数に渡す引数が足りない場合は warning が発生していました。PHP 7.1 以降では、warning ではなく Error 例外が発生するようになります。 この変更はユー ... の PHP 7.1 での出力は、このようになります。 string(11) " f" 削除された INI 項目 以下の INI 項目は、削除されました。 session.entropy_file session.entropy_length session.hash_function session.hash_bits_per_character 参照による代入で自動的に作られる配列の要 ...
https://man.mtool.work/php/8.3/migration71.incompatible.html
php.ini ディレクティブのリスト | PHP 8.3 7941
php.ini ディレクティブのリスト 以下のリストには、PHP の設定を行うための php.ini ディレクティブが 含まれます。 "変更可能" カラムは、そのディレクティブをいつどこで定義できるかを表すモードです。その意味については どこで設定を行うのか を参照くだ ... "0" INI_ALL PHP 7.1.0 で削除されました。 session.hash_bits_per_character "4" INI_ALL PHP 7.1.0 で削除されました。 session.entropy_file "" INI_ALL PHP 7.1.0 で削除されました。 session.entropy_length "0" INI_ALL PHP 7.1.0 で削除されました。 short_open_ta ...
https://man.mtool.work/php/8.3/ini.list.html
Event | PHP 8.3 7818
Event はじめに This is an extension to efficiently schedule I/O, time and signal based events using the best I/O notification mechanism available for specific platform. This is a port of libevent to the PHP infrastructure. 注意 : Note, Wind ... t address to which the socket is bound EventUtil::setSocketOption — Sets socket options EventUtil::sslRandPoll — Generates entropy by means of OpenSSL's RAND_poll() EventException — The EventException class 他のマニュアルの関連ページ Linux JM signal(7) ...
https://man.mtool.work/php/8.3/book.event.html
例 | PHP 8.3 7411
例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -> search ( "TTP" ); while (( $n = $bev -> input -> remove ... ructures, create an EventSslContext // Optionally create self-signed certificates function init_ssl () { // We *must* have entropy. Otherwise there's no point to crypto. if (! EventUtil :: sslRandPoll ()) { exit( "EventUtil::sslRandPoll failed\n" ); } $ ...
https://man.mtool.work/php/8.3/event.examples.html
PREV 1 2 NEXT