ID: 14807
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Unknown/Other Function
Operating System:
PHP Version: 4.1.0
New Comment:
I am using it in CGI mode, and this is some info that might be useful to you:
bash$ cat /proc/version
Linux version 2.2.20 (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1
SMP Fri Nov 9 09:25:22 EST 2001
phpinfo()
PHP Version 4.1.0
System Linux host name removed 2.2.20 #1 SMP Fri Nov 9 09:25:22 EST 2001 i686
unknown
Build DateDec 24 2001
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml'
'--with-curl' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd=../gd-1.8.4'
'--with-jpeg-dir=/usr/local' '--with-xpm-dir=/usr/X11R6' '--with-png-dir=/usr'
'--with-imap=../imap-2001.BETA.SNAP-0105220031' '--with-ming=../ming-0.1.1'
'--enable-magic-quotes' '--with-mysql' '--enable-safe-mode' '--enable-track-vars'
'--with-ttf' '--enable-versioning' '--with-zlib'
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
ZEND_DEBUG disabled
Thread Safety disabled
If you need anything else, just let me know.
Previous Comments:
[2002-01-02 13:46:02] [EMAIL PROTECTED]
at least for me it doesn't (FreeBSD 4.4 PHP 4.1.0)
can you provide more Information about you environmation (OS, configure options e.g.)
?
[2002-01-02 13:39:24] [EMAIL PROTECTED]
Running the following always causes a core dump:
?php
$arr = array (
1 = array (0,0,0,0,0),
2 = array (0,0,0,0,0),
3 = array (0,0,0,0,0),
4 = array (0,0,0,0,0),
5 = array (0,0,0,0,0)
);
print_r($arr);
echo br\n\nbr\n\n;
$str = serialize($arr);
echo serializedbr\n, $str, brbr\n\n;
function hex2bin($data) {
$len = strlen($data);
return pack(H . $len, $data);
}
$enc = urlencode($str);
echo urlencodedbr, $enc, brbr\n\n;
$gzd = gzcompress($enc);
//echo gzcompressed (urlencoded)br, $gzd, brbr\n\n;
$b64 = base64_encode($gzd);
echo base64_encodedbr, $b64, brbr\n\n;
$b2h = bin2hex($enc);
echo bin2hex (urlencoded)br, $b2h, brbr\n\n;
$binary = base_convert($b2h, 16, 2);
echo $binary, brbr\n\n;
$conv = base_convert($binary, 2, 16);
echo $conv, brbr\n\n;
$h2b = hex2bin($conv);
echo $h2b, brbr\n\n;
$md = md5($str);
echo md5br, $md, brbr\n;
?
Edit this bug report at http://bugs.php.net/?id=14807edit=1
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]