Doc #75567 [Opn->Nab]: Possible wrong example output

From: Date: Fri, 24 Nov 2017 15:12:31 +0000
Subject: Doc #75567 [Opn->Nab]: Possible wrong example output
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15258@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75567&edit=1 ID: 75567 Updated by: salathe@php.net Reported by: sorin dot mircioiu at gmail dot com Summary: Possible wrong example output -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: The example reads the file containing the example code (by using __FILE__), and outputs the line number and contents. Previous Comments: ------------------------------------------------------------------------ [2017-11-24 14:37:40] sorin dot mircioiu at gmail dot com Description: ------------ --- From manual page: http://www.php.net/splfileobject.current --- It seems the text from the example code has been copied to the example output. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75567&edit=1

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