英语原文是:
Pseudo-types are keywords used in the PHP documentation to specify the types or values an argument can have. Please note that they are not primitives of the PHP language. So you cannot use pseudo-types as typehints in your own custom functions.
翻译成中文应该是:
伪类型(Pseudo-types),是在 PHP 文档中使用到的一种指示性代词(keywords),用于指示某个参数(argument)的取值范围(哪种类型,或具体是哪些值)。请注意,它们并不是 PHP 语言本身的一部分,你不能在 PHP 代码中使用它们对变量或方法进行类型修饰(或称约束)。
《Merriam-Webster》对 keyword 的解释有一条是:a word exemplifying(例证,举例说明) the meaning or value of a letter or symbol,对 pronoun(代词)的基本解释是这样的: a word (such as I, he, she, you, it, we, or they) that is used instead of a noun or noun phrase.
目前中文文档上是这样写的:
伪类型(pseudo-types) 是 PHP 文档里用于指示参数可以使用的类型和值。 请注意,它们不是 PHP 语言里原生类型。 所以不能把伪类型用于自定义函数里的类型约束(typehint)。
这句话就比较令人费解了,伪类型是(PHP 文档里用于指示参数可以使用的类型和值) —— 的什么? 这句话的谓语部分没有中心语啊!