instanceof 用于确定一个PHP 变量是否属于某一类class 的实例:. 示例#1 对类使用 instanceof. <?php ... var_dump($a instanceof $c); // $c 是字符串 'MyClass'
確定! 回上一頁