Syntax

From: Date: Tue, 22 Sep 2015 06:33:14 +0000
Subject: Syntax
Groups: php.general 
Request: Send a blank email to php-general+get-325127@lists.php.net to get a copy of this message
Hello all, Is this correct syntax? ... case preg_match("/^[-1|delete|hide|save]/", $MassOption) !== 1 : ... I am needing to test against -1 (negative 1) and the words delete, hide, and save. $MassOption should not equal those. Best, Karl DeSaulniers Design Drumm http://designdrumm.com

« previous php.general (#325127) next »