阅读Symfony2代码时,我多次遇到这个比较
Symfony2
if (null === $variable ) { ... }
我用
if ($variable === null ){ ... }
因为我觉得它更具可读性.
使用第一种符号背后有智慧吗?
php
php ×1