« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 62 for location (0.002 sec.)
SoapClient::__setLocation — 使用するウェブサービスの場所を設定する | PHP 8.3 12397
SoapClient::__setLocation (PHP 5 >= 5.0.4, PHP 7, PHP 8) SoapClient::__setLocation — 使用するウェブサービスの場所を設定する 説明 public function SoapClient::__setLocation ( ? string $location = null ): ? string それ以降の SOAP リクエストで使 ... 用するエンドポイント URL を設定します。 これは、SoapClient を作成する際に location オプションを指定するのと同じことです。 注意 : このメソッドのコールは必須ではありません。SoapClient は、デフォルトで WSDL フ ... ァイルから取得したエンドポイントを使用します。 パラメータ location 新しいエンドポイント URL。 戻り値 それまでのエンドポイント URL を返します。 変更履歴 バージョン 説明 8.0.3 location は、nu ... llable になりました。 例 例1 SoapClient::__setLocation() の例 <?php $client = new SoapClient ( 'http://example.com/webservice.php?wsdl' ); $client -> __setLocation ( 'http://www ...
https://man.mtool.work/php/8.3/soapclient.setlocation.html
oci_fetch — クエリの次の行を内部バッファに取得する | PHP 8.3 11675
oci_fetch (PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0) oci_fetch — クエリの次の行を内部バッファに取得する 説明 function oci_fetch ( resource $statement ): bool クエリの次の行を内部バッファに取得します。このバッファへは oci_result() でアクセスで ... onn ) { $e = oci_error (); trigger_error ( htmlentities ( $e [ 'message' ], ENT_QUOTES ), E_USER_ERROR ); } $sql = 'SELECT location_id, city FROM locations WHERE location_id < 1200' ; $stid = oci_parse ( $conn , $sql ); // 実行前に定義しておく必要がありま ... す oci_define_by_name ( $stid , 'LOCATION_ID' , $locid ); oci_define_by_name ( $stid , 'CITY' , $city ); oci_execute ( $stid ); // フェッチするたびに、次の行のデータ ... が定義済みの変数に格納されます while ( oci_fetch ( $stid )) { echo "Location id $locid is $city <br>\n" ; } // 表示: // Location id 1000 is Roma // Location id 1100 is Venice oci_free_statement ( $st ...
https://man.mtool.work/php/8.3/function.oci-fetch.html
curl_escape — 指定した文字列を URL エンコードする | PHP 8.3 10764
curl_escape (PHP 5 >= 5.5.0, PHP 7, PHP 8) curl_escape — 指定した文字列を URL エンコードする 説明 function curl_escape ( CurlHandle $handle , string $string ): string | false この関数は、指定した文字列を » RFC 3986 に従って URL エンコードし ... 1 curl_escape() の例 <?php // curl ハンドルを作成します $ch = curl_init (); // GET パラメータ用の文字列をエスケープします $location = curl_escape ( $ch , 'Hofbräuhaus / München' ); // その結果: Hofbr%C3%A4uhaus%20%2F%20M%C3%BCnchen // エスケープした文字列 ... を使って URL を組み立てます $url = "http://example.com/add_location.php?location= { $location } " ; // その結果: http://example.com/add_location.php?location=Hofbr%C3%A4uhaus%20%2F%20M%C3%BC ...
https://man.mtool.work/php/8.3/function.curl-escape.html
SoapClient::__doRequest — SOAP リクエストを実行する | PHP 8.3 9594
SoapClient::__doRequest (PHP 5, PHP 7, PHP 8) SoapClient::__doRequest — SOAP リクエストを実行する 説明 public function SoapClient::__doRequest ( string $request , string $location , string $action , int $version , bool $oneWay = false , ? s ... 、もしくは他の目的のために サブクラスでこのメソッドをオーバーライドする事ができます。 パラメータ request XML SOAP リクエスト location リクエスト先の URL action SOAP アクション version SOAP バージョン oneWay oneWay に true を設定すると、このメソッドは何も返 ... しません。 レスポンスが不要なときにこれを使用します。 uriParserClass レスポンスで "Location" ヘッダを受信した場合に、 リダイレクト URI のパースに使用するクラス名。 null を指定すると、デフォルトの parse_url() ベース ... new SoapServer ( $wsdl , $options ); $this -> server -> addFunction ( 'Add' ); } public function __doRequest ( $request , $location , $action , $version , $one_way = false , ): ? string { ob_start (); $this -> server -> handle ( $request ); $response = o ...
https://man.mtool.work/php/8.3/soapclient.dorequest.html
sprintf — フォーマットされた文字列を返す | PHP 8.3 9146
sprintf (PHP 4, PHP 5, PHP 7, PHP 8) sprintf — フォーマットされた文字列を返す 説明 function sprintf ( string $format , mixed ...$values ): string フォーマット文字列 format に基づき生成された文字列を返します。 パラメータ format 0個以上のディ ... 生させていました。 例 例1 引数の交換 フォーマット文字列における引数の 番号付け/交換 をサポートしています。 <?php $num = 5 ; $location = 'tree' ; $format = 'There are %d monkeys in the %s' ; echo sprintf ( $format , $num , $location ); ?> 上の例の出力は以下 ... たとすると、 例2 間違った引数の順番 フォーマット文字列における引数の 番号付け/交換 をサポートしています。 <?php $num = 5 ; $location = 'tree' ; $format = 'The %s contains %d monkeys' ; echo sprintf ( $format , $num , $location ); ?> ここで、問題が発生しま ... 定するのが望ましいでしょう。 フォーマット文字列を次のように書き換えてみましょう。 例3 順序付きの置換指示子 <?php $num = 5 ; $location = 'tree' ; $format = 'The %2$s contains %1$d monkeys' ; echo sprintf ( $format , $num , $location ); ?> こうすることによる ...
https://man.mtool.work/php/8.3/function.sprintf.html
DateTimeZone::getLocation — タイムゾーンの位置情報を返す | PHP 8.3 8973
DateTimeZone::getLocation timezone_location_get (PHP 5 >= 5.3.0, PHP 7, PHP 8) DateTimeZone::getLocation -- timezone_location_get — タイムゾーンの位置情報を返す 説明 オブジェクト指向型 public function DateTimeZone::getLocation (): array | f ... alse 手続き型 function timezone_location_get ( DateTimeZone $object ): array | false タイムゾーンの位置情報 (国コード、緯度/経度、コメント) を返します。 パラメータ ... ジェクト 戻り値 タイムゾーンについての位置情報を含む配列を返します。失敗した場合に false を返します 例 例1 DateTimeZone::getLocation() の例 <?php $tz = new DateTimeZone ( "Asia/Jakarta" ); print_r ( $tz -> getLocation ()); print_r ( timezone_location_get ...
https://man.mtool.work/php/8.3/datetimezone.getlocation.html
cubrid_move_cursor — Move the cursor in the result | PHP 8.3 8785
cubrid_move_cursor (PECL CUBRID >= 8.3.0) cubrid_move_cursor — Move the cursor in the result 説明 function cubrid_move_cursor ( resource $req_identifier , int $offset , int $origin = CUBRID_CURSOR_CURRENT ): bool The cubrid_move_cursor() fu ... nction is used to move the current cursor location of req_identifier by the value set in the offset argument, to the direction set in the origin argument. To set the origin ... argument, you can use CUBRID_CURSOR_FIRST for the first part of the result, CUBRID_CURSOR_CURRENT for the current location of the result, or CUBRID_CURSOR_LAST for the last part of the result. If origin argument is not explicitly designated, the ... T as its default value. If the value of cursor movement range goes over the valid limit, then the cursor moves to the next location after the valid range for the cursor. For example, if you move 20 units in the result with the size of 10, then the cursor ...
https://man.mtool.work/php/8.3/function.cubrid-move-cursor.html
cubrid_current_oid — Get OID of the current cursor location | PHP 8.3 8698
cubrid_current_oid (PECL CUBRID >= 8.3.0) cubrid_current_oid — Get OID of the current cursor location 説明 function cubrid_current_oid ( resource $req_identifier ): string The cubrid_current_oid() function is used to get the oid of the curr ... ent cursor location from the query result. To use cubrid_current_oid() , the query executed must be a updatable query, and the CUBRID_INCLUDE_ ... on must be included during the query execution. パラメータ req_identifier Request identifier. 戻り値 Oid of current cursor location, when process is successful,失敗した場合に false を返します. 例 例1 cubrid_current_oid() example <?php $conn = cubrid_conn ...
https://man.mtool.work/php/8.3/function.cubrid-current-oid.html
oci_define_by_name — PHP の変数を、クエリで取得するカラムに関連づける | PHP 8.3 8611
oci_define_by_name (PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0) oci_define_by_name — PHP の変数を、クエリで取得するカラムに関連づける 説明 function oci_define_by_name ( resource $statement , string $column , mixed &$var , int $type = 0 ): bool ... onn ) { $e = oci_error (); trigger_error ( htmlentities ( $e [ 'message' ], ENT_QUOTES ), E_USER_ERROR ); } $sql = 'SELECT location_id, city FROM locations WHERE location_id < 1200' ; $stid = oci_parse ( $conn , $sql ); // 実行する前に定義しなければなりま ... せん oci_define_by_name ( $stid , 'LOCATION_ID' , $locid ); oci_define_by_name ( $stid , 'CITY' , $city ); oci_execute ( $stid ); // フェッチするたびに、さきほど定義し ... た変数に次の行のデータが格納されます while ( oci_fetch ( $stid )) { echo "Location id $locid is $city <br>\n" ; } // 表示: // Location id 1000 is Roma // Location id 1100 is Venice oci_free_statement ( $st ...
https://man.mtool.work/php/8.3/function.oci-define-by-name.html
timezone_location_get — DateTimeZone::getLocation() | PHP 8.3 8510
timezone_location_get (PHP 5 >= 5.3.0, PHP 7, PHP 8) timezone_location_get — DateTimeZone::getLocation() のエイリアス 説明 この関数は次の関数のエイリアスです。 DateTimeZone::getLocation() 他のマニュアルの関連ページ Linux JM timezone(3) Duck ...
https://man.mtool.work/php/8.3/function.timezone-location-get.html
PREV 1 2 3 4 5 6 7 NEXT