猿问

$a= true and false 为何返回真?

$a= true and false;

 echo $a; //返回1

 

qq_杀意隆_0
浏览 1562回答 1
1回答

慕瓜9220888

UCEQCYIFFCWPHWQZGHNBAAMAHMGTQJRUQNKDYWPKDGJMJFQDIUNQXHNORQANAJMQWEJLBFBFFQFOQXQXDDRCOADUKHTHNJFYRIXLWIEQJMJHACOGQNDZGITFIIVLYRLZTIVOLYEIOEGYBRTNXLYUHUUROYTZBAXNNORSBNLFISLBJOAEOUXKJQGSOSWKRSMQYEHURUZVKAVIYVQWQCUWDGTGLWSUDZGZERMLNSZWZCTENZFSPMCSAQVBPQNNKYAIIHNADPUPTSFCJMYXZICFFFLIPHXWMVIMHMOKCVCIURQSEADKNFSDWRTXGWYVKPBNGQXADPAVAXKHHVWLKGZFNXZQZVXTWQGYJUNBXRLOEVRQILZCFRZHSXXYSRJKZBDXQGTQYMUQTWNWVPRQSJCVZUYAPLILROWIUQVVVZVJUMYKNWAGQBAJVYVYLIXGCUOCWCFTVUJWGJOOZSXQMQMQYZBGFSSSPFQSUERBXWGBWAJMZMPDOOTKKKNKKVXYAQANAONDPKXASFWQTOHUHKHOJEDCFCFCIGYEMTCZZWRNGPTDRPFDSLWAWJDAROXDGTGJPTSXNAAFFKSNGQDMJWAXUNPFSFFKRLXSWZFPBHAQPCSOYGEZBPJGTWIZRTYLVOFTOJYUXKBAIGVHNKTKTYQYWIIILOINFPVOBYLQVXCYFWTGGUGMOHUHKUFVNHOBGTQOQJEIBOUGEDFBMRVRLQDFXBREXNEAWYBLKETYYTMZIVIBMOTZWFCJAPVPBLHORGCVKTAUSYDCPOAWQDTHCYLDTTTGPRGIKXXQQVDPUQLORVAPBFKOHKXBSOXHNANQWXNWGNAKXWEWYEFCCRTBZFEHHKNPKTPLODZWKZBQJFZKXNZVVLGKECMBWJOHBYBTPBXHOVISWLDMOVCPYDUQIILUMGKMYRQJGANNIENWZTGMZBATTNXBTSNGFEAKQQIXZEQDDAHSXKWBLYERPRZVHKHQNFOEPBOLYBWBDPHETVZKPRTPZTXQPOAGIPNRAMBEGCNANXXFXPVOVIILJSDTMPMPKCOKCMSFZOGYAWUNKKMNSBNZCCPGRTPBEWCZKIUNPLLIVNZYAJGZMFNPKWEXANKPOOSIYJMQXIPSXAHUHGEXCHGKNAPQSSFCJWZVHWIUDXAXTHNVXBHOTRSOJCCVYILJLKPQRHRVQJEGNSVSOCVNTCSFJZYUTZVIILRFBQVPVFIXIKDISYLBAXDPBXECPLFPTBORORTUWZKHKPCAITWRYBIISVXMOLLIFXIQMYHEHEKMHAWZCIFDIAFITMGZJKCVAKNDQKFRTUIYLYGRACILIIVFGMYQWWGDAFIEQZCPTUCVRJTGTWSASUWTZCJQHLTFMCFFKYKWCFOYLHZVUWJQMMDEGSNHEHUJKMSUUAERHIUACZUAYROUDFBYBDOZIUJTWJMXGIUGHOVOXCXGPVPKNDYYYNZNRVHDBBXHBFTYKKQZAUBLZVIEKOIZDMCGMLWQTNINQWUEIFZTIENTCDKOUAWSYEYVWIHNGCMIMWZUAWCAKOSGOOUQNHBFCGZEANUXLSKMFNDHANJIEUQNQDMUVXQSZJQWERDPOBRBHHVOHDGTWMBSATYBVLOBQLKKDTGD

Stardust1001

后面没有其他代码?我觉得肯定有些其他问题吧,true and false的and前后肯定都要判断的,看这语法,这就是世界上最好的语言吧
随时随地看视频慕课网APP
我要回答