cotype
「cotype」的意思
n. [生物] 全模标本;共型
n.[植][动]全模(式)标本
「cotype」的用法
cotype联合类型 - 在PHP中,联合类型允许一个变量可以是多个类型之一。
「cotype」的例句
$value can be either a string or an integer.
$value 可以是字符串或整数。
The function accepts either a string or an array as an argument.
该函数接受字符串或数组作为参数。
$result can hold either a boolean value or null.
$result 可以保存布尔值或 null。
The variable $data can be of type int, float, or string.
$data 可以是 int、float 或 string 类型。
$status can be 'active', 'inactive', or 'pending'.
$status 可以是 'active'、'inactive' 或 'pending'。
$user can be either a User object or null.
$user 可以是 User 对象或 null。
$config can be an array or an object.
$config 可以是数组或对象。
$error can be a string, integer, or boolean.
$error 可以是字符串、整数或布尔值。
$mode can be 'read', 'write', or 'delete'.
$mode 可以是 'read'、'write' 或 'delete'。
$result can hold either a resource or null.
$result 可以保存资源或 null。