Hello there.
I had made an object that returns true or false based on some condition, and well when i wanted to see what it was returining.. nothing was returned.. i thought I had done something wrong until i finally tried this
echo FALSE;
//doesnt work on print or print_r either
print(FALSE); print_r(FALSE);
echo TRUE; //prints 1
//this works too
print(TRUE); print_r(TRUE); //prints 1
this doesnt appear to display anything.. im expecting 0, since echo TRUE; displays 1.
Any comments?
Dont tell me to go search the boards I already did.. even the php manual -- apparently echo is not a function =) but still why wont FALSE output 0?