PHP小技巧

$a =1;

 1 && $a = 2;

 echo $a;

!defined('ROOT_PATH') && define('ROOT_PATH', str_replace('\\', '/', dirname(__FILE__)));

原文地址:https://www.cnblogs.com/see7di/p/2239802.html