[Phpmyadmin-devel] (PMA_SQP_typeCheck) operator "===" and PHP 3

Rabus rabus at bugfixes.info
Tue Feb 4 09:54:04 CET 2003


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 at bugfixes.info>

+-----------------------------+
| The phpMyAdmin Project      |
| http://www.phpmyadmin.net   |
| rabus at users.sourceforge.net |
+-----------------------------+
| [bugfixes.info]             |
| http://www.bugfixes.info    |
| rabus at bugfixes.info         |
+-----------------------------+







More information about the Developers mailing list