PHP 4.0 Bug #5572: Memory (sharing or something) violation
| From: | asafr at contactnow dot com | Date: | Fri, 14 Jul 2000 07:30:18 +0000 |
| Subject: | PHP 4.0 Bug #5572: Memory (sharing or something) violation | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24400@lists.php.net to get a copy of this message | ||
From: asafr@contactnow.com
Operating system: Win2k
PHP version: 4.0.1pl2
PHP Bug Type: Scripting Engine problem
Bug description: Memory (sharing or something) violation
Using Zend engine and IIS 5. The php4isapi.dll as the interpeter. I received a memory violation
(don't remember what kind) while viewing the following page:
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY>
<?php
class CBaseClass
{
function Write() { echo "Inside CBaseClass";}
}
class CClass extends CBaseClass
{
function Write() { echo "Inside CClass"; }
}
$c=new CClass;
c->Write();
?>
</BODY>
</HTML>
I switched to php.exe (not restarting IIS) and still got the error. I restarted win2k and both
interpeters then returned "
Parse error: parse error in e:\inetpub\wwwroot\Default.php on line 18
"
After fixing the error I recieved "Inside CClass" which is a proper behaviour.
Also, why does php4isapi.dll causes two "dllhost"s to open?
Awaiting response,
Asaf Revach.