📜  提取($用户输入);替代 php 代码示例

📅  最后修改于: 2022-03-11 14:54:21.141000             🧑  作者: Mango

代码示例1
$info = array('Doina', 'brown', 'long');

// Listing all the variables
list($she, $color, $hear) = $info;
echo "$she has $color eyes color and $hear black hair.\n";