Doc #64100 [Com]: in the documentation, in preg_quote, in the "list of characters" / should be in

From: Date: Thu, 31 Jan 2013 13:24:42 +0000
Subject: Doc #64100 [Com]: in the documentation, in preg_quote, in the "list of characters" / should be in
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9499@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64100&edit=1 ID: 64100 Comment by: narf at bofh dot bg Reported by: auditor400 at gmail dot com Summary: in the documentation, in preg_quote, in the "list of characters" / should be in Status: Open Type: Documentation Problem Package: Documentation problem Operating System: Windows PHP Version: Irrelevant Block user comment: N Private report: N New Comment: No, it's not: php > var_dump(preg_quote('/')); string(1) "/" Previous Comments: ------------------------------------------------------------------------ [2013-01-29 20:23:23] auditor400 at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.preg-quote#refsect1-function.preg- quote-description --- in the documentation, in preg_quote, in the "list of characters" / should be in the lis of characters in my opinion, since it is affected by the funcion (escaped). Expected result: ---------------- / should be in the list Actual result: -------------- / is not on the list ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64100&edit=1

« previous php.doc.bugs (#9499) next »