Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php array


<?php
$array = array(
    "foo" => "bar",
    "bar" => "foo",
);

// Using the short array syntax
$array = [
    "foo" => "bar",
    "bar" => "foo",
];
?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #array
ADD COMMENT
Topic
Name
5+7 =