PHP函数参数类型?

WBOY
Release: 2016-06-23 14:23:29
Original
1109 people have browsed it

http://docs.php.net/manual/zh/function.array-key-exists.php

链接所示

bool array_key_exists ( mixed $key , array $search )
Copy after login


bool:布尔类型
array:数组

其中,类型: mixed。
是什么类型?


回复讨论(解决方案)

手册中有:
mixed 说明一个参数可以接受多种不同的(但并不必须是所有的)类型。

手册中有:
mixed 说明一个参数可以接受多种不同的(但并不必须是所有的)类型。

类型不确定,是PHP类型其中的一种?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template