|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56359 ps_get_buffer omits data
Submitted: 2005-03-27 07:14 UTC Modified: 2006-02-21 07:24 UTC
From: simonb at netstacker dot de Assigned: steinm (profile)
Status: Closed Package: ps (PECL)
PHP Version: 4.3.10 OS: Debian Sarge x86
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: simonb at netstacker dot de
New email:
PHP Version: OS:


 [2005-03-27 07:14 UTC] simonb at netstacker dot de
When using ps_get_buffer() to output a small document into a string, only the beginning of the document is returned. Later parts are omitted.
It seems to work fine if the document is written to a file.

Reproduce code:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-21 07:24 UTC] uwe at steinmann dot cx
ps_get_buffer() isn't implemented yet and you actually don't need it, because the ps document is send to stdout anyway if you don't pass a file name to ps_open_file(). The fact that your script quits in the middle of the ps file, is probably due to a bug in pslib which lets you access its internal string buffer (via ps_get_buffer()) while it is uninitalized.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Aug 12 02:01:26 2020 UTC