标签:linu 变量 php linux c lin code linux 执行 cut
<?php
$a =`ls -a /`; // execute linux command
echo '<pre>'.$a;
<?php
$a = 2;
$b =&$a; //为$a起别名
echo $b; //2
$a = 4;
echo $b;//4
unset($a); //
$b = 6;
echo $b; //6
<?php
$a = [1,2,3];
$b = [4,2,3];
print_r($a+$b);
print_r($b+$a);
标签:linu 变量 php linux c lin code linux 执行 cut
原文地址:https://www.cnblogs.com/luoxuw/p/12215796.html