« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 91 for first class (0.003 sec.)
first (357), class (1510)
Data Structures | PHP 8.3 9420
Data Structures はじめに Efficient data structures for PHP 7, provided as an alternative to the array . See » this blog post for benchmarks, discussion and frequently asked questions. インストール/設定 要件 インストール手順 例 Ds\Collection ... ce using a callable to determine which values to include Ds\Sequence::find — Attempts to find a value's index Ds\Sequence::first — Returns the first value in the sequence Ds\Sequence::get — Returns the value at a given index Ds\Sequence::insert — Inse ... given number of rotations Ds\Sequence::set — Updates a value at a given index Ds\Sequence::shift — Removes and returns the first value Ds\Sequence::slice — Returns a sub-sequence of a given range Ds\Sequence::sort — Sorts the sequence in-place Ds\Sequ ... e sum of all values in the sequence Ds\Sequence::unshift — Adds values to the front of the sequence Ds\Vector — The Vector class Ds\Vector::allocate — Allocates enough memory for a required capacity Ds\Vector::apply — Updates all values by applying a ...
https://man.mtool.work/php/8.3/book.ds.html
定義済み定数 | PHP 8.3 9376
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 The following opcodes are defined as constants by uopz before 5.0.0: ZEND_EXI ... no arguments. Return boolean true to exit, false to continue ZEND_NEW ( int ) Invoked by object construction, receives the class of object being created as the only argument ZEND_THROW ( int ) Invoked by the throw construct, receives the class of exce ... ption being thrown as the only argument ZEND_FETCH_CLASS ( int ) Invoked upon composure, receives the class the name of the class being fetched as the only argument ZEND_ADD_TRAIT ... ( int ) Invoked upon composure, receives the class the trait is being added to as the first argument, and the name of the trait as the second argument ZEND_ADD_INTERFACE ( int ) Invoked upon composure, receives the ...
https://man.mtool.work/php/8.3/uopz.constants.html
Collator クラス | PHP 8.3 9191
Collator クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) はじめに 各ロケール固有の並び順を考慮した文字列の比較機能を提供します。 クラス概要 class Collator { /* 定数 */ public const int DEFAULT_VALUE ; public const int PRIMARY ; pu ... c const int OFF ; public const int ON ; public const int SHIFTED ; public const int NON_IGNORABLE ; public const int LOWER_FIRST ; public const int UPPER_FIRST ; public const int FRENCH_COLLATION ; public const int ALTERNATE_HANDLING ; public const in ... t CASE_FIRST ; public const int CASE_LEVEL ; public const int NORMALIZATION_MODE ; public const int STRENGTH ; public const int HIRAGAN ...
https://man.mtool.work/php/8.3/class.collator.html
array_column — 入力配列から単一のカラムの値を返す | PHP 8.3 9080
array_column (PHP 5 >= 5.5.0, PHP 7, PHP 8) array_column — 入力配列から単一のカラムの値を返す 説明 function array_column ( array $array , int | string | null $column_key , int | string | null $index_key = null ): array array_column() は、 配 ... ードセットからのファーストネームの取得 <?php // データベースから返ってきたレコードセットの例 $records = [ [ 'id' => 2135 , 'first_name' => 'John' , 'last_name' => 'Doe' , ], [ 'id' => 3245 , 'first_name' => 'Sally' , 'last_name' => 'Smith' , ], [ 'id' ... => 5342 , 'first_name' => 'Jane' , 'last_name' => 'Jones' , ], [ 'id' => 5623 , 'first_name' => 'Peter' , 'last_name' => 'Doe' , ] ]; $firs ... => Smith [5342] => Jones [5623] => Doe ) 例3 オブジェクトの public プロパティ "username" からユーザー名を取得する例 <?php class User { public $username ; public function __construct ( string $username ) { $this -> username = $username ; } } $users = ...
https://man.mtool.work/php/8.3/function.array-column.html
Deprecated Features | PHP 8.3 8727
Deprecated Features PHP Core Using "namespace" as a class constant name Declaring a class constant named namespace is now deprecated. namespace is a semi-reserved keyword, and the name is being reserved for possible future syntax such as a ... ::namespace pseudo-constant analogous to ::class . Methods and static properties named namespace are not affected. Rename the constant, for example to NAMESPACE_NAME . Ret ... eceives such special treatment. Rename the function. Using let, is, or _ as an identifier Using let or is as the name of a class, interface, trait, enum, function, or constant (including via define() ) is now deprecated, as is using either as the alia ... _a() and is_subclass_of() with a string when allow_string is false Calling is_a() or is_subclass_of() with a string as the first argument while allow_string is false is now deprecated. In that case the functions always return false , even when the cla ...
https://man.mtool.work/php/8.3/migration86.deprecated.html
定義済み定数 | PHP 8.3 8725
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 The following constants can be used when executing SQL statement. They can be ... hey can be passed to or returned by cubrid_move_cursor() . CUBRID cursor position flags Constant Description CUBRID_CURSOR_FIRST Move current cursor to the first position in the result. CUBRID_CURSOR_CURRENT Move current cursor as a default value if t ... et_db_parameter() or returned by cubrid_get_db_parameter() . CUBRID isolation level flags Constant Description TRAN_COMMIT_CLASS_UNCOMMIT_INSTANCE The lowest isolation level (1). A dirty, non-repeatable or phantom read may occur for the tuple and a no ... n-repeatable read may occur for the table as well. TRAN_COMMIT_CLASS_COMMIT_INSTANCE A relatively low isolation level (2). A dirty read does not occur, but non-repeatable or phantom read may ...
https://man.mtool.work/php/8.3/cubrid.constants.html
マジックメソッド | PHP 8.3 8582
マジックメソッド マジックメソッドは、 ある動作がオブジェクトに対して行われた場合に、 PHP のデフォルトの動作を上書きする特別なメソッドです。 警告 __ で始まる全てのメソッド名は、 PHP によって予約されています。 よって、PHP の動作を上書きするの ... 出されます。 __wakeup() は無視されます。 注意 : この機能は PHP 7.4.0 以降で利用できます。 例1 Serialize と unserialize <?php class Connection { protected $link ; private $dsn , $username , $password ; public function __construct ( $dsn , $username , $pa ... 的は、 シリアル化の際に失われたデータベース接続を再度確立したり、 その他の再初期化を行うことです。 例2 sleep と wakeup <?php class Connection { protected $link ; private $dsn , $username , $password ; public function __construct ( $dsn , $username , $pa ... invoke (array $a , array $b ): int { return $a [ $this -> key ] <=> $b [ $this -> key ]; } } $customers = [ [ 'id' => 1 , 'first_name' => 'John' , 'last_name' => 'Do' ], [ 'id' => 3 , 'first_name' => 'Alice' , 'last_name' => 'Gustav' ], [ 'id' => 2 , ...
https://man.mtool.work/php/8.3/language.oop5.magic.html
sqlsrv_fetch_object — Retrieves the next row of data in a result set as an obje... 8577
sqlsrv_fetch_object (No version information available, might only be in Git) sqlsrv_fetch_object — Retrieves the next row of data in a result set as an object 説明 function sqlsrv_fetch_object ( resource $stmt , string $className = ? , arra ... ? , int $row = ? , int $offset = ? ): mixed Retrieves the next row of data in a result set as an instance of the specified class with properties that match the row field names and values that correspond to the row field values. パラメータ stmt A state ... ment resource created by sqlsrv_query() or sqlsrv_execute() . className The name of the class to instantiate. If no class name is specified, stdClass is instantiated. ctorParams Values passe ... In that case, this parameter can take on one of the following values: SQLSRV_SCROLL_NEXT SQLSRV_SCROLL_PRIOR SQLSRV_SCROLL_FIRST SQLSRV_SCROLL_LAST SQLSRV_SCROLL_ABSOLUTE SQLSRV_SCROLL_RELATIVE offset Specifies the row to be accessed if the row parame ...
https://man.mtool.work/php/8.3/function.sqlsrv-fetch-object.html
The CommonMark\CQL class | PHP 8.3 8495
The CommonMark\CQL class (cmark >= 1.1.0) はじめに CommonMark Query Language is a DSL for describing how to travel through a CommonMark Node tree implemented as a parser and compiler for a small set of instructions, and a virtual machine fo ... ths: In its most simplistic form, a CQL query combines the following paths and / to describe how to travel through a tree: firstChild lastChild previous next parent For example, /firstChild/lastChild would travel to the last child node of the first ch ... xample through the children of, or siblings to a particular node, by using the path children , or siblings . For example, /firstChild/children will travel to all the children of the first child node. Subqueries CQL can be instructed how to travel by u ... ion, it stands separately from PHP and does not use PHP's virtual machine or internal representation of values. クラス概要 class CommonMark\CQL { /* コンストラクタ */ public function __construct ( string $query ) /* メソッド */ public function __invok ...
https://man.mtool.work/php/8.3/class.commonmark-cql.html
Swoole | PHP 8.3 8249
Swoole はじめに Swoole is a parallel network communication engine based on asynchronous event-driven and coroutine, written in C++, providing coroutine and high-performance network programming support for PHP. It provides various network se ... a timer tick callback function by time interval swoole_version — Get the version of Swoole Swoole\Async — The Swoole\Async class Swoole\Async::dnsLookup — Async and non-blocking hostname to IP lookup. Swoole\Async::read — Read file stream asynchronous ... rite — Write data to a file stream asynchronously. Swoole\Async::writeFile — Description Swoole\Atomic — The Swoole\Atomic class Swoole\Atomic::add — Add a number to the value to the atomic object. Swoole\Atomic::cmpset — Compare and set the value of ... on is valid. Swoole\Coroutine — The Swoole\Coroutine class Swoole\Coroutine::call_user_func — Call a callback given by the first parameter Swoole\Coroutine::call_user_func_array — Call a callback with an array of parameters Swoole\Coroutine::cli_wait ...
https://man.mtool.work/php/8.3/book.swoole.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT