xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>PHP array_replace() 实例 - 自学教程(runoops.com)</title>
</head>
<body>
<?php
$a1=array("red","green");
$a2=array("blue","yellow");
print_r(array_replace($a1,$a2));
?>
</body>
</html>