#50886 [Opn]: Incomplete documentation for php://memory

From: Date: Sat, 30 Jan 2010 17:01:21 +0000
Subject: #50886 [Opn]: Incomplete documentation for php://memory
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3809@lists.php.net to get a copy of this message
ID: 50886 User updated by: nospam at mckenzies dot net Reported By: nospam at mckenzies dot net Status: Open Bug Type: Documentation problem Operating System: any PHP Version: Irrelevant New Comment: The documentation referred to is: http://us3.php.net/manual/en/wrappers.php.php Previous Comments: ------------------------------------------------------------------------ [2010-01-30 16:56:06] nospam at mckenzies dot net Description: ------------ The documentation for php://memory is incomplete. There is no example and there is no mention of what functions support the use of php://memory. Does it only work with streams? Reproduce code: --------------- $text = 'Some text.'; file_put_contents('php://memory', $text); echo file_get_contents('php://memory'); Expected result: ---------------- Some text. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50886&edit=1

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