« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 120 for Classes (0.001 sec.)
spl_classes — 利用可能な SPL クラスを返す | PHP 8.3 13039
spl_classes (PHP 5, PHP 7, PHP 8) spl_classes — 利用可能な SPL クラスを返す 説明 function spl_classes (): array この関数は現在利用可能な SPL クラスを配列で返します。 パラメータ この関数にはパラメータはありません。 戻り値 現在利用可能な SPL ... クラスを配列で返します。 例 例1 spl_classes() の例 <?php print_r ( spl_classes ()); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [ArrayObject] => ArrayO ...
https://man.mtool.work/php/8.3/function.spl-classes.html
get_declared_classes — 定義済のクラスの名前を配列として返す | PHP 8.3 11785
get_declared_classes (PHP 4, PHP 5, PHP 7, PHP 8) get_declared_classes — 定義済のクラスの名前を配列として返す 説明 function get_declared_classes (): array 定義済のクラスの名前を配列として返します。 パラメータ この関数にはパラメータはありませ ... いては付録の 定義済みクラス のセクションを 参照ください。 変更履歴 バージョン 説明 7.4.0 以前のバージョンでは、 get_declared_classes() 関数は 子クラスの前に親クラスを常に返していました。 このバージョンからは、そうした動きはなくなりました。 この関数の戻り値 ... について、特定の順序は保証されません。 例 例1 get_declared_classes() の例 <?php print_r ( get_declared_classes ()); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [0] => stdClas ...
https://man.mtool.work/php/8.3/function.get-declared-classes.html
Parle pattern matching | PHP 8.3 9773
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 ... :] , [:upper:] , [:xdigit:] . The Unicode character classes are currently not enabled by default, pass --enable-parle-utf32 to make them available. A particular encoding can be mappe ... specified by a three-digit octal code. \xhex Character specified by a hex code. \cchar Named control character. Character classes Character classes Sequence Description [...] A single character listed or contained within a listed range. Ranges can be c ... ace character, [^ \t\n\r\f\v] . \w Word character, [a-zA-Z0-9_] . \W Non-word character, [^a-zA-Z0-9_] . Unicode character classes Unicode character classes Sequence Description \p{C} Other. \p{Cc} Other, control. \p{Cf} Other, format. \p{Co} Other, pri ...
https://man.mtool.work/php/8.3/parle.pattern.matching.html
ベンダー固有のモジュール | PHP 8.3 9400
ベンダー固有のモジュール CUBRID インストール/設定 定義済み定数 例 CUBRID 関数 CUBRID MySQL 互換関数 CUBRID 廃止されたエイリアスと関数 dBase インストール/設定 定義済み定数 dBase 関数 Firebird/InterBase インストール/設定 定義済み定数 Firebird ... tecture and Internals — Explains the driver architecture, and special features Security MongoDB\Driver — MongoDB Extension Classes MongoDB\BSON — MongoDB BSON Classes and Functions MongoDB\Driver\Monitoring — Monitoring classes and subscriber functions ... MongoDB\Driver\Exception — Exception classes MySQL — MySQL ドライバおよびプラグイン MySQL 用 PHP ドライバの概要 MySQLi — MySQL 改良版拡張モジュール Mysql_xdevapi MySQL ...
https://man.mtool.work/php/8.3/refs.database.vendors.html
Windows で PHP をコマンドラインで動かす | PHP 8.3 9276
Windows で PHP をコマンドラインで動かす この節では、PHP を Windows のコマンドラインで実行するときの注意点やヒントを説明します。 注意 : まず最初に 手動でのインストールの手順 を読みましょう! 特に Windows に手を加えなくても、PHP をコマンドライ ... 。これらは手動で行うこともできます。 例1 Registry changes Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.php] @="phpfile" "Content Type"="application/php" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile] @="PHP Script" "EditFlags ... "=dword:00000000 "BrowserFlags"=dword:00000008 "AlwaysShowExt"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile\DefaultIcon] @="C:\\php\\php-win.exe,0" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile\shell] @="Open" [HKEY_LOCAL_M ... ACHINE\SOFTWARE\Classes\phpfile\shell\Open] @="&Open" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile\shell\Open\command] @="\"C:\\php\\php.exe\" -f ...
https://man.mtool.work/php/8.3/install.windows.commandline.html
Yaf_Loader クラス | PHP 8.3 8767
Yaf_Loader クラス (Yaf >=1.0.0) はじめに Yaf_Loader は、 Yaf 用に包括的なオートローディング機能を導入します。 最初に Yaf_Application のインスタンスを取得するときに、 Yaf_Loader はシングルトンのインスタンスを作って それを spl_autoload に登録 ... す。 Yaf_Loader は MVC クラスを読み込むようにも作られています。 次のような規約に従います。 例5 MVC クラスのロード Controller Classes => // APPLICATION_PATH/controllers/ Model Classes => // APPLICATION_PATH/models/ Plugin Classes => // APPLICATION_PATH/plu ... yaf.name_suffix の値を変更します) で、MVC クラスであるかそうでないかを判断します。 例6 MVC クラスかどうかの区別 Controller Classes => // ***Controller Model Classes => // ***Model Plugin Classes => // ***Plugin 例を示します。 例7 MVC のロード class Inde ...
https://man.mtool.work/php/8.3/class.yaf-loader.html
uopz_compose — Compose a class | PHP 8.3 8767
uopz_compose (PECL uopz 1, PECL uopz 2) uopz_compose — Compose a class 警告 この関数は、PECL uopz 5.0.0 で 削除 されました。 説明 function uopz_compose ( string $name , array $classes , array $methods = ? , array $properties = ? , int $flag ... s = ? ): void Creates a new class of the given name that implements, extends, or uses all of the provided classes パラメータ name A legal class name classes An array of class, interface and trait names methods An associative array of me ...
https://man.mtool.work/php/8.3/function.uopz-compose.html
__PHP_Incomplete_Class クラス | PHP 8.3 8022
__PHP_Incomplete_Class クラス (PHP 4 >=4.0.1, PHP 5, PHP 7, PHP 8) はじめに 未定義のクラスや、 unserialize() の options 配列の allowed_classes のリストに入っていなかったクラスを アンシリアライズしようとした場合に、 unserialize() が生成します ... $myObject ); // unserializes all objects into __PHP_Incomplete_Class objects $disallowed = unserialize ( $foo , [ "allowed_classes" => false ]); var_dump ( $disallowed ); // unserializes all objects into __PHP_Incomplete_Class objects except those of My ... Class2 and MyClass3 $disallowed2 = unserialize ( $foo , [ "allowed_classes" => [ "MyClass2" , "MyClass3" ]]); var_dump ( $disallowed2 ); // unserializes undefined class into __PHP_Incomplete_Class ...
https://man.mtool.work/php/8.3/class.php-incomplete-class.html
MongoDB Exception Class Tree | PHP 8.3 8022
MongoDB Exception Class Tree The class hierarchy for MongoDB exceptions is modeled after that of the SPL Exceptions . Base classes extend their SPL counterpart and all exception classes in the extension implement the MongoDB\Driver\Exceptio ...
https://man.mtool.work/php/8.3/mongodb.exceptions.tree.html
unserialize — 保存用表現から PHP の値を生成する | PHP 8.3 7761
unserialize (PHP 4, PHP 5, PHP 7, PHP 8) unserialize — 保存用表現から PHP の値を生成する 説明 function unserialize ( string $data , array $options = [] ): mixed unserialize() は、シリアル化された変数を PHP の値に戻す変換(アンシリアライズ)を ... 行います。 警告 options の allowed_classes の値にかかわらず、 ユーザーからの入力をそのまま unserialize() に渡してはいけません。 アンシリアライズの時には、オブジェクト ... _Class がインスタンス化されます。 options unserialize() に連想配列で渡すオプション。 有効なオプション 名前 型 説明 allowed_classes array | bool 受け付けるクラス名の array を指定します。あらゆるクラスを拒否する場合は false 、あらゆるクラスを受け付ける場合 ... トは、 アンシリアライズを実行するハンドラで Throwable をスローする可能性があります。 PHP 8.4.0 以降では、 options の allowed_classes 要素が クラス名の array でも bool でもない場合、 unserialize() は TypeError と ValueError をスローします。 変更履歴 バージ ...
https://man.mtool.work/php/8.3/function.unserialize.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT