Looking at the following code echo ('') ? 'T' : 'F'; echo ('!') ? 'T' : 'F'; echo (0) ? 'T' : 'F'; echo ('' == 0) ? 'T' : 'F'; echo ('!' == 0) ? 'T' : 'F'; the output is: FTFTT Is this behavior to be expected? -- Jeremy O'Connor
Looking at the following code echo ('') ? 'T' : 'F'; echo ('!') ? 'T' : 'F'; echo (0) ? 'T' : 'F'; echo ('' == 0) ? 'T' : 'F'; echo ('!' == 0) ? 'T' : 'F'; the output is: FTFTT Is this behavior to be expected? -- Jeremy O'Connor