PHP小技巧 $a =1; 1 && $a = 2; echo $a;!defined('ROOT_PATH') && define('ROOT_PATH', str_replace('\\', '/', dirname(__FILE__)));