2014年7月

生命不息,折腾不止

PHP && ||

// && 所有表达式为真,返回真,否则返回假 都是真才真 // || 所有表达式为假,返回假,否则返回真 都是假才假//var_dump(1 && 1); //返回真 //var_dump(0 || 0); //返回假