« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 38 for modes (0.004 sec.)
mcrypt_list_modes — サポートされる全てのモードの配列を取得する | PHP 8.3 14796
mcrypt_list_modes (PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0) mcrypt_list_modes — サポートされる全てのモードの配列を取得する 警告 この関数は PHP 7.1.0 で 非推奨 となり、PHP 7.2.0 で 削除 されました。この関数に頼らないことを ... 強く推奨します。 説明 function mcrypt_list_modes ( string $lib_dir = ini_get("mcrypt.modes_dir") ): array lib_dir にあるすべてのサポートするモードの一覧を取得します。 パラ ... メータ lib_dir すべてのモードが存在するディレクトリを指定します。 指定しない場合は、 php.ini ディレクティブ mcrypt.modes_dir を使用します。 戻り値 サポートするすべてのモードを配列で返します。 例 例1 mcrypt_list_modes() の例 <?php $modes = mcry ... pt_list_modes (); foreach ( $modes as $mode ) { echo " $mode <br />\n" ; } ?> 上の例は、デフォルトのモードディレクトリにあるサポートされ ...
https://man.mtool.work/php/8.3/function.mcrypt-list-modes.html
mcrypt_enc_get_modes_name — オープンされたモードの名前を返す | PHP 8.3 12311
mcrypt_enc_get_modes_name (PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0) mcrypt_enc_get_modes_name — オープンされたモードの名前を返す 警告 この関数は PHP 7.1.0 で 非推奨 となり、PHP 7.2.0 で 削除 されました。この関数に頼らない ... ことを強く推奨します。 説明 function mcrypt_enc_get_modes_name ( resource $td ): string この関数はモード名を返します。 パラメータ td 暗号化記述子。 戻り値 名前を表す文字列を返します ... 。 例 例1 mcrypt_enc_get_modes_name() の例 <?php $td = mcrypt_module_open ( MCRYPT_CAST_256 , '' , MCRYPT_MODE_CFB , '' ); echo mcrypt_enc_get_modes_name ... ( $td ). "\n" ; $td = mcrypt_module_open ( 'cast-256' , '' , 'ecb' , '' ); echo mcrypt_enc_get_modes_name ( $td ). "\n" ; ?> 上の例の出力は以下となります。 CFB ECB 他のマニュアルの関連ページ Django fetch-modes Django 6.1 Li ...
https://man.mtool.work/php/8.3/function.mcrypt-enc-get-modes-name.html
実行時設定 | PHP 8.3 9968
実行時設定 php.ini の設定により動作が変化します。 Mcrypt 設定オプション 名前 デフォルト 変更可能 変更履歴 mcrypt.algorithms_dir null INI_ALL mcrypt.modes_dir null INI_ALL INI_* モードの詳細および定義については どこで設定を行うのか を参照して ... イルするときに指定した場所で、通常は /usr/local/lib/libmcrypt です。 詳細は mcrypt_list_algorithms() を参照ください。 mcrypt.modes_dir string モードが格納されているディレクトリ。 デフォルトは libmcrypt をコンパイルするときに指定した場所で、通常は /usr/l ... ocal/lib/libmcrypt です。 詳細は mcrypt_list_modes() を参照ください。 他のマニュアルの関連ページ Django 6.1 Python hashlib Django fetch-modes ...
https://man.mtool.work/php/8.3/mcrypt.configuration.html
EvPeriodic::__construct — Constructs EvPeriodic watcher object | PHP 8.3 9748
EvPeriodic::__construct (PECL ev >= 0.2.0) EvPeriodic::__construct — Constructs EvPeriodic watcher object 説明 public function EvPeriodic::__construct ( float $offset , string $interval , callable $reschedule_cb , callable $callback , mixed ... lly. EvPeriodic::createStopped() method creates stopped periodic watcher. パラメータ offset See Periodic watcher operation modes interval See Periodic watcher operation modes reschedule_cb Reschedule callback. You can pass null . See Periodic watcher ... operation modes callback See Watcher callbacks . data Custom data associated with the watcher. priority Watcher priority 例 例1 Periodic t ... php $hourly = EvPeriodic ( 0 , 3600 , NULL , function () { echo "once per hour\n" ; }); ?> 参考 Periodic watcher operation modes EvTimer EvPeriodic::createStopped() - Create a stopped EvPeriodic watcher 他のマニュアルの関連ページ Linux JM fmod(3) Dock ...
https://man.mtool.work/php/8.3/evperiodic.construct.html
EvPeriodic::createStopped — Create a stopped EvPeriodic watcher | PHP 8.3 9544
EvPeriodic::createStopped (PECL ev >= 0.2.0) EvPeriodic::createStopped — Create a stopped EvPeriodic watcher 説明 final public static function EvPeriodic::createStopped ( float $offset , float $interval , callable $reschedule_cb , callable ... iodic::__construct() this method doesn't start the watcher automatically. パラメータ offset See Periodic watcher operation modes interval See Periodic watcher operation modes reschedule_cb Reschedule callback. You can pass null . See Periodic watcher ... operation modes callback See Watcher callbacks . data Custom data associated with the watcher. priority Watcher priority 戻り値 Returns Ev ...
https://man.mtool.work/php/8.3/evperiodic.createstopped.html
EvPeriodic::set — Configures the watcher | PHP 8.3 8899
EvPeriodic::set (PECL ev >= 0.2.0) EvPeriodic::set — Configures the watcher 説明 public function EvPeriodic::set ( float $offset , float $interval ): void (Re-)Configures EvPeriodic watcher パラメータ offset The same meaning as for EvPeriod ... ic::__construct() . See Periodic watcher operation modes interval The same meaning as for EvPeriodic::__construct() . See Periodic watcher operation modes 戻り値 値を返しません。 ...
https://man.mtool.work/php/8.3/evperiodic.set.html
bcround — 任意精度数値を丸める | PHP 8.3 8050
bcround (PHP 8 >= 8.4.0) bcround — 任意精度数値を丸める 説明 function bcround ( string $num , int $precision = 0 , RoundingMode $mode = RoundingMode::HalfAwayFromZero ): string num を、指定した precision (小数点以下の桁数)に丸めた値を返しま ... tring(3) "123" string(3) "120" string(3) "100" string(1) "0" 例3 bcround() で異なる mode を指定した例 <?php echo 'Rounding modes with 9.5' . PHP_EOL ; var_dump ( bcround ( '9.5' , 0 , RoundingMode :: HalfAwayFromZero )); var_dump ( bcround ( '9.5' , 0 ... : NegativeInfinity )); var_dump ( bcround ( '9.5' , 0 , RoundingMode :: PositiveInfinity )); echo PHP_EOL ; echo 'Rounding modes with 8.5' . PHP_EOL ; var_dump ( bcround ( '8.5' , 0 , RoundingMode :: HalfAwayFromZero )); var_dump ( bcround ( '8.5' , 0 ... inity )); var_dump ( bcround ( '8.5' , 0 , RoundingMode :: PositiveInfinity )); ?> 上の例の出力は以下となります。 Rounding modes with 9.5 string(2) "10" string(1) "9" string(2) "10" string(1) "9" string(1) "9" string(2) "10" string(1) "9" string(2) "1 ...
https://man.mtool.work/php/8.3/function.bcround.html
round — 浮動小数点数を丸める | PHP 8.3 8050
round (PHP 4, PHP 5, PHP 7, PHP 8) round — 浮動小数点数を丸める 説明 function round ( int | float $num , int $precision = 0 , int | RoundingMode $mode = RoundingMode::HalfAwayFromZero ): float num を、指定した precision (小数点以下の桁数)に ... ます。 float(135.79) float(135.79) float(135.8) float(136) float(140) float(100) float(0) 例3 mode の例 <?php echo 'Rounding modes with 9.5' . PHP_EOL ; var_dump ( round ( 9.5 , 0 , PHP_ROUND_HALF_UP )); var_dump ( round ( 9.5 , 0 , PHP_ROUND_HALF_DOWN ... ound ( 9.5 , 0 , PHP_ROUND_HALF_EVEN )); var_dump ( round ( 9.5 , 0 , PHP_ROUND_HALF_ODD )); echo PHP_EOL ; echo 'Rounding modes with 8.5' . PHP_EOL ; var_dump ( round ( 8.5 , 0 , PHP_ROUND_HALF_UP )); var_dump ( round ( 8.5 , 0 , PHP_ROUND_HALF_DOWN ... 0 , PHP_ROUND_HALF_EVEN )); var_dump ( round ( 8.5 , 0 , PHP_ROUND_HALF_ODD )); ?> 上の例の出力は以下となります。 Rounding modes with 9.5 float(10) float(9) float(10) float(9) Rounding modes with 8.5 float(9) float(8) float(8) float(9) 例4 桁数を指定し ...
https://man.mtool.work/php/8.3/function.round.html
mcrypt_module_open — 使用するアルゴリズムおよびモードのモジュールをオープンする... 7909
mcrypt_module_open (PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0) mcrypt_module_open — 使用するアルゴリズムおよびモードのモジュールをオープンする 警告 この関数は PHP 7.1.0 で 非推奨 となり、PHP 7.2.0 で 削除 されました。この関 ... トリ名を指定した場合には、これが使用されます。 これらの一つに空の文字列( "" )を指定した場合、 php.ini ディレクティブ mcrypt.modes_dir に設定された値を使います。 これらが設定されていない場合、libmcrypt をコンパイルした際の デフォルトのディレクトリ (通常 ... す。 例 例1 mcrypt_module_open() の例 <?php $td = mcrypt_module_open ( MCRYPT_DES , '' , MCRYPT_MODE_ECB , '/usr/lib/mcrypt-modes' ); $td = mcrypt_module_open ( 'rijndael-256' , '' , 'ofb' , '' ); ?> 上の例の最初の行では、デフォルトのディレクトリから D ... ES 暗号化を、 そして /usr/lib/mcrypt-modes から ECB モードの オープンを試みます。2 行目の例では暗号化形式とモードを文字列で 指定しています。これは、libmcrypt 2.4.x あ ...
https://man.mtool.work/php/8.3/function.mcrypt-module-open.html
BcMath\Number::round — 任意精度数値を丸める | PHP 8.3 7830
BcMath\Number::round (PHP 8 >= 8.4.0) BcMath\Number::round — 任意精度数値を丸める 説明 public function BcMath\Number::round ( int $precision = 0 , RoundingMode $mode = RoundingMode::HalfAwayFromZero ): BcMath\Number $this を、指定した preci ... ["value"]=> string(1) "0" ["scale"]=> int(0) } 例3 BcMath\Number::round() で異なる mode を指定した例 <?php echo 'Rounding modes with 9.5' . PHP_EOL ; $number = new BcMath\Number ( '9.5' ); var_dump ( $number -> round ( 0 , RoundingMode :: HalfAwayFro ... ingMode :: NegativeInfinity ), $number -> round ( 0 , RoundingMode :: PositiveInfinity ), ); echo PHP_EOL ; echo 'Rounding modes with 8.5' . PHP_EOL ; $number = new BcMath\Number ( '8.5' ); var_dump ( $number -> round ( 0 , RoundingMode :: HalfAwayFro ... gativeInfinity ), $number -> round ( 0 , RoundingMode :: PositiveInfinity ), ); ?> 上の例の出力は以下となります。 Rounding modes with 9.5 object(BcMath\Number)#3 (2) { ["value"]=> string(2) "10" ["scale"]=> int(0) } object(BcMath\Number)#5 (2) { ["val ...
https://man.mtool.work/php/8.3/bcmath-number.round.html
PREV 1 2 3 4 NEXT