Blogger Information
Blog 4
fans 0
comment 0
visits 1588
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
8月10号作业
泉懿
Original
406 people have browsed it

题目:返回数组中所有的值并给其建立从0开始递增的数字索引

  1. $arr = [4=>10,1=>22,9=>55,0=>255];
  2. $ arr2= array_values($arr);
  3. print_r($arr2);
Correcting teacher:PHPzPHPz

Correction status:unqualified

Teacher's comments:作业标题改为实际内容,很多同学作业不是按时交的,没有标题的话,老师还得单独去看看内容是否符合当天的作业
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post