« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for myapp (0.001 sec.)
bindtextdomain — ドメインのパスを取得/設定する | PHP 8.3 12043
bindtextdomain (PHP 4, PHP 5, PHP 7, PHP 8) bindtextdomain — ドメインのパスを取得/設定する 説明 function bindtextdomain ( string $domain , ? string $directory = null ): string | false bindtextdomain() 関数は、ドメインへのパスを取得/設定しま ... より前のバージョンでは、現在設定されているディレクトリを取得できませんでした。 例 例1 bindtextdomain() の例 <?php $domain = 'myapp' ; echo bindtextdomain ( $domain , '/usr/share/myapp/locale' ); ?> 上の例の出力は以下となります。 /usr/share/myapp/locale ...
https://man.mtool.work/php/8.3/function.bindtextdomain.html
ResourceBundle::count — バンドル内の要素数を取得する | PHP 8.3 10101
ResourceBundle::count resourcebundle_count (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::count -- resourcebundle_count — バンドル内の要素数を取得する 説明 オブジェクト指向型 public function ResourceBundle::count (): int ... バンドル内の要素数を返します。 例 例1 resourcebundle_count() の例 <?php $r = resourcebundle_create ( 'es' , "/usr/share/data/myapp" ); echo resourcebundle_count ( $r ); ?> 例2 オブジェクト指向の例 <?php $r = new ResourceBundle ( 'es' , "/usr/share/data/ ...
https://man.mtool.work/php/8.3/resourcebundle.count.html
db2_get_option — ステートメントリソースあるいは接続リソースからオプションの値を... 9257
db2_get_option (PECL ibm_db2 >= 1.6.0) db2_get_option — ステートメントリソースあるいは接続リソースからオプションの値を取得する 説明 function db2_get_option ( resource $resource , string $option ): string | false ステートメントリソースあるい ... password , $options2 ); $val = db2_get_option ( $conn2 , 'acctstr' ); echo $val . "\n" ; $options3 = array( 'applname' => 'myapp' ); $conn3 = db2_connect ( $database , $user , $password , $options3 ); $val = db2_get_option ( $conn3 , 'applname' ); ech ... onn6 , $options6 , 1 ); $val = db2_get_option ( $conn6 , 'acctstr' ); echo $val . "\n" ; $options7 = array( 'applname' => 'myapp' ); $conn7 = db2_connect ( $database , $user , $password ); $rc = db2_set_option ( $conn7 , $options7 , 1 ); $val = db2_ge ... echo $val . "\n" ; ?> 上の例の出力は以下となります。 Client attributes passed through connection string: db2inst1 account myapp workstation Client attributes passed post-connection: db2inst1 account myapp workstation 参考 db2_connect() - データベース ...
https://man.mtool.work/php/8.3/function.db2-get-option.html
ResourceBundle::getErrorCode — バンドルの直近のエラーコードを取得する | PHP 8.3 9257
ResourceBundle::getErrorCode resourcebundle_get_error_code (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::getErrorCode -- resourcebundle_get_error_code — バンドルの直近のエラーコードを取得する 説明 オブジェクト指向型 pub ... ーコードを返します。 例 例1 resourcebundle_get_error_code() の例 <?php $r = resourcebundle_create ( 'es' , "/usr/share/data/myapp" ); echo $r [ 'somestring' ]; if( intl_is_failure ( resourcebundle_get_error_code ( $r ))) { report_error ( "Bundle error" ... ); } ?> 例2 オブジェクト指向の例 <?php $r = new ResourceBundle ( 'es' , "/usr/share/data/myapp" ); echo $r [ 'somestring' ]; if( intl_is_failure ( ResourceBundle :: getErrorCode ( $r ))) { report_error ( "Bundle error ...
https://man.mtool.work/php/8.3/resourcebundle.geterrorcode.html
ResourceBundle::getLocales — サポートするロケールを取得する | PHP 8.3 9257
ResourceBundle::getLocales resourcebundle_locales (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::getLocales -- resourcebundle_locales — サポートするロケールを取得する 説明 オブジェクト指向型 public static function Resour ... の一覧を返します。 失敗した場合は false を返します。 例 例1 resourcebundle_locales() の例 <?php $bundle = "/user/share/data/myapp" ; echo join ( PHP_EOL , resourcebundle_locales ( $bundle )); ?> 上の例の出力は、 たとえば以下のようになります。 es root 例 ... 2 オブジェクト指向の例 <?php $bundle = "/usr/share/data/myapp" ; $r = new ResourceBundle ( 'es' , $bundle ); echo join ( "\n" , $r -> getLocales ( $bundle )); ?> 上の例の出力は、 たとえ ...
https://man.mtool.work/php/8.3/resourcebundle.locales.html
ResourceBundle::create — リソースバンドルを作成する | PHP 8.3 8987
ResourceBundle::create resourcebundle_create ResourceBundle::__construct (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::create -- resourcebundle_create -- ResourceBundle::__construct — リソースバンドルを作成する 説明 オブ ... エラー時に null を返します。 例 例1 resourcebundle_create() の例 <?php $r = resourcebundle_create ( 'es' , "/usr/share/data/myapp" ); echo $r [ 'teststring' ]; ?> 例2 ResourceBundle::create() の例 <?php $r = ResourceBundle :: create ( 'es' , "/usr/shar ... e/data/myapp" ); echo $r [ 'teststring' ]; ?> 上の例の出力は以下となります。 ¡Hola, mundo! 参考 resourcebundle_get() - バンドルからデー ...
https://man.mtool.work/php/8.3/resourcebundle.create.html
ResourceBundle::getErrorMessage — バンドルの直近のエラーメッセージを取得する | ... 8987
ResourceBundle::getErrorMessage resourcebundle_get_error_message (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::getErrorMessage -- resourcebundle_get_error_message — バンドルの直近のエラーメッセージを取得する 説明 オブジ ... セージを返します。 例 例1 resourcebundle_get_error_message() の例 <?php $r = resourcebundle_create ( 'es' , "/usr/share/data/myapp" ); echo $r [ 'somestring' ]; if( intl_is_failure ( resourcebundle_get_error_code ( $r ))) { report_error ( "Bundle error: ... rcebundle_get_error_message ( $r )); } ?> 例2 オブジェクト指向の例 <?php $r = new ResourceBundle ( 'es' , "/usr/share/data/myapp" ); echo $r [ 'somestring' ]; if( intl_is_failure ( ResourceBundle :: getErrorCode ( $r ))) { report_error ( "Bundle error ...
https://man.mtool.work/php/8.3/resourcebundle.geterrormessage.html
ResourceBundle::get — バンドルからデータを取得する | PHP 8.3 8142
ResourceBundle::get resourcebundle_get (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::get -- resourcebundle_get — バンドルからデータを取得する 説明 オブジェクト指向型 public function ResourceBundle::get ( string | int $i ... をスローするようになりました。 例 例1 resourcebundle_get() の例 <?php $r = resourcebundle_create ( 'es' , "/usr/share/data/myapp" ); echo resourcebundle_get ( $r , 'somestring' ); ?> 例2 オブジェクト指向の例 <?php $r = new ResourceBundle ( 'es' , "/us ... r/share/data/myapp" ); echo $r -> get ( 'somestring' ); ?> 上の例の出力は以下となります。 ?Hola, mundo! 参考 resourcebundle_count() - バンドル ...
https://man.mtool.work/php/8.3/resourcebundle.get.html
Lightweight Directory Access Protocol | PHP 8.3 4799
Lightweight Directory Access Protocol はじめに LDAP とは Lightweight Directory Access Protocol を意味し、 "ディレクトリサーバー" にアクセスするために使用されるプロトコルです。 ディレクトリとは、 ツリー構造に情報を保持している特殊なデータベー ... ントリもあります。 ハードディスク内のサブディレクトリにあるファイルを参照するには、 次のようにすることでしょう。 /usr/local/myapp/docs スラッシュが参照の各部分を区分し、左から右に解釈されます。 LDAP においてこの完全に正しいファイル参照に等価なものは "区 ...
https://man.mtool.work/php/8.3/book.ldap.html
PREV 1 NEXT