什么问题(?)之前的类型声明意味着在php(?int)[复制]
参见英文答案>Predefinedtypesofvariableparameters4个我在https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Output/Output.php第40行看到了这个代码,他们正在使用?int.它被称为Nullable类型.将int定义为int或null.Typede