跳到主文
部落格全站分類:數位生活
<?php class B{ public $a=['a','b'];
} $b=new B(); $b->a[]='c'; print_r($b->a);
// a,b,c
程式學習日記,如果我幫助了你請讓我知道
學習程式 發表在 痞客邦 留言(0) 人氣()