#40927 [Opn->Fbk]: posix_getgrgid() Fatal error
| From: | tony2001@php.net | Date: | Tue, 27 Mar 2007 12:06:45 +0000 |
| Subject: | #40927 [Opn->Fbk]: posix_getgrgid() Fatal error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-110834@lists.php.net to get a copy of this message | ||
ID: 40927
Updated by: tony2001@php.net
Reported By: igor_ua at list dot ru
-Status: Open
+Status: Feedback
Bug Type: Unknown/Other Function
Operating System: MAC OS X Intel 10.4.9
PHP Version: 5.2.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2007-03-27 11:59:45] igor_ua at list dot ru
Description:
------------
posix_getgrgid();
Fatal error: Out of memory (allocated 262144) (tried to allocate -1
bytes)
PHP 5.2.1 Intel Mac
PHP from: http://www.apachefriends.org/en/xampp-macosx.html
P.S. PHP 4.4.5 works fine.
Thanks.
Reproduce code:
---------------
<?php
// 0 or any other number
posix_getgrgid(0);
?>
Expected result:
----------------
Return info about a group by group id
Actual result:
--------------
Fatal error: Out of memory (allocated 262144) (tried to allocate -1
bytes) in /Users/ipx/Sites/e-putivka.com.ua/admin/tours/index.php on
line 4
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40927&edit=1