#25656 [NEW]: Not able to set the minimum value
From: vijay at mitoken dot com Operating system: windows 2000 Professional PHP version: 4.3.3 PHP Bug Type: *General Issues Bug description: Not able to set the minimum value Description: i am using jpgraphs to generate reports, and i use php to set the values. i have some problems in setting minimum value. can anybody help me. following is my code. Reproduce code: --- function getsumofmindata($datay) { for($i=0; $icount($datay);$i++) { if($datay[$i] $datay[$i+1] ) $datay[$i+1] = $datay[$i]; } return $datay[count($datay)-1]; } Expected result: return value should get minimum value Actual result: -- giving some junk value -- Edit bug report at http://bugs.php.net/?id=25656edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25656r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25656r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25656r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25656r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25656r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25656r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=25656r=support Expected behavior: http://bugs.php.net/fix.php?id=25656r=notwrong Not enough info:http://bugs.php.net/fix.php?id=25656r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=25656r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25656r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25656r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25656r=dst IIS Stability: http://bugs.php.net/fix.php?id=25656r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=25656r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25656r=float
#25624 [Bgs-Opn]: FATAL: emalloc(): Unable to allocate 35 bytes
ID: 25624 User updated by: vijay at mitoken dot com Reported By: vijay at mitoken dot com -Status: Bogus +Status: Open Bug Type: *General Issues Operating System: windows 2000 Professional PHP Version: 4.3.1 New Comment: I doubled the memory_limit in my php.ini and upgraded the version to 4.3.3 still the same error is there anything else that has to be done, please kindly help me. Previous Comments: [2003-09-22 06:57:02] [EMAIL PROTECTED] Increase the memory_limit in php.ini. And upgrade to PHP 4.3.3 too. [2003-09-22 06:00:04] vijay at mitoken dot com Description: I am displaying my XML File in table format on the browser using PHP, but when ever i have an xml file of size more than 35 KB i get the following error FATAL: emalloc(): Unable to allocate 35 bytes Expected result: It should be able to allocate the memory based on the xml file size Actual result: -- FATAL: emalloc(): Unable to allocate 35 bytes -- Edit this bug report at http://bugs.php.net/?id=25624edit=1
#25624 [NEW]: FATAL: emalloc(): Unable to allocate 35 bytes
From: vijay at mitoken dot com Operating system: windows 2000 Professional PHP version: 4.3.1 PHP Bug Type: Unknown/Other Function Bug description: FATAL: emalloc(): Unable to allocate 35 bytes Description: I am displaying my XML File in table format on the browser using PHP, but when ever i have an xml file of size more than 35 KB i get the following error FATAL: emalloc(): Unable to allocate 35 bytes Expected result: It should be able to allocate the memory based on the xml file size Actual result: -- FATAL: emalloc(): Unable to allocate 35 bytes -- Edit bug report at http://bugs.php.net/?id=25624edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25624r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25624r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25624r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25624r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25624r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25624r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=25624r=support Expected behavior: http://bugs.php.net/fix.php?id=25624r=notwrong Not enough info:http://bugs.php.net/fix.php?id=25624r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=25624r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25624r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25624r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25624r=dst IIS Stability: http://bugs.php.net/fix.php?id=25624r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=25624r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25624r=float