« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 32 for Getting (0.006 sec.)
操作モードを返す 13935
« RegexIterator::getFlags RegexIterator::getPregFlags » PHP Manual RegexIterator 操作モードを返す 検索 RegexIterator::getMode (PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::getMode — 操作モードを返す 説明 public function RegexIterator::getMo ... /' , RegexIterator :: GET_MATCH ); $mode = $regexIterator -> getMode (); if ( $mode & RegexIterator :: GET_MATCH ) { echo 'Getting the match for each item.' ; } elseif ( $mode & RegexIterator :: ALL_MATCHES ) { echo 'Getting all matches for each item.' ... ; } elseif ( $mode & RegexIterator ::MATCH) { echo 'Getting each item if it matches.' ; } elseif ( $mode & RegexIterator :: SPLIT ) { echo 'Getting split pieces of each.' ; } ?> 上の ... 例の出力は以下となります。 Getting the match for each item. 参考 RegexIterator::setMode() - 操作モードを設定する 関連キーワード: RegexIterator 操作 モード ge ...
https://man.mtool.work/php/8.3/regexiterator.getmode.html
操作モードを返す 13935
« RegexIterator::getFlags RegexIterator::getPregFlags » PHP Manual RegexIterator 操作モードを返す 検索 RegexIterator::getMode (PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::getMode — 操作モードを返す 説明 public function RegexIterator::getMo ... /' , RegexIterator :: GET_MATCH ); $mode = $regexIterator -> getMode (); if ( $mode & RegexIterator :: GET_MATCH ) { echo 'Getting the match for each item.' ; } elseif ( $mode & RegexIterator :: ALL_MATCHES ) { echo 'Getting all matches for each item.' ... ; } elseif ( $mode & RegexIterator ::MATCH) { echo 'Getting each item if it matches.' ; } elseif ( $mode & RegexIterator :: SPLIT ) { echo 'Getting split pieces of each.' ; } ?> 上の ... 例の出力は以下となります。 Getting the match for each item. 参考 RegexIterator::setMode() - 操作モードを設定する 関連キーワード: RegexIterator 操作 モード ge ...
https://man.mtool.work/php/8.3/regexiterator.getmode.html
Extracts the data from a tagged attribute 9037
« radius_get_attr radius_get_tagged_attr_tag » PHP Manual Radius 関数 Extracts the data from a tagged attribute 検索 radius_get_tagged_attr_data (PECL radius >= 1.3.0) radius_get_tagged_attr_data — Extracts the data from a tagged attribute ... t_tagged_attr_data() example <?php while ( $resa = radius_get_attr ( $res )) { if (! is_array ( $resa )) { printf ( "Error getting attribute: %s\n" , radius_strerror ( $res )); exit; } $attr = $resa [ 'attr' ]; $data = $resa [ 'data' ]; $tag = radius_ge ... d attribute 関連キーワード: tagged radius attr attribute Extracts resa printf Radius returned return decoded example while getting strerror exit 参考 属性 ...
https://man.mtool.work/php/8.3/function.radius-get-tagged-attr-data.html
Extracts the tag from a tagged attribute 9037
« radius_get_tagged_attr_data radius_get_vendor_attr » PHP Manual Radius 関数 Extracts the tag from a tagged attribute 検索 radius_get_tagged_attr_tag (PECL radius >= 1.3.0) radius_get_tagged_attr_tag — Extracts the tag from a tagged attrib ... et_tagged_attr_tag() example <?php while ( $resa = radius_get_attr ( $res )) { if (! is_array ( $resa )) { printf ( "Error getting attribute: %s\n" , radius_strerror ( $res )); exit; } $attr = $resa [ 'attr' ]; $data = $resa [ 'data' ]; $tag = radius_ge ... bute 関連キーワード: tagged radius attr attribute Extracts resa printf vendor Radius returned return decoded example while getting strerror exit 参考 属性 ...
https://man.mtool.work/php/8.3/function.radius-get-tagged-attr-tag.html
Set a callback for collecting task status 8828
« GearmanClient::setOptions GearmanClient::setTimeout » PHP Manual GearmanClient Set a callback for collecting task status 検索 GearmanClient::setStatusCallback (PECL gearman >= 0.5.0) GearmanClient::setStatusCallback — Set a callback for c ... tatus 説明 public function GearmanClient::setStatusCallback ( callable $callback ): bool Sets a callback function used for getting updated status information from a worker. 注意 : このコールバックは、このメソッドを呼び出した後に追加されたタスク(例: Gea ... status collecting setStatusCallback worker タスク context バック addTask setOptions setTimeout gearman callable Sets used getting information Gearman return GearmanTask mixed 成功 参考 ...
https://man.mtool.work/php/8.3/gearmanclient.setstatuscallback.html
オーバーロード 8167
« 無名クラス オブジェクトの反復処理 » PHP Manual クラスとオブジェクト オーバーロード 検索 オーバーロード PHP におけるオーバーロード機能は、 プロパティやメソッドを動的に 作成する ための手法です。 これらの動的エンティティは、マジックメソッドを ... { echo "Setting ' $name ' to ' $value '\n" ; $this -> data [ $name ] = $value ; } public function __get ( $name ) { echo "Getting ' $name '\n" ; if ( array_key_exists ( $name , $this -> data )) { return $this -> data [ $name ]; } $trace = debug_backtra ... ide of class, so __get() is used...\n" ; echo $obj -> hidden . "\n" ; ?> 上の例の出力は以下となります。 Setting 'a' to '1' Getting 'a' 1 Is 'a' set? bool(true) Unsetting 'a' Is 'a' set? bool(false) 1 Let's experiment with the private property named 'hid ... ivates are visible inside the class, so __get() not used... 2 Privates not visible outside of class, so __get() is used... Getting 'hidden' Notice: Undefined property via __get(): hidden in script on line 71 in script on line 27 メソッドのオーバーロード ...
https://man.mtool.work/php/8.3/language.oop5.overloading.html
オーバーロード 8167
« 無名クラス オブジェクトの反復処理 » PHP Manual クラスとオブジェクト オーバーロード 検索 オーバーロード PHP におけるオーバーロード機能は、 プロパティやメソッドを動的に 作成する ための手法です。 これらの動的エンティティは、マジックメソッドを ... { echo "Setting ' $name ' to ' $value '\n" ; $this -> data [ $name ] = $value ; } public function __get ( $name ) { echo "Getting ' $name '\n" ; if ( array_key_exists ( $name , $this -> data )) { return $this -> data [ $name ]; } $trace = debug_backtra ... ide of class, so __get() is used...\n" ; echo $obj -> hidden . "\n" ; ?> 上の例の出力は以下となります。 Setting 'a' to '1' Getting 'a' 1 Is 'a' set? bool(true) Unsetting 'a' Is 'a' set? bool(false) 1 Let's experiment with the private property named 'hid ... ivates are visible inside the class, so __get() not used... 2 Privates not visible outside of class, so __get() is used... Getting 'hidden' Notice: Undefined property via __get(): hidden in script on line 71 in script on line 27 メソッドのオーバーロード ...
https://man.mtool.work/php/8.3/language.oop5.overloading.html
Request Injection Attacks 7845
« Security Script Injection Attacks » PHP Manual Security Request Injection Attacks 検索 Request Injection Attacks If you are passing $_GET (or $_POST ) parameters to your queries, make sure that they are cast to strings first. Users can in ... ion creates the query $q = new \MongoDB\Driver\Query( [ 'username' => $_GET['username'] ]) . Someone could subvert this by getting http://www.example.com?username[$ne]=foo , which PHP will magically turn into an associative array, turning your query int ...
https://man.mtool.work/php/8.3/mongodb.security.request_injection.html
実行時設定 7845
« インストール手順 定義済み定数 » PHP Manual インストール/設定 実行時設定 検索 実行時設定 php.ini の設定により動作が変化します。 Swoole 設定オプション 名前 デフォルト 変更可能 変更履歴 swoole.enable_library On INI_ALL swoole.enable_fiber_mo ... some coroutines from consuming CPU time for too long in a tight loop (10ms of CPU time), preventing other coroutines from getting scheduled. swoole.display_errors string Enable/disable displaying Swoole error messages. swoole.use_shortname string Enabl ...
https://man.mtool.work/php/8.3/swoole.configuration.html
Request Injection Attacks 7845
« Security Script Injection Attacks » PHP Manual Security Request Injection Attacks 検索 Request Injection Attacks If you are passing $_GET (or $_POST ) parameters to your queries, make sure that they are cast to strings first. Users can in ... ion creates the query $q = new \MongoDB\Driver\Query( [ 'username' => $_GET['username'] ]) . Someone could subvert this by getting http://www.example.com?username[$ne]=foo , which PHP will magically turn into an associative array, turning your query int ...
https://man.mtool.work/php/8.3/mongodb.security.request_injection.html
PREV 1 2 3 4 NEXT