Re: Unknown Syntax

From: Date: Fri, 11 Jul 2003 13:10:25 +0000
Subject: Re: Unknown Syntax
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-154868@lists.php.net to get a copy of this message
On Fri, Jul 11, 2003 at 01:56:46PM +0100, Chris Morrow wrote: > Does anybody recognize this: > > !== > > with 2 '=' > > Ive known != to mean not equal to but i'm just looking at someone elses > script and they use this instead. Does anyone know if this works or any > problems with it? > > Cheers > The syntax means 'not true' You can use it after a strpos operation to distinguish 'string was not found' from 'string was found at position 0'. -- Jim Kaufman mailto:jmk@linuxforbusiness.net Linux Evangelist cell: 612-481-9778 public key 0x6D802619 fax: 952-937-9832 http://www.linuxforbusiness.net

« previous php.general (#154868) next »