Why string 'all' == 0 return true, but 'all' == 1 return false. Honestly, the main question is why 'all' == 0 return true.
            Asked
            
        
        
            Active
            
        
            Viewed 29 times
        
    1
            
            
         
    
    
        Ervan Prastyanto
        
- 23
- 3
- 
                    1For more details see [this](https://www.php.net/manual/en/types.comparisons.php) (especially the table at *Loose comparisons with ==*). – Definitely not Rafal Feb 20 '21 at 10:32
- 
                    1[They seem to have changed this behavior](https://3v4l.org/67A8D). – Definitely not Rafal Feb 20 '21 at 10:38
- 
                    conditionally 'all' return false in bool. so basically false == false returns you true – Masih Ansari Feb 20 '21 at 11:09
