PHP array definition and usage examples_PHP tutorial

WBOY
Release: 2016-07-13 10:34:54
Original
876 people have browsed it

This article mainly introduces PHP array definition and usage examples (php array definition method), friends in need can refer to it

This is a PHP example about arrays. It briefly explains the basic use of arrays. Comments are added to the example. ​ ​ The code is as follows: "Fruit","b"=>"Car"); //You can reference it like this $ex["a"];//The corresponding value is fruit $ex["b"];//The corresponding value is the car //You can also create such a key-value array ?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/747557.htmlTechArticleThis article mainly introduces PHP array definition and usage examples (php array definition method), friends who need it can For reference, this is a PHP example about arrays, which briefly explains the array...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template