Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] Autoloader invariant [RSS Feed]

#1 Dec. 31, 2010 00:38:18

Stas M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Autoloader invariant


Hi!When I am inside the body of an autoloader function, am I allowed
to assume the invariant that the class passed to the autoloader function
does not exist? Last time I checked, PHP was still single-threaded,Generally, yes, though nothing prevents somebody from calling the samefunction explicitly regardless of some class existence - the enginehowever wouldn't do so if the class exists.so this invariant being broken would be quite suprising to me, but
a user reports that they are seeing precisely this behavior from a
combination of Zend Debugger + APC.I'm not sure that APC and Zend Debugger are fully compatible, but if youseeing this it is probably some side effect of one of these two modules.IIRC Zend Debugger does nothing that concerns autoloader, so I'd look atAPC first.--
Stanislav Malyshev, Software Architect
SugarCRM:http://www.sugarcrm.com/(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

  • Root
  • » PHP
  • » [PHP-DEV] Autoloader invariant [RSS Feed]

Board footer

Moderator control

Enjoy the 17th of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support