Rabus wrote:
Hi Robin, Marc & list,
-----Original Message----- From: Marc Delisle
I remember we discussed this, but did we find a good solution?
There is a "===" operator in sqlparser.lib.php3.
I just never got around to trying your solution, since I don't have access to a PHP3 installation.
I don't remember what was my solution.
Shouldn't it be possible to replace
($a === $b)
by the following expression?
($a == $b && gettype($a) == gettype($b))
Alexander M. Turek alex@bugfixes.info
gettype( ) works on variables, but the case we have is: if(strpos($whatWeWant, $typeSeperator) === FALSE) {
I don't know if it works on expressions and constants.
Anyway, looking at the code, we usually workaround this strpos problem with the "append a blank" trick:
if (strpos(' ' . $goto, 'tbl_properties') == 1) {
Marc