[PHP-DEV] RE: Bug #10580 Updated: Access Violation using ADODB

2001-05-19 Thread Jason Gan
Hi, I also suspect that the changes (in the version branching) are causing the strange errors. The last version of PHP 4.0.6-dev works fine with adodb and the MSXML Parser 3.0 with both isapi and cgi. -Original Message- From: Bug Database [mailto:[EMAIL PROTECTED]] Sent: Saturday, 19 Ma

[PHP-DEV] RE: Bug #10580 Updated: Access Violation using ADODB

2001-05-18 Thread Jason Gan
Hi, The current version (18-May) could not load in Windows at all, so I cannot test that version. Testing the last version (17-May), I found that the error is generated when it executes this line of code: for ($rowcount = 0; !$rs->EOF; ++$rowcount, $rs->MoveNext()) { } Specifically, it is the c

[PHP-DEV] RE: Bug #10580 Updated: Access Violation using ADODB

2001-05-18 Thread Jason Gan
I was testing under the isapi, and I noticed that what worked before broke when the version number changed from 4.0.6-dev to 4.0.7-dev. Give me a chance to try a newer version, and I'll let you know how it goes. Noticed that the error changed from PHP has encountered an Access Violation at 2474

[PHP-DEV] RE: Bug #10580 Updated: Access Violation using ADODB

2001-05-08 Thread Jason Gan
Here is a code snippet for testing ADODB: Open(OLEDB_CONNECTION_STRING); $command = "SELECT * from employees"; $rs = $conn->Execute($command); // Recordset $num_columns = $rs->Fields->Count(); $this->set_arr($num_columns); for ($i=0; $i < $num_columns; $i++) { $fld[$i] = $rs->Fields($

[PHP-DEV] RE: PHP 4.0 Bug #9715 Updated: Memory leak when passing string values to modular variables in COM

2001-03-13 Thread Jason Gan
Hi Sniper: Actually I was posting two different cases of possibly the same bug. One case is passing String value to a static variable in the COM object. The other is passing String value as an argument in a method exposed by the COM object. They both leak memory, and all my php-com work is leakin

[PHP-DEV] RE: PHP 4.0 Bug #8945 Updated: include, require, et al.

2001-02-17 Thread Jason Gan
Does this mean I have to use include() to do conditional includes? therefore change all require() to include() ? Thanks -Original Message- From: Bug Database [mailto:[EMAIL PROTECTED]] Sent: Sunday, 18 February 2001 5:09 AM To: [EMAIL PROTECTED] Subject: PHP 4.0 Bug #8945 Updated: include