The code also works fine on my Win98 box with PHP 4.0.4pl1.
Not sure why your code isn't working...maybe you just got a wacky install?
--
Plutarck
Should be working on something...
...but forgot what it was.
""Frank M. Kromann"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EM
Just tested your code
classVariable = $var1;
}
}
$anotherVariable = 5;
$objFoo = new Foo ( $anotherVariable );
?>
This works fine on my W2K box. There should be no problems uses classes and this way
on any Windows platform. I'm using php4.0.5-dev though. Not sure if that can have
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