PHP Programing language

R4R® PHP
(追記) (追記ここまで)
(追記) (追記ここまで)
array_each() Function in PHP
(追記) (追記ここまで)
(追記) (追記ここまで)

array_each()

The each() function returns the current element key and value, and moves the internal pointer forward.

Syntax:
each(array)

In above syntax, "array" specifies the array to use.

Example:

<?php
$vehicle = array("Car", "Scooter", "Motorcycle", "Truck");
print_r (each($vehicle));
?>

Output:

Array ( [1] => Car [value] => Car [0] => 0 [key] => 0 )

(追記) (追記ここまで)
Copyright ©2021-22 r4r.co.in, all rights reserved. Theguestspost.com
Sitemap
Career
Post comment
About us
Subscription
Unsubscription

AltStyle によって変換されたページ (->オリジナル) /