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)
原文地址:https://www.cnblogs.com/sky20080101/p/6927863.html