« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 6 of about 6 for vegetables (0.002 sec.)
一つ以上の要素を配列の最初に加える 12283
« array_unique array_values » PHP Manual 配列 関数 一つ以上の要素を配列の最初に加える 検索 array_unshift (PHP 4, PHP 5, PHP 7, PHP 8) array_unshift — 一つ以上の要素を配列の最初に加える 説明 function array_unshift ( array &$array , mixed ... ... 'McIntosh' => 'red' , 'Granny Smith' => 'green' , ], 'oranges' => [ 'Navel' => 'orange' , 'Valencia' => 'orange' , ], ]; $vegetables = [ 'lettuce' => [ 'Iceberg' => 'green' , 'Butterhead' => 'green' , ], 'carrots' => [ 'Deep Purple Hybrid' => 'purple' , ' ... Imperator' => 'orange' , ], 'cucumber' => [ 'Kirby' => 'green' , 'Gherkin' => 'green' , ], ]; array_unshift ( $foods , $vegetables ); var_dump ( $foods ); ?> 上の例の出力は以下となります。 array(3) { [0]=> array(3) { ["lettuce"]=> array(2) { ["Iceberg"] ... unshift 以上 最初 values queue 連想 foods banana apple raspberry dump apples McIntosh Granny Smith oranges Navel Valencia vegetables lettuce Iceberg Butterhead carrots ...
https://man.mtool.work/php/8.3/function.array-unshift.html
検索文字列に一致したすべての文字列を置換する 10474
« str_repeat str_rot13 » PHP Manual String 関数 検索文字列に一致したすべての文字列を置換する 検索 str_replace (PHP 4, PHP 5, PHP 7, PHP 8) str_replace — 検索文字列に一致したすべての文字列を置換する 説明 function str_replace ( array | string ... consonants , PHP_EOL ; // You should eat pizza, beer, and ice cream every day となります $phrase = "You should eat fruits, vegetables, and fiber every day." ; $healthy = array( "fruits" , "vegetables" , "fiber" ); $yummy = array( "pizza" , "beer" , "ice cr ... 置換 subject count body text 一致 複数 区別 preg 最初 black bodytag vowels onlyconsonants pizza beer ice cream phrase fruits vegetables fiber healthy yummy newphrase ...
https://man.mtool.work/php/8.3/function.str-replace.html
一つ以上の要素を配列の最初に加える 9377
« array_unique array_values » PHP Manual 配列 関数 一つ以上の要素を配列の最初に加える 検索 array_unshift (PHP 4, PHP 5, PHP 7, PHP 8) array_unshift — 一つ以上の要素を配列の最初に加える 説明 function array_unshift ( array &$array , mixed ... ... 'McIntosh' => 'red' , 'Granny Smith' => 'green' , ], 'oranges' => [ 'Navel' => 'orange' , 'Valencia' => 'orange' , ], ]; $vegetables = [ 'lettuce' => [ 'Iceberg' => 'green' , 'Butterhead' => 'green' , ], 'carrots' => [ 'Deep Purple Hybrid' => 'purple' , ' ... Imperator' => 'orange' , ], 'cucumber' => [ 'Kirby' => 'green' , 'Gherkin' => 'green' , ], ]; array_unshift ( $foods , $vegetables ); var_dump ( $foods ); ?> 上の例の出力は以下となります。 array(3) { [0]=> array(3) { ["lettuce"]=> array(2) { ["Iceberg"] ...
https://man.mtool.work/php/8.3/function.array-unshift.html
検索文字列に一致したすべての文字列を置換する 8280
« str_repeat str_rot13 » PHP Manual String 関数 検索文字列に一致したすべての文字列を置換する 検索 str_replace (PHP 4, PHP 5, PHP 7, PHP 8) str_replace — 検索文字列に一致したすべての文字列を置換する 説明 function str_replace ( array | string ... consonants , PHP_EOL ; // You should eat pizza, beer, and ice cream every day となります $phrase = "You should eat fruits, vegetables, and fiber every day." ; $healthy = array( "fruits" , "vegetables" , "fiber" ); $yummy = array( "pizza" , "beer" , "ice cr ...
https://man.mtool.work/php/8.3/function.str-replace.html
ノードを文字列に正規化する 7183
« DOMNode::appendChild DOMNode::C14NFile » PHP Manual DOMNode ノードを文字列に正規化する 検索 DOMNode::C14N (PHP 5 >= 5.2.0, PHP 7, PHP 8) DOMNode::C14N — ノードを文字列に正規化する 説明 public function DOMNode::C14N ( bool $exclusive = fal ... -> <food:fruit xmlns:food="urn:food">Apple</food:fruit> <food:fruit>Orange</food:fruit> <food:fruit>Pear</food:fruit> <!-- vegetables here --> <food:vegetable>Lettuce</food:vegetable> </root> XML); echo $dom -> C14N ( true , false , [ "query" => ".//f:frui ...
https://man.mtool.work/php/8.3/domnode.c14n.html
ノードを文字列に正規化する 7183
« DOMNode::appendChild DOMNode::C14NFile » PHP Manual DOMNode ノードを文字列に正規化する 検索 DOMNode::C14N (PHP 5 >= 5.2.0, PHP 7, PHP 8) DOMNode::C14N — ノードを文字列に正規化する 説明 public function DOMNode::C14N ( bool $exclusive = fal ... -> <food:fruit xmlns:food="urn:food">Apple</food:fruit> <food:fruit>Orange</food:fruit> <food:fruit>Pear</food:fruit> <!-- vegetables here --> <food:vegetable>Lettuce</food:vegetable> </root> XML); echo $dom -> C14N ( true , false , [ "query" => ".//f:frui ...
https://man.mtool.work/php/8.3/domnode.c14n.html
PREV 1 NEXT