'; echo gettype($c); ?>
The above code outputs a value "egg" and the type 'string'.
When I used logical OR operator it outputs 1 and type 'boolean'.
This is the simple code that make me confused. I'm a newbie in PHP so I don't know that using bitwise/logical OR operator in string is really valid or not. If valid then why it outputs like this.
Thank you in advance.