ID:               30234
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sampw at hotmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Zend Engine 2 problem
 Operating System: WinXp Sp2 PHP 5.0.2
 PHP Version:      5.0.1
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.

__autload works perfectly on interfaces for me (we use it in our
framework), so we really need a reproducing script ..


Previous Comments:
------------------------------------------------------------------------

[2004-09-25 23:40:43] sampw at hotmail dot com

Description:
------------
__autoload() not invoked for interfaces.

If a class implements an interface, the class is invoked through
__autoload(), but the required interface not.

I don't know if it is a bug, but it makes sense to invoke interfaces
too. 

For example, if you need persistence objects (Objects in a Session! (A
little PHP Application Server :-)), you need __autoload() in order to
deserialize an object completly!
(Inorder to include the class definition! Deserialize does only recover
the class vars!) Stupid is that you have to know if the recovered object
has an interface because you have to include it to ...

Why __autoload() if it does not work with classes which implements
interfaces?





------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30234&edit=1

Reply via email to