$i < 5; ++$i)
$ref[$i] = $i;
?>
QUOTE:
复制代码 代码如下:
// PHP CODE Highliting for CU by dZ902
<?php
$a = ''large string'';
// memory intensive approach
function a($str)
{
return $str.''something'';
}
// more efficient solution
function a(&$str)
{
$str .= ''something'';
}
?>