Problem With Constructors With Parameters In PHP

Posted by Joshua on Stack Overflow See other posts from Stack Overflow or by Joshua
Published on 2010-03-28T19:22:58Z Indexed on 2010/03/28 19:33 UTC
Read the original article Hit count: 217

Filed under:
class MyClass {
  function __constructor($A,$B,$C) {
    echo("$A $B $C");
  }
}
$MC=new MyClass('Hello','World','!');

My parameters don't seem to be making it through to the constructor... Am I doing this wrong?

© Stack Overflow or respective owner

Related posts about php