#19002 [NEW]: like operator

From: Date: Tue, 20 Aug 2002 22:29:14 +0000
Subject: #19002 [NEW]: like operator
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17360@lists.php.net to get a copy of this message
From: cxw@seekthru.com Operating system: any PHP version: 4.1.2 PHP Bug Type: Feature/Change Request Bug description: like operator I think it would be a good feature to have the syntax like the following: if ($var like "%abc"){ } or as an operator: if ($var ~ "abc%") { } This is similar to the like syntax in SQL. -- Edit bug report at http://bugs.php.net/?id=19002&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19002&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19002&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19002&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19002&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19002&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19002&r=support Expected behavior: http://bugs.php.net/fix.php?id=19002&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19002&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19002&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19002&r=globals

« previous php.bugs (#17360) next »