note 10028 deleted from preg_quote by zak

From: Date: Fri, 08 Dec 2000 02:56:39 +0000
Subject: note 10028 deleted from preg_quote by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-8509@lists.php.net to get a copy of this message
Actually, preg_replace doesn't quite work as advertised. PHP 4.0.3pl1. The following program: $var = "http://www.test.com/"; echo preg_quote($var); yeilds: http:://www.test.com/ Forward slashes are NOT escaped.

« previous php.notes (#8509) next »