Boolean limitations
#4

Quote:
Originally Posted by Akeem
Посмотреть сообщение
Is it adviced to call if(ploggined == false).
Because i use it like this if(ploggined == 0).
You can do this for both bool and int and its also less typing:

PHP код:
if(!ploggined//is like ploggined == false and for int like ploggined == 0
if(ploggined//is like ploggined != false and for int like ploggined != 0 
Reply


Messages In This Thread
Boolean limitations - by Akeem - 29.06.2018, 15:26
Re: Boolean limitations - by Lokii - 29.06.2018, 15:29
Re: Boolean limitations - by Akeem - 29.06.2018, 15:33
Re: Boolean limitations - by Lokii - 29.06.2018, 15:48

Forum Jump:


Users browsing this thread: 1 Guest(s)