|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-07-14 03:30 UTC] asafr at contactnow dot com
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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 12:00:01 2026 UTC |
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. Add.: A day later I got a similiar error and it is: "PHP has encountered an Access Violation at 00ED4E86". Asaf.