arrayAppend.php

 

<?php
$t_full_projects = array();  
$t_full_projects[] ='a';
$t_full_projects[] ='b';
$t_full_projects[] ='c';
$t_full_projects[] ='d';
$t_full_projects[] ='e';

var_dump($t_full_projects);



?>

 

 

array (size=5)
  0 => string 'a' (length=1)
  1 => string 'b' (length=1)
  2 => string 'c' (length=1)
  3 => string 'd' (length=1)
  4 => string 'e' (length=1)

 

posted @ 2017-06-01 11:05  sky20080101  阅读(194)  评论(0)    收藏  举报