Doc #64100 [Opn->Nab]: in the documentation, in preg_quote, in the "list of characters" / should be in

From: Date: Sat, 02 Mar 2013 14:29:50 +0000
Subject: Doc #64100 [Opn->Nab]: 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-9606@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 Updated by: salathe@php.net Reported by: auditor400 at gmail dot com Summary: in the documentation, in preg_quote, in the "list of characters" / should be in -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem Operating System: Windows PHP Version: Irrelevant Block user comment: N Private report: N New Comment: The "/" character is only escaped when specified as the $delimiter argument. Previous Comments: ------------------------------------------------------------------------ [2013-01-31 13:24:42] narf at bofh dot bg No, it's not: php > var_dump(preg_quote('/')); string(1) "/" ------------------------------------------------------------------------ [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 (#9606) next »