<?php
$columns = array('11', '12', '13');
foreach ( $columns as &$value)
{
$value = str_replace('1', '5', $value);
}
foreach ($columns as $key => $value)
{
$columns[$key] = str_replace('5', '1', $value);
}
print_r($columns);
?>
标签:none