#31036 [NEW]: decbin returns wrong value

2004-12-09 Thread stepanov at transchip dot com
From: stepanov at transchip dot com
Operating system: Windows
PHP version:  5.0.2
PHP Bug Type: Math related
Bug description:  decbin returns wrong value

Description:

for number 2155873860<4294967295 decbin returns
111

Reproduce code:
---
print decbin(2155873860);

Expected result:

1000111001000100

Actual result:
--
111

-- 
Edit bug report at http://bugs.php.net/?id=31036&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31036&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31036&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31036&r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=31036&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=31036&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=31036&r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=31036&r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=31036&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31036&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=31036&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=31036&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=31036&r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=31036&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31036&r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=31036&r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=31036&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31036&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31036&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31036&r=mysqlcfg


#28419 [NEW]: Notice "Refused (10061) (errflg=2) in Unknown on" when IMAP connection refused

2004-05-17 Thread stepanov at transchip dot com
From: stepanov at transchip dot com
Operating system: Windows XP Professional SP1
PHP version:  4CVS-2004-05-17 (stable)
PHP Bug Type: IMAP related
Bug description:  Notice "Refused (10061) (errflg=2) in Unknown on" when IMAP 
connection  refused

Description:

When IMAP connection is refused I get following notice:
Notice: (null)(): Can't connect to 192.168.0.251,143: Refused (10061)
(errflg=2) in Unknown on line 0


Reproduce code:
---
$mbox = @imap_open ("{192.168.0.251:143}Inbox", "user", "pass");

Expected result:

Because of calling the function with @ I expect don't see the notice. And
if I see the notice, I expect to see the file name and line number where
the error occurred, and not "in Unknown on line 0"

Actual result:
--
Notice: (null)(): Can't connect to 192.168.0.251,143: Refused (10061)
(errflg=2) in Unknown on line 0


-- 
Edit bug report at http://bugs.php.net/?id=28419&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28419&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28419&r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=28419&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=28419&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28419&r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=28419&r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=28419&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=28419&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=28419&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=28419&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=28419&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=28419&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28419&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=28419&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=28419&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=28419&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28419&r=float


#28419 [Fbk->Opn]: Notice "Refused (10061) (errflg=2) in Unknown on" when IMAP connection refused

2004-05-17 Thread stepanov at transchip dot com
 ID:   28419
 User updated by:  stepanov at transchip dot com
 Reported By:  stepanov at transchip dot com
-Status:   Feedback
+Status:   Open
 Bug Type: IMAP related
 Operating System: Windows XP Professional SP1
 PHP Version:  4CVS-2004-05-17 (stable)
 New Comment:

Yes, I am using the latest PHP (4.3.7-dev)

I run the folowing:
$mbox = imap_open ("{192.168.0.250:143}Inbox", "xxx", "xxx");

And i get the:
Warning: imap_open(): Couldn't open stream {192.168.0.250:143}Inbox in
C:\html\test\imap.php on line 12

Notice: (null)(): Can't connect to 192.168.0.250,143: Refused (10061)
(errflg=2) in Unknown on line 0

if i run $mbox = @imap_open ("{192.168.0.250:143}Inbox", "xxx",
"xxx");

i get:
Notice: (null)(): Can't connect to 192.168.0.250,143: Refused (10061)
(errflg=2) in Unknown on line 0


Previous Comments:


[2004-05-17 15:32:11] [EMAIL PROTECTED]

Are you absolutely sure you are using the latest PHP? I've 
checked the source code of the extension and the only error 
you can get while opening an imap connection can go 
something like this: 
Couldn't open stream ... 

----------------

[2004-05-17 10:06:12] stepanov at transchip dot com

Description:

When IMAP connection is refused I get following notice:
Notice: (null)(): Can't connect to 192.168.0.251,143: Refused (10061)
(errflg=2) in Unknown on line 0


Reproduce code:
---
$mbox = @imap_open ("{192.168.0.251:143}Inbox", "user", "pass");

Expected result:

Because of calling the function with @ I expect don't see the notice.
And if I see the notice, I expect to see the file name and line number
where the error occurred, and not "in Unknown on line 0"

Actual result:
--
Notice: (null)(): Can't connect to 192.168.0.251,143: Refused (10061)
(errflg=2) in Unknown on line 0






-- 
Edit this bug report at http://bugs.php.net/?id=28419&edit=1


#28941 [NEW]: php.exe exiting without any error message, apache 2 crashes and restarting

2004-06-28 Thread stepanov at transchip dot com
From: stepanov at transchip dot com
Operating system: Windows XP Professional SP1
PHP version:  4.3.7
PHP Bug Type: Reproducible crash
Bug description:  php.exe exiting without any error message, apache 2 crashes and 
restarting

Description:

When i try to run folowing script, the php.exe exits without any error
message, Apache 2 restarts.

Reproduce code:
---
http://www.israword.co.il/yabbse/attachments/wafermapxy.zip


-- 
Edit bug report at http://bugs.php.net/?id=28941&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28941&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28941&r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=28941&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=28941&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28941&r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=28941&r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=28941&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=28941&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=28941&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=28941&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=28941&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=28941&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28941&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=28941&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=28941&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=28941&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28941&r=float


#37628 [NEW]: Excel crashes when trying to create COM object

2006-05-29 Thread stepanov at transchip dot com
From: stepanov at transchip dot com
Operating system: Windows 2003 server
PHP version:  5.1.4
PHP Bug Type: COM related
Bug description:  Excel crashes when trying to create COM object 

Description:

When trying to initialize excel COM object excel crashes with error
below.

This works with PHP 5.1.2
I getting error only if script execuded by Apache server (Apache/2.0.58)
>From command prompt it seems to work

Event Type: Error
Event Source:   Microsoft Office 11
Event Category: None
Event ID:   1000
Date:   5/29/2006
Time:   4:09:09 PM
User:   N/A
Computer:   PRODDB
Description:
Faulting application excel.exe, version 11.0.8012.0, stamp 43e2ab74,
faulting module mso.dll, version 11.0.6568.0, stamp 42e18ef6, debug? 0,
fault address 0x0003446c.

Reproduce code:
---
$this->ex = new COM("Excel.Application");

or

$this->ex = new COM("Excel.sheet");

Expected result:

Expexted to get excel object.



-- 
Edit bug report at http://bugs.php.net/?id=37628&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37628&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=37628&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37628&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37628&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=37628&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=37628&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=37628&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=37628&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=37628&r=support
Expected behavior:http://bugs.php.net/fix.php?id=37628&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=37628&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=37628&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37628&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37628&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37628&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=37628&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=37628&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37628&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=37628&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=37628&r=mysqlcfg


#37628 [Bgs]: Excel crashes when trying to create COM object

2006-05-29 Thread stepanov at transchip dot com
 ID:   37628
 User updated by:  stepanov at transchip dot com
 Reported By:  stepanov at transchip dot com
 Status:   Bogus
 Bug Type: COM related
 Operating System: Windows 2003 server
 PHP Version:  5.1.4
 New Comment:

Are you shure this is a bug of MS, or, may be, some improper signal PHP
sends to Excel? 
Why this works from command line and don't works from Apache modul?
With such rude replay people will  thisnk, may be it is good idea to
move to ASP.


Previous Comments:


[2006-05-29 13:41:55] [EMAIL PROTECTED]

Please report bugs in MS products to Mickeysoft.



[2006-05-29 13:30:05] stepanov at transchip dot com

Description:

When trying to initialize excel COM object excel crashes with error
below.

This works with PHP 5.1.2
I getting error only if script execuded by Apache server
(Apache/2.0.58)
>From command prompt it seems to work

Event Type: Error
Event Source:   Microsoft Office 11
Event Category: None
Event ID:   1000
Date:   5/29/2006
Time:   4:09:09 PM
User:   N/A
Computer:   PRODDB
Description:
Faulting application excel.exe, version 11.0.8012.0, stamp 43e2ab74,
faulting module mso.dll, version 11.0.6568.0, stamp 42e18ef6, debug? 0,
fault address 0x0003446c.

Reproduce code:
---
$this->ex = new COM("Excel.Application");

or

$this->ex = new COM("Excel.sheet");

Expected result:

Expexted to get excel object.







-- 
Edit this bug report at http://bugs.php.net/?id=37628&edit=1