« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 140 for John (0.003 sec.)
新しい MultipleIterator を作成する 9938
« MultipleIterator::attachIterator MultipleIterator::containsIterator » PHP Manual MultipleIterator 新しい MultipleIterator を作成する 検索 MultipleIterator::__construct (PHP 5 >= 5.3.0, PHP 7, PHP 8) MultipleIterator::__construct — 新しい ... | MultipleIterator::MIT_KEYS_NUMERIC です。 例 例1 MultipleIterator の反復処理 <?php $people = new ArrayIterator (array( 'John' , 'Jane' , 'Jack' , 'Judy' )); $roles = new ArrayIterator (array( 'Developer' , 'Scrum Master' , 'Project Owner' )); $tea ... oreach ( $team as $member ) { print_r ( $member ); } ?> $flags = MIT_NEED_ALL|MIT_KEYS_NUMERIC の場合の出力 Array ( [0] => John [1] => Developer ) Array ( [0] => Jane [1] => Scrum Master ) Array ( [0] => Jack [1] => Project Owner ) $flags = MIT_NEED_ ... ANY|MIT_KEYS_NUMERIC の場合の出力 Array ( [0] => John [1] => Developer ) Array ( [0] => Jane [1] => Scrum Master ) Array ( [0] => Jack [1] => Project Owner ) Array ( [0] => Jud ...
https://man.mtool.work/php/8.3/multipleiterator.construct.html
新しい MultipleIterator を作成する 9938
« MultipleIterator::attachIterator MultipleIterator::containsIterator » PHP Manual MultipleIterator 新しい MultipleIterator を作成する 検索 MultipleIterator::__construct (PHP 5 >= 5.3.0, PHP 7, PHP 8) MultipleIterator::__construct — 新しい ... | MultipleIterator::MIT_KEYS_NUMERIC です。 例 例1 MultipleIterator の反復処理 <?php $people = new ArrayIterator (array( 'John' , 'Jane' , 'Jack' , 'Judy' )); $roles = new ArrayIterator (array( 'Developer' , 'Scrum Master' , 'Project Owner' )); $tea ... oreach ( $team as $member ) { print_r ( $member ); } ?> $flags = MIT_NEED_ALL|MIT_KEYS_NUMERIC の場合の出力 Array ( [0] => John [1] => Developer ) Array ( [0] => Jane [1] => Scrum Master ) Array ( [0] => Jack [1] => Project Owner ) $flags = MIT_NEED_ ... ANY|MIT_KEYS_NUMERIC の場合の出力 Array ( [0] => John [1] => Developer ) Array ( [0] => Jane [1] => Scrum Master ) Array ( [0] => Jack [1] => Project Owner ) Array ( [0] => Jud ...
https://man.mtool.work/php/8.3/multipleiterator.construct.html
TableSelect のコンストラクタ 8532
« TableSelect::bind TableSelect::execute » PHP Manual mysql_xdevapi\TableSelect TableSelect のコンストラクタ 検索 TableSelect::__construct (No version information available, might only be in Git) TableSelect::__construct — TableSelect のコン ... ATE TABLE addressbook.names(name text, age int)" )-> execute (); $session -> sql ( "INSERT INTO addressbook.names values ('John', 42), ('Sam', 33)" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "nam ... es" ); $result = $table -> select ( 'name' , 'age' ) -> where ( 'name like :name and age > :age' ) -> bind ([ 'name' => 'John' , 'age' => 42 ]) -> orderBy ( 'age desc' ) -> execute (); $row = $result -> fetchAll (); print_r ( $row ); ?> 上の例の出力 ... は、 たとえば以下のようになります。 Array ( [0] => Array ( [name] => John [age] => 42 ) ) 関連キーワード: TableSelect execute age session name addressbook mysql xdevapi construct sql コンストラクタ ...
https://man.mtool.work/php/8.3/mysql-xdevapi-tableselect.construct.html
TableSelect のコンストラクタ 8532
« TableSelect::bind TableSelect::execute » PHP Manual mysql_xdevapi\TableSelect TableSelect のコンストラクタ 検索 TableSelect::__construct (No version information available, might only be in Git) TableSelect::__construct — TableSelect のコン ... ATE TABLE addressbook.names(name text, age int)" )-> execute (); $session -> sql ( "INSERT INTO addressbook.names values ('John', 42), ('Sam', 33)" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "nam ... es" ); $result = $table -> select ( 'name' , 'age' ) -> where ( 'name like :name and age > :age' ) -> bind ([ 'name' => 'John' , 'age' => 42 ]) -> orderBy ( 'age desc' ) -> execute (); $row = $result -> fetchAll (); print_r ( $row ); ?> 上の例の出力 ... は、 たとえば以下のようになります。 Array ( [0] => Array ( [name] => John [age] => 42 ) ) 関連キーワード: TableSelect execute session addressbook mysql xdevapi construct コンストラクタ names John ...
https://man.mtool.work/php/8.3/mysql-xdevapi-tableselect.construct.html
複数の変数を受け取り、オプションでそれらをフィルタリングする 8317
« filter_var Filter\FilterException » PHP Manual Filter 関数 複数の変数を受け取り、オプションでそれらをフィルタリングする 検索 filter_var_array (PHP 5 >= 5.2.0, PHP 7, PHP 8) filter_var_array — 複数の変数を受け取り、オプションでそれらをフィ ... ての値に適用する options が整数の場合は、 配列のすべてのエントリに同じフィルタが適用されます。 <?php $data = [ 'name' => '<b>John</b>' , 'email' => 'john@example<script>.com' , 'bio' => 'Developer & writer' , ]; var_dump ( filter_var_array ( $data , FI ... LTER_SANITIZE_SPECIAL_CHARS )); ?> 上の例の出力は以下となります。 array(3) { ["name"]=> string(27) "&#60;b&#62;John&#60;/b&#62;" ["email"]=> string(32) "john@example&#60;script&#62;.com" ["bio"]=> string(22) "Developer &#38; writer" } 例3 ... FILTER_CALLBACK の使用例 <?php $data = [ 'name' => ' John Doe ' , 'city' => ' New York ' , ]; $options = [ 'name' => [ 'filter' => FILTER_CALLBACK , 'options' => 'trim' , ], 'city' ...
https://man.mtool.work/php/8.3/function.filter-var-array.html
TableDelete のコンストラクタ 7781
« TableDelete::bind TableDelete::execute » PHP Manual mysql_xdevapi\TableDelete TableDelete のコンストラクタ 検索 TableDelete::__construct (No version information available, might only be in Git) TableDelete::__construct — TableDelete のコン ... ATE TABLE addressbook.names(name text, age int)" )-> execute (); $session -> sql ( "INSERT INTO addressbook.names values ('John', 42), ('Sam', 33)" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "nam ... es" ); $table -> delete () -> where ( "name = :name" ) -> bind ([ 'name' => 'John' ]) -> orderby ( "age DESC" ) -> limit ( 1 ) -> execute (); ?> 関連キーワード: TableDelete execute session addressbook mys ... ql xdevapi construct sql name コンストラクタ names bind delete パラメータ age John schema table Search information ...
https://man.mtool.work/php/8.3/mysql-xdevapi-tabledelete.construct.html
delete文を実行する 7781
« TableDelete::__construct TableDelete::limit » PHP Manual mysql_xdevapi\TableDelete delete文を実行する 検索 TableDelete::execute (No version information available, might only be in Git) TableDelete::execute — delete文を実行する 説明 public ... ATE TABLE addressbook.names(name text, age int)" )-> execute (); $session -> sql ( "INSERT INTO addressbook.names values ('John', 42), ('Sam', 33)" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "nam ... es" ); $table -> delete () -> where ( "name = :name" ) -> bind ([ 'name' => 'John' ]) -> orderby ( "age DESC" ) -> limit ( 1 ) -> execute (); ?> 関連キーワード: execute TableDelete session delete mysql xd ... evapi addressbook sql name names limit Result パラメータ age John schema table construct Search information ...
https://man.mtool.work/php/8.3/mysql-xdevapi-tabledelete.execute.html
delete文を実行する 7781
« TableDelete::__construct TableDelete::limit » PHP Manual mysql_xdevapi\TableDelete delete文を実行する 検索 TableDelete::execute (No version information available, might only be in Git) TableDelete::execute — delete文を実行する 説明 public ... ATE TABLE addressbook.names(name text, age int)" )-> execute (); $session -> sql ( "INSERT INTO addressbook.names values ('John', 42), ('Sam', 33)" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "nam ... es" ); $table -> delete () -> where ( "name = :name" ) -> bind ([ 'name' => 'John' ]) -> orderby ( "age DESC" ) -> limit ( 1 ) -> execute (); ?> 関連キーワード: execute TableDelete session delete mysql xd ... evapi addressbook names limit John schema table construct information available getSession mysqlx user password localhost text values getSchema getTable bind ...
https://man.mtool.work/php/8.3/mysql-xdevapi-tabledelete.execute.html
複数の変数を受け取り、オプションでそれらをフィルタリングする 7674
« filter_var Filter\FilterException » PHP Manual Filter 関数 複数の変数を受け取り、オプションでそれらをフィルタリングする 検索 filter_var_array (PHP 5 >= 5.2.0, PHP 7, PHP 8) filter_var_array — 複数の変数を受け取り、オプションでそれらをフィ ... ての値に適用する options が整数の場合は、 配列のすべてのエントリに同じフィルタが適用されます。 <?php $data = [ 'name' => '<b>John</b>' , 'email' => 'john@example<script>.com' , 'bio' => 'Developer & writer' , ]; var_dump ( filter_var_array ( $data , FI ... LTER_SANITIZE_SPECIAL_CHARS )); ?> 上の例の出力は以下となります。 array(3) { ["name"]=> string(27) "&#60;b&#62;John&#60;/b&#62;" ["email"]=> string(32) "john@example&#60;script&#62;.com" ["bio"]=> string(22) "Developer &#38; writer" } 例3 ... FILTER_CALLBACK の使用例 <?php $data = [ 'name' => ' John Doe ' , 'city' => ' New York ' , ]; $options = [ 'name' => [ 'filter' => FILTER_CALLBACK , 'options' => 'trim' , ], 'city' ...
https://man.mtool.work/php/8.3/function.filter-var-array.html
TableDelete のコンストラクタ 7674
« TableDelete::bind TableDelete::execute » PHP Manual mysql_xdevapi\TableDelete TableDelete のコンストラクタ 検索 TableDelete::__construct (No version information available, might only be in Git) TableDelete::__construct — TableDelete のコン ... ATE TABLE addressbook.names(name text, age int)" )-> execute (); $session -> sql ( "INSERT INTO addressbook.names values ('John', 42), ('Sam', 33)" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "nam ... es" ); $table -> delete () -> where ( "name = :name" ) -> bind ([ 'name' => 'John' ]) -> orderby ( "age DESC" ) -> limit ( 1 ) -> execute (); ?> 関連キーワード: TableDelete execute session addressbook mys ... ql xdevapi construct コンストラクタ names bind delete John schema table information available private インスタンス getSession mysqlx user password localhost text values ...
https://man.mtool.work/php/8.3/mysql-xdevapi-tabledelete.construct.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT