for example:
$str = "123123";
preg_match_all("/(\d*)/", $str, $arr);
var_dump($arr);
or:
exec("date", $output);
var_dump($output);
this is not declared $output
, and can be output as $arr
? What is the reason for this?
add
<?php
var_dump($res); // ,
//
function test(&$a){
$aPP;
}
test($a);
echo $a; // 1%