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

2001-03-13 Thread sniper

ID: 9715
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: COM related
Assigned To: 
Comments:

submitted twice


Previous Comments:
---

[2001-03-12 22:17:54] [EMAIL PROTECTED]
That wasn't it... I tried it without passing a constant, and it's still leaking 
memory! So this is an outstanding serious bug with no workaround.

---

[2001-03-12 22:02:03] [EMAIL PROTECTED]
Found the problem.
It only leaks memory, if I pass a CONSTANT from PHP to the COM object.
All I have to do now is rewrite the php so that I'm passing a variable, not a 
constant.

Probably this issue can be closed after someone has a look into it.

---

[2001-03-12 19:56:02] [EMAIL PROTECTED]
This is a new bug that I found.

Memory is leaked when passing string values to String variables in the modular scope 
of the COM object.

Example:

COM object has public variable called temp which is of String data type.

I instantiate the COM object and reference it with $t_obj.
I pass a string value from php like this:-

$t_obj->temp = "This is a test string.";

PHP has many other bugs concerning passing values through COM, but this bug is more 
serious because I am only trying to pass String values to the variables directly, 
without having to call a method to pass the values to the variables.


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9715&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-03-12 Thread Jason

ID: 9715
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: COM related
Description: Memory leak when passing string values to modular variables in COM

That wasn't it... I tried it without passing a constant, and it's still leaking 
memory! So this is an outstanding serious bug with no workaround.

Previous Comments:
---

[2001-03-12 22:02:03] [EMAIL PROTECTED]
Found the problem.
It only leaks memory, if I pass a CONSTANT from PHP to the COM object.
All I have to do now is rewrite the php so that I'm passing a variable, not a 
constant.

Probably this issue can be closed after someone has a look into it.

---

[2001-03-12 19:56:02] [EMAIL PROTECTED]
This is a new bug that I found.

Memory is leaked when passing string values to String variables in the modular scope 
of the COM object.

Example:

COM object has public variable called temp which is of String data type.

I instantiate the COM object and reference it with $t_obj.
I pass a string value from php like this:-

$t_obj->temp = "This is a test string.";

PHP has many other bugs concerning passing values through COM, but this bug is more 
serious because I am only trying to pass String values to the variables directly, 
without having to call a method to pass the values to the variables.


---


Full Bug description available at: http://bugs.php.net/?id=9715


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-03-12 Thread Jason

ID: 9715
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: COM related
Description: Memory leak when passing string values to modular variables in COM

Found the problem.
It only leaks memory, if I pass a CONSTANT from PHP to the COM object.
All I have to do now is rewrite the php so that I'm passing a variable, not a 
constant.

Probably this issue can be closed after someone has a look into it.

Previous Comments:
---

[2001-03-12 19:56:02] [EMAIL PROTECTED]
This is a new bug that I found.

Memory is leaked when passing string values to String variables in the modular scope 
of the COM object.

Example:

COM object has public variable called temp which is of String data type.

I instantiate the COM object and reference it with $t_obj.
I pass a string value from php like this:-

$t_obj->temp = "This is a test string.";

PHP has many other bugs concerning passing values through COM, but this bug is more 
serious because I am only trying to pass String values to the variables directly, 
without having to call a method to pass the values to the variables.


---


Full Bug description available at: http://bugs.php.net/?id=9715


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]