<?php
$age=array("Peter"=>"35","Ben"=>"37","Joe"=>"43");

foreach($age as $x=>$x_value)
{
echo "Key=" . $x . ", Value=" . $x_value;
echo "<br>";
}
?>

 

相关文章:

  • 2021-09-21
  • 2021-04-05
  • 2022-12-23
  • 2022-12-23
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
  • 2021-10-31
猜你喜欢
  • 2021-06-25
  • 2022-12-23
  • 2022-02-08
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案