Is there any way to redeclare a class safely in PHP?

Posted by Asif Khan on Stack Overflow See other posts from Stack Overflow or by Asif Khan
Published on 2010-04-17T15:31:52Z Indexed on 2010/04/17 15:33 UTC
Read the original article Hit count: 296

Filed under:
|
|
|

We all know the infamous "cannot redeclare class" error. Is there any method to overcome this and actually declare a new class with the same name, or is this impossible in PHP 5?

© Stack Overflow or respective owner

Related posts about php

Related posts about oop