We have php 5.3.0 and I would like to use the constructor _construct. But somehow this constructor is not called when an instance of the class is made. And old constructor (
__construct() (two underscores)
__construct()
Second question: fix the underscores in __construct() and see if this is still a problem.
Try:
abstract class Foo { function __construct() { } } class Bar extends Foo{ function __construct($arg){ parent::_construct(); } }