05c07-2.php
来自「介绍PHP5的给类型函数应用」· PHP 代码 · 共 14 行
PHP
14 行
<?php// Declare two arrays:$first = array('e', 'h', 'r', 'j', 'b');$last = array('w', 'e', 'c');// Determine the intersection of these sets$intersection = array_intersect($last, $first);// Echo this out: eecho '<p>';foreach ($intersection as $v) { echo "{$v} "; } echo "</p>\n";?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?