« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 4 of about 4 for Cheese (0.003 sec.)
AppendIterator を作成する 11095
« AppendIterator::append AppendIterator::current » PHP Manual AppendIterator AppendIterator を作成する 検索 AppendIterator::__construct (PHP 5 >= 5.1.0, PHP 7, PHP 8) AppendIterator::__construct — AppendIterator を作成する 説明 public funct ... <?php $pizzas = new ArrayIterator (array( 'Margarita' , 'Siciliana' , 'Hawaii' )); $toppings = new ArrayIterator (array( 'Cheese' , 'Anchovies' , 'Olives' , 'Pineapple' , 'Ham' )); $appendIterator = new AppendIterator ; $appendIterator -> append ( $pi ... echo $key . ' => ' . $item . PHP_EOL ; } ?> 上の例の出力は以下となります。 0 => Margarita 1 => Siciliana 2 => Hawaii 0 => Cheese 1 => Anchovies 2 => Olives 3 => Pineapple 4 => Ham 例2 AppendIterator API による AppendIterator の処理 <?php $pizzas = new ... ArrayIterator (array( 'Margarita' , 'Siciliana' , 'Hawaii' )); $toppings = new ArrayIterator (array( 'Cheese' , 'Anchovies' , 'Olives' , 'Pineapple' , 'Ham' )); $appendIterator = new AppendIterator ; $appendIterator -> append ( $pi ...
https://man.mtool.work/php/8.3/appenditerator.construct.html
AppendIterator を作成する 11095
« AppendIterator::append AppendIterator::current » PHP Manual AppendIterator AppendIterator を作成する 検索 AppendIterator::__construct (PHP 5 >= 5.1.0, PHP 7, PHP 8) AppendIterator::__construct — AppendIterator を作成する 説明 public funct ... <?php $pizzas = new ArrayIterator (array( 'Margarita' , 'Siciliana' , 'Hawaii' )); $toppings = new ArrayIterator (array( 'Cheese' , 'Anchovies' , 'Olives' , 'Pineapple' , 'Ham' )); $appendIterator = new AppendIterator ; $appendIterator -> append ( $pi ... echo $key . ' => ' . $item . PHP_EOL ; } ?> 上の例の出力は以下となります。 0 => Margarita 1 => Siciliana 2 => Hawaii 0 => Cheese 1 => Anchovies 2 => Olives 3 => Pineapple 4 => Ham 例2 AppendIterator API による AppendIterator の処理 <?php $pizzas = new ... ArrayIterator (array( 'Margarita' , 'Siciliana' , 'Hawaii' )); $toppings = new ArrayIterator (array( 'Cheese' , 'Anchovies' , 'Olives' , 'Pineapple' , 'Ham' )); $appendIterator = new AppendIterator ; $appendIterator -> append ( $pi ...
https://man.mtool.work/php/8.3/appenditerator.construct.html
Serialization and deserialization of PHP variables into MongoDB 7397
« Connections Security » PHP Manual Driver Architecture and Internals Serialization and deserialization of PHP variables into MongoDB 検索 Serialization and deserialization of PHP variables into MongoDB This document discusses how compound ... ass { public $foo = 42 ; } // => {"foo": 42} class MyClass { public $foo = 42 ; protected $prot = 'wine' ; private $fpr = 'cheese' ; } // => {"foo": 42} class AnotherClass1 implements MongoDB\BSON\Serializable { public $foo = 42 ; protected $prot = 'wi ... ne' ; private $fpr = 'cheese' ; public function bsonSerialize (): array { return [ 'foo' => $this -> foo , 'prot' => $this -> prot ]; } } // => {"foo": ... ar"}} class UpperClass implements MongoDB\BSON\Persistable { public $foo = 42 ; protected $prot = 'wine' ; private $fpr = 'cheese' ; private $data ; public function bsonUnserialize (array $data ): void { $this -> data = $data ; } public function bsonSe ...
https://man.mtool.work/php/8.3/mongodb.persistence.html
Serialization and deserialization of PHP variables into MongoDB 7397
« Connections Security » PHP Manual Driver Architecture and Internals Serialization and deserialization of PHP variables into MongoDB 検索 Serialization and deserialization of PHP variables into MongoDB This document discusses how compound ... ass { public $foo = 42 ; } // => {"foo": 42} class MyClass { public $foo = 42 ; protected $prot = 'wine' ; private $fpr = 'cheese' ; } // => {"foo": 42} class AnotherClass1 implements MongoDB\BSON\Serializable { public $foo = 42 ; protected $prot = 'wi ... ne' ; private $fpr = 'cheese' ; public function bsonSerialize (): array { return [ 'foo' => $this -> foo , 'prot' => $this -> prot ]; } } // => {"foo": ... ar"}} class UpperClass implements MongoDB\BSON\Persistable { public $foo = 42 ; protected $prot = 'wine' ; private $fpr = 'cheese' ; private $data ; public function bsonUnserialize (array $data ): void { $this -> data = $data ; } public function bsonSe ...
https://man.mtool.work/php/8.3/mongodb.persistence.html
PREV 1 NEXT