note 35471 deleted from language.operators by sniper

From: Date: Mon, 13 Oct 2003 00:06:48 +0000
Subject: note 35471 deleted from language.operators by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58373@lists.php.net to get a copy of this message
Note Submitter: do3@mail.inf.tu-dresden.de ---- You shoud note that the bitwise operators do not always make an implicit type cast or at least I do not understand the bitwise or of two strings. echo "33"|"55"; // 77 -> what the hell is that? echo "33"|55; // 55 -> ok echo 33|"55"; // 55 -> ok echo 33|55; // 55 -> ok echo (int)"33"|(int)"55"; // 55 -> ok

« previous php.notes (#58373) next »