2009/7/2 troels knak-nielsen <troel...@gmail.com>: > Has this been discussed before? In that case, was it decided to go > with this behaviour or is it purely accidental? Are there perhaps some > implementation issues in preventing the second call to __construct()?
Magic methods can always be called directly because they must be declared public to work. I don't see a reason why to disallow it, if a user manually executes a magic method they should be knowing what they are doing and remember that there might be side-effects with there code. -- regrads, Kalle Sommer Nielsen ka...@php.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php