note 98550 deleted from reference.pcre.pattern.posix by danbrown

From: Date: Tue, 22 Jun 2010 16:06:04 +0000
Subject: note 98550 deleted from reference.pcre.pattern.posix by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-170382@lists.php.net to get a copy of this message
Note Submitter: sonicpr at bol dot com dot br ---- <?php $string = 'Hello World!'; echo '"',ereg_replace('[A-Z]', '', $string),'"', ' = ', '"',preg_replace('/[A-Z]/', '', $string),'"', "\n"; // "ello orld!" = "ello orld!" echo '"',eregi_replace('[A-Z]', '', $string),'"', ' = ', '"',preg_replace('/[A-Z]/i', '', $string),'"', "\n"; // " !" = " !" ?>

« previous php.notes (#170382) next »