I've a bad headache here.

I have a some class Foo with constructor Foo like this:

class Foo {

    var $classVariable;

    function Foo ( $var1 ) {
        $this->classVariable = $var1;
    }

and furthermore i have a class call like this:

$objFoo = new Foo ( $anotherVariable );

i think this is a perfectly legal piece of code, and it works just fine on
FreeBSD/Apache/PHP 4.0.4pl1

but on Win2K Server and IIS5 with PHP 4.0.4pl1 running as CGI, this code
makes php.exe crash.
windows says that that the referenced memory could not be "written".

what's this all about? in classes without any contructors i do not get any
errors. Does the windows PHP have some imcompability with class
constructors?!?

please help and thanks in advance.



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to