函数应该返回null吗?
null
例如
function test() { return null; // vs return; }
后者被认为是不良做法还是不重要?
PS
是否是不好的做法不应该是主观的恕我直言.
php
php ×1