Results of 1 - 10 of about 331 for Length (0.003 sec.)
- mysqli_result::$lengths — 結果セットにおける現在の行のカラムの長さを返す | PHP ... 9505
- mysqli_result::$lengths mysqli_fetch_lengths (PHP 5, PHP 7, PHP 8) mysqli_result::$lengths -- mysqli_fetch_lengths — 結果セットにおける現在の行のカラムの長さを返す 説明 オブジェクト指向型 ? array $mysqli_result->lengths ; 手続き型 function
... mysqli_fetch_lengths ( mysqli_result $result ): array | false mysqli_fetch_lengths() 関数は、 result が指す結果セットの現在の行について、すべて ... 各カラムのサイズ(終端の null 文字は含みません)を表す整数の配列を 返します。エラー時には false を返します。 mysqli_fetch_lengths() は、結果セットの現在の行に ついてのみ有効です。mysqli_fetch_row/array/object をコールする前、あるいは 結果のすべての行を ... esult = $mysqli -> query ( $query )) { $row = $result -> fetch_row (); /* カラムの長さを表示します */ foreach ( $result -> lengths as $i => $val ) { printf ( "Field %2d has Length %2d\n" , $i + 1 , $val ); } $result -> close (); } /* 接続を閉じます */ ...
-
https://man.mtool.work/php/8.3/mysqli-result.lengths.html
- Ds\Map::slice — Returns a subset of the map defined by a starting index and len... 8105
- Ds\Map::slice (PECL ds >= 1.0.0) Ds\Map::slice — Returns a subset of the map defined by a starting index and length 説明 public function Ds\Map::slice ( int $index , int $length = ? ): Ds\Map Returns a subset of the map defined by a startin
... g index and length . パラメータ index The index at which the range starts. If positive, the range will start at that index in the map. If neg ... ative, the range will start that far from the end. length If a length is given and is positive, the resulting map will have up to that many pairs in it. If a length is given and is ... negative, the range will stop that many pairs from the end. If the length results in an overflow, only pairs up to the end of the map will be included. If a length is not provided, the resulting m ...
-
https://man.mtool.work/php/8.3/ds-map.slice.html
- iconv_substr — 文字列の一部を切り出す | PHP 8.3 7547
- iconv_substr (PHP 5, PHP 7, PHP 8) iconv_substr — 文字列の一部を切り出す 説明 function iconv_substr ( string $string , int $offset , ? int $length = null , ? string $encoding = null ): string | false 文字列 string の、 offset と length で指
... 数えて)から切り出します。 offset が負の場合、 iconv_substr() は string の最後から数えて offset 番目の文字から切り出します。 length length が指定され、かつ正である場合、 返される文字列は offset から数えて最大 length 文字数分となります ( string の長さに依 ... 存します)。 もし負の length が渡された場合に iconv_substr() が切り出す文字列は、 string の offset 番目の文字からはじまり、文字列の最後から数えて lengt ... れなかった場合、もしくは null の場合、文字セットは ini 設定 iconv.internal_encoding で定義された値とみなされます。 offset や length のパラメータは、常に charset で定義された 文字セットにおける文字数と判断されることに注意してください。 一方、 substr() の場 ...
-
https://man.mtool.work/php/8.3/function.iconv-substr.html
- array_pad — 指定長、指定した値で配列を埋める | PHP 8.3 7264
- array_pad (PHP 4, PHP 5, PHP 7, PHP 8) array_pad — 指定長、指定した値で配列を埋める 説明 function array_pad ( array $array , int $length , mixed $value ): array array_pad() は、 length で指定した長さになるように値 value で埋めて array のコピ
... ーを返します。 length が正の場合、配列の右側が埋められます。 負の場合、配列の左側が埋められます。 length の絶対値が array の長さ以下の場合、埋め ... る処理は行われません。 パラメータ array 値を埋めるもととなる配列。 length 新しい配列のサイズ。 value array が length より小さいときに、 埋めるために使用する値。 戻り値 length で指定した長さになるよ ... うに値 value で埋めて array のコピーを返します。 length が正の場合、配列の右側が埋められます。 負の場合、配列の左側が埋められます。 length の絶対値が array の長さ以下の場合、埋め ...
-
https://man.mtool.work/php/8.3/function.array-pad.html
- pg_field_name — フィールドの名前を返す | PHP 8.3 6843
- pg_field_name (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_field_name — フィールドの名前を返す 説明 function pg_field_name ( PgSql\Result $result , int $field ): string pg_field_name() は、 指定した result インスタンスの指定した field にあるフィ
... ; $j ++) { echo "column $j \n" ; $fieldname = pg_field_name ( $res , $j ); echo "fieldname: $fieldname \n" ; echo "printed length: " . pg_field_prtlen ( $res , $fieldname ) . " characters\n" ; echo "storage length: " . pg_field_size ( $res , $j ) . " b ... d type: " . pg_field_type ( $res , $j ) . " \n\n" ; } ?> 上の例の出力は以下となります。 column 0 fieldname: author printed length: 6 characters storage length: -1 bytes field type: varchar column 1 fieldname: year printed length: 4 characters storage l ... ength: 2 bytes field type: int2 column 2 fieldname: title printed length: 24 characters storage length: -1 bytes field type: varchar 参考 pg_field_num() - 指定されたフィールドのフィールド番号を返 ...
-
https://man.mtool.work/php/8.3/function.pg-field-name.html
- iptcembed — バイナリ IPTC データを JPEG イメージに埋めこむ | PHP 8.3 6797
- iptcembed (PHP 4, PHP 5, PHP 7, PHP 8) iptcembed — バイナリ IPTC データを JPEG イメージに埋めこむ 説明 function iptcembed ( string $iptc_data , string $filename , int $spool = 0 ): string | bool バイナリ IPTC データを JPEG イメージに埋めこみ
... PEG への埋め込み <?php // Thies C. Arntzen による iptc_make_tag() 関数 function iptc_make_tag ( $rec , $data , $value ) { $length = strlen ( $value ); $retval = chr ( 0x1C ) . chr ( $rec ) . chr ( $data ); if( $length < 0x8000 ) { $retval .= chr ( $len ... gth >> 8 ) . chr ( $length & 0xFF ); } else { $retval .= chr ( 0x80 ) . chr ( 0x04 ) . chr (( $length >> 24 ) & 0xFF ) . chr (( $length >> 16 ) & 0xF ... F ) . chr (( $length >> 8 ) & 0xFF ) . chr ( $length & 0xFF ); } return $retval . $value ; } // jpeg ファイルへのパス $path = './phplogo.jpg' ; ...
-
https://man.mtool.work/php/8.3/function.iptcembed.html
- ob_get_length — 出力バッファの長さを返す | PHP 8.3 6797
- ob_get_length (PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8) ob_get_length — 出力バッファの長さを返す 説明 function ob_get_length (): int | false この関数は、出力バッファの内容の長さをバイト単位で返します。 パラメータ この関数にはパラメータはありませ
... 内容の長さをバイト単位で返します。 出力のバッファリングがアクティブでない場合には、 false を返します。 例 例1 単純な ob_get_length() の例 <?php ob_start (); echo "Hello " ; $len1 = ob_get_length (); echo "World" ; $len2 = ob_get_length (); ob_end_clean ...
-
https://man.mtool.work/php/8.3/function.ob-get-length.html
- Ds\Deque::slice — Returns a sub-deque of a given range | PHP 8.3 6751
- Ds\Deque::slice (PECL ds >= 1.0.0) Ds\Deque::slice — Returns a sub-deque of a given range 説明 public function Ds\Deque::slice ( int $index , int $length = ? ): Ds\Deque Creates a sub-deque of a given range. パラメータ index The index at wh
... ts. If positive, the deque will start at that index in the deque. If negative, the deque will start that far from the end. length If a length is given and is positive, the resulting deque will have up to that many values in it. If the length results in ... an overflow, only values up to the end of the deque will be included. If a length is given and is negative, the deque will stop that many values from the end. If a length is not provided, the resulting de ... \Deque ([ "a" , "b" , "c" , "d" , "e" ]); // Slice from 2 onwards print_r ( $deque -> slice ( 2 )); // Slice from 1, for a length of 3 print_r ( $deque -> slice ( 1 , 3 )); // Slice from 1 onwards print_r ( $deque -> slice ( 1 )); // Slice from 2 from ...
-
https://man.mtool.work/php/8.3/ds-deque.slice.html
- Ds\Sequence::slice — Returns a sub-sequence of a given range | PHP 8.3 6751
- Ds\Sequence::slice (PECL ds >= 1.0.0) Ds\Sequence::slice — Returns a sub-sequence of a given range 説明 abstract public function Ds\Sequence::slice ( int $index , int $length = ? ): Ds\Sequence Creates a sub-sequence of a given range. パラメ
... sitive, the sequence will start at that index in the sequence. If negative, the sequence will start that far from the end. length If a length is given and is positive, the resulting sequence will have up to that many values in it. If the length results ... in an overflow, only values up to the end of the sequence will be included. If a length is given and is negative, the sequence will stop that many values from the end. If a length is not provided, the resulting ... tor ([ "a" , "b" , "c" , "d" , "e" ]); // Slice from 2 onwards print_r ( $sequence -> slice ( 2 )); // Slice from 1, for a length of 3 print_r ( $sequence -> slice ( 1 , 3 )); // Slice from 1 onwards print_r ( $sequence -> slice ( 1 )); // Slice from 2 ...
-
https://man.mtool.work/php/8.3/ds-sequence.slice.html
- Ds\Set::slice — Returns a sub-set of a given range | PHP 8.3 6751
- Ds\Set::slice (PECL ds >= 1.0.0) Ds\Set::slice — Returns a sub-set of a given range 説明 public function Ds\Set::slice ( int $index , int $length = ? ): Ds\Set Creates a sub-set of a given range. パラメータ index The index at which the sub-
... t starts. If positive, the set will start at that index in the set. If negative, the set will start that far from the end. length If a length is given and is positive, the resulting set will have up to that many values in it. If the length results in a ... n overflow, only values up to the end of the set will be included. If a length is given and is negative, the set will stop that many values from the end. If a length is not provided, the resulting set ... \Ds\Set ([ "a" , "b" , "c" , "d" , "e" ]); // Slice from 2 onwards print_r ( $set -> slice ( 2 )); // Slice from 1, for a length of 3 print_r ( $set -> slice ( 1 , 3 )); // Slice from 1 onwards print_r ( $set -> slice ( 1 )); // Slice from 2 from the ...
-
https://man.mtool.work/php/8.3/ds-set.slice.html