Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHP 7.1 将引入 void 函数类型。
https://wiki.php.net/rfc/void_return_type
在哪些情况下明确指定一个函数是“void”类型而不是简单地return;没有任何精度是有用的?
return;
出于几个原因,这将对从事该项目的开发人员有所帮助。