« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 102 for Numbers (0.014 sec.)
ColumnResult のコンストラクタ 11336
« mysql_xdevapi\ColumnResult ColumnResult::getCharacterSetName » PHP Manual mysql_xdevapi\ColumnResult ColumnResult のコンストラクタ 検索 ColumnResult::__construct (No version information available, might only be in Git) ColumnResult::__con ... nse" )-> execute (); $session -> sql ( "CREATE DATABASE nonsense" )-> execute (); $session -> sql ( "CREATE TABLE nonsense.numbers (hello int, world float unsigned)" )-> execute (); $session -> sql ( "INSERT INTO nonsense.numbers values (42, 42)" )-> ex ... ecute (); $schema = $session -> getSchema ( "nonsense" ); $table = $schema -> getTable ( "numbers" ); $result1 = $table -> select ( 'hello' , 'world' )-> execute (); // Returns an array of ColumnResult objects $columns = ... nColumn label " , $column -> getColumnLabel (); echo " is type " , $column -> getType (); echo " and is " , ( $column -> isNumberSigned () === 0 ) ? "unsigned." : "signed." ; } // Alternatively $result2 = $session -> sql ( "SELECT * FROM nonsense.number ...
https://man.mtool.work/php/8.3/mysql-xdevapi-columnresult.construct.html
ColumnResult のコンストラクタ 11336
« mysql_xdevapi\ColumnResult ColumnResult::getCharacterSetName » PHP Manual mysql_xdevapi\ColumnResult ColumnResult のコンストラクタ 検索 ColumnResult::__construct (No version information available, might only be in Git) ColumnResult::__con ... nse" )-> execute (); $session -> sql ( "CREATE DATABASE nonsense" )-> execute (); $session -> sql ( "CREATE TABLE nonsense.numbers (hello int, world float unsigned)" )-> execute (); $session -> sql ( "INSERT INTO nonsense.numbers values (42, 42)" )-> ex ... ecute (); $schema = $session -> getSchema ( "nonsense" ); $table = $schema -> getTable ( "numbers" ); $result1 = $table -> select ( 'hello' , 'world' )-> execute (); // Returns an array of ColumnResult objects $columns = ... nColumn label " , $column -> getColumnLabel (); echo " is type " , $column -> getType (); echo " and is " , ( $column -> isNumberSigned () === 0 ) ? "unsigned." : "signed." ; } // Alternatively $result2 = $session -> sql ( "SELECT * FROM nonsense.number ...
https://man.mtool.work/php/8.3/mysql-xdevapi-columnresult.construct.html
Call a Lua function 9627
« LuaSandboxFunction LuaSandboxFunction::__construct » PHP Manual LuaSandboxFunction Call a Lua function 検索 LuaSandboxFunction::call (PECL luasandbox >= 1.0.0) LuaSandboxFunction::call — Call a Lua function 説明 public function LuaSandbox ... P and Lua types are converted as follows: PHP null is Lua nil , and vice versa. PHP int s and float s are converted to Lua numbers. Infinity and NAN are supported. Lua numbers without a fractional part between approximately -2**53 and 2**53 are converte ... ocessed. __index is ignored. When converting from PHP to Lua, integer keys between -2**53 and 2**53 are represented as Lua numbers. All other keys are represented as Lua strings. When converting from Lua to PHP, keys other than strings and numbers will ... result in an error, as will collisions when converting numbers to strings or vice versa (since PHP considers things like $a[0] and $a["0"] as being equivalent). All other types are unsu ...
https://man.mtool.work/php/8.3/luasandboxfunction.call.html
Call a Lua function 9627
« LuaSandboxFunction LuaSandboxFunction::__construct » PHP Manual LuaSandboxFunction Call a Lua function 検索 LuaSandboxFunction::call (PECL luasandbox >= 1.0.0) LuaSandboxFunction::call — Call a Lua function 説明 public function LuaSandbox ... P and Lua types are converted as follows: PHP null is Lua nil , and vice versa. PHP int s and float s are converted to Lua numbers. Infinity and NAN are supported. Lua numbers without a fractional part between approximately -2**53 and 2**53 are converte ... ocessed. __index is ignored. When converting from PHP to Lua, integer keys between -2**53 and 2**53 are represented as Lua numbers. All other keys are represented as Lua strings. When converting from Lua to PHP, keys other than strings and numbers will ... result in an error, as will collisions when converting numbers to strings or vice versa (since PHP considers things like $a[0] and $a["0"] as being equivalent). All other types are unsu ...
https://man.mtool.work/php/8.3/luasandboxfunction.call.html
Gets the number of records in a database 9472
« dbase_numfields dbase_open » PHP Manual dBase 関数 Gets the number of records in a database 検索 dbase_numrecords (PHP 5 < 5.3.0, dbase 5, dbase 7) dbase_numrecords — Gets the number of records in a database 説明 function dbase_numrecords ... of records (rows) in the specified database. 注意 : Records which are marked as deleted are counted as well. 注意 : Record numbers are between 1 and dbase_numrecords($db) , while field numbers are between 0 and dbase_numfields($db)-1 . パラメータ databa ... the records of the database <?php // open in read-only mode $db = dbase_open ( '/tmp/test.dbf' , 0 ); if ( $db ) { $record_numbers = dbase_numrecords ( $db ); for ( $i = 1 ; $i <= $record_numbers ; $i ++) { $record = dbase_get_record ( $db , $i ); if (! ... s() - Gets the number of fields of a database 関連キーワード: dbase database record number records db Gets open numrecords numbers numfields resource deleted int between something Search dBase function rows ...
https://man.mtool.work/php/8.3/function.dbase-numrecords.html
Gets the number of records in a database 9407
« dbase_numfields dbase_open » PHP Manual dBase 関数 Gets the number of records in a database 検索 dbase_numrecords (PHP 5 < 5.3.0, dbase 5, dbase 7) dbase_numrecords — Gets the number of records in a database 説明 function dbase_numrecords ... of records (rows) in the specified database. 注意 : Records which are marked as deleted are counted as well. 注意 : Record numbers are between 1 and dbase_numrecords($db) , while field numbers are between 0 and dbase_numfields($db)-1 . パラメータ databa ... the records of the database <?php // open in read-only mode $db = dbase_open ( '/tmp/test.dbf' , 0 ); if ( $db ) { $record_numbers = dbase_numrecords ( $db ); for ( $i = 1 ; $i <= $record_numbers ; $i ++) { $record = dbase_get_record ( $db , $i ); if (! ... numfields() - Gets the number of fields of a database 関連キーワード: dbase database record number records Gets numrecords numbers numfields resource deleted between something dBase rows specified Records marked counted well Record while returned create ...
https://man.mtool.work/php/8.3/function.dbase-numrecords.html
コールバック / Callable 8786
« リソース Mixed » PHP Manual 型 コールバック / Callable 検索 コールバック / Callable callable は、 別の関数への引数として渡される関数またはメソッドを参照するものです。 これらは、 callable 型を宣言することで表されます。 <?php function foo ( ... lable ( 'double_function' ); // Use the closure as a callback here to // double the size of each element in our range $new_numbers = array_map ( $double1 , range ( 1 , 5 )); print implode ( ' ' , $new_numbers ) . PHP_EOL ; $new_numbers = array_map ( $do ... uble2 , range ( 1 , 5 )); print implode ( ' ' , $new_numbers ) . PHP_EOL ; $new_numbers = array_map ( $double3 , range ( 1 , 5 )); print implode ( ' ' , $new_numbers ) . PHP_EOL ; $ne ... w_numbers = array_map ( $double4 , range ( 1 , 5 )); print implode ( ' ' , $new_numbers ); ?> 上の例の PHP 8.1 での出力は、このように ...
https://man.mtool.work/php/8.3/language.types.callable.html
コールバック / Callable 8786
« リソース Mixed » PHP Manual 型 コールバック / Callable 検索 コールバック / Callable callable は、 別の関数への引数として渡される関数またはメソッドを参照するものです。 これらは、 callable 型を宣言することで表されます。 <?php function foo ( ... lable ( 'double_function' ); // Use the closure as a callback here to // double the size of each element in our range $new_numbers = array_map ( $double1 , range ( 1 , 5 )); print implode ( ' ' , $new_numbers ) . PHP_EOL ; $new_numbers = array_map ( $do ... uble2 , range ( 1 , 5 )); print implode ( ' ' , $new_numbers ) . PHP_EOL ; $new_numbers = array_map ( $double3 , range ( 1 , 5 )); print implode ( ' ' , $new_numbers ) . PHP_EOL ; $ne ... w_numbers = array_map ( $double4 , range ( 1 , 5 )); print implode ( ' ' , $new_numbers ); ?> 上の例の PHP 8.1 での出力は、このように ...
https://man.mtool.work/php/8.3/language.types.callable.html
値を JSON 形式にして返す 8709
« json_decode json_last_error » PHP Manual JSON 関数 値を JSON 形式にして返す 検索 json_encode (PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL json >= 1.2.0) json_encode — 値を JSON 形式にして返す 説明 function json_encode ( mixed $value , int $flags = ... ive array always output as object: {"foo":"bar","baz":"long"} 例3 JSON_NUMERIC_CHECK の例 <?php echo "Strings representing numbers automatically turned into numbers" . PHP_EOL ; $numbers = array( '+123123' , '-123123' , '1.2e3' , '0.00001' ); var_dump ( ... $numbers , json_encode ( $numbers , JSON_NUMERIC_CHECK ) ); echo "Strings containing improperly formatted numbers" . PHP_EOL ; $str ... , json_encode ( $strings , JSON_NUMERIC_CHECK ) ); ?> 上の例の出力は、 たとえば以下のようになります。 Strings representing numbers automatically turned into numbers array(4) { [0]=> string(7) "+123123" [1]=> string(7) "-123123" [2]=> string(5) "1.2e3" [ ...
https://man.mtool.work/php/8.3/function.json-encode.html
値を JSON 形式にして返す 8709
« json_decode json_last_error » PHP Manual JSON 関数 値を JSON 形式にして返す 検索 json_encode (PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL json >= 1.2.0) json_encode — 値を JSON 形式にして返す 説明 function json_encode ( mixed $value , int $flags = ... ive array always output as object: {"foo":"bar","baz":"long"} 例3 JSON_NUMERIC_CHECK の例 <?php echo "Strings representing numbers automatically turned into numbers" . PHP_EOL ; $numbers = array( '+123123' , '-123123' , '1.2e3' , '0.00001' ); var_dump ( ... $numbers , json_encode ( $numbers , JSON_NUMERIC_CHECK ) ); echo "Strings containing improperly formatted numbers" . PHP_EOL ; $str ... , json_encode ( $strings , JSON_NUMERIC_CHECK ) ); ?> 上の例の出力は、 たとえば以下のようになります。 Strings representing numbers automatically turned into numbers array(4) { [0]=> string(7) "+123123" [1]=> string(7) "-123123" [2]=> string(5) "1.2e3" [ ...
https://man.mtool.work/php/8.3/function.json-encode.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT