Opened 10 years ago

Closed 6 years ago

#642 closed task (wontfix)

use "spl_autoload_register" instead of "!__autoload()"

Reported by: lemon-head Owned by:
Priority: major Milestone: unassigned
Component: FrameWork Keywords:
Cc: midsch

Description

quoting kyberfabrikken in sitepoint forums:

You can only have one function with the same name, which makes __autoload a bit cumbersome. For this reason, there is spl_autoload_register, which allows you to register any function as the autoload-handler, so that you can have multiple such functions.

This will make it easier to make BW work together with other software which may have its own autoload mechanism.

Also see spl_autoload_register in PHP manual

Change History (4)

comment:1 Changed 9 years ago by globetrotter_tt

  • Component changed from unknown to FrameWork

comment:2 Changed 6 years ago by TimLoal

  • Type changed from unknown to developer task

comment:3 Changed 6 years ago by jsfan

  • Milestone Future deleted

Milestone Future deleted

comment:4 Changed 6 years ago by midsch

  • Cc midsch added
  • Milestone set to unassigned
  • Resolution set to wontfix
  • Status changed from new to closed

Outdated Framework.

Note: See TracTickets for help on using tickets.