Wan Chaowei am Freitag, 2. Januar 2015 - 22:20: > i think you don't read any Document > > isset: http://php.net/manual/en/function.isset.php > empty: http://php.net/manual/en/function.empty.php > > > > website: http://5go.cc/ > QR Code Generator: http://5go.cc/QRCodeGenerator > "Sachin Raut" 写入消息 news:CAEg3z6F9m+E=R+c6ndnZLOVcq_BcotUHTy2qNcMvEoS9Uk+kmg@xxxxxxxxxxxxxx.... > > Happy New Year to all members of PHP group. > > I just want to know the difference between following 3 statements. Or are > they all does the same thing. > > 1. isset($a) > 2. !empty($a) > 3. $a!="" > > Thanks > Sachin if $a exixsts, then 1 is TRUE even when 2 and 3 are FALSE 2 may be slower than 3, but they mean the same Greetings, Niklaus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php