[PHP-NOTES] note 130298 added to function.spl-autoload-register

[email protected] ("[email protected]")
Newsgroups php.notes
Message-ID <[email protected]>
<?php         
  function loader($CLASS) {
    if (preg_match("/CONTROLOD$/", $CLASS))
      require("CONTROLOD/$CLASS.php"); 
    else
      require("MODELURA/$CLASS.php");
  }
  spl_autoload_register("LOADER");
  
  Databusero::CONNECTITIDO("localhost", "root", "", "CLASSERA");
?>
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 193.165.236.202)
----
Manual Page -- https://php.net/manual/en/function.spl-autoload-register.php
Edit        -- https://main.php.net/note/edit/130298
Del: integrated  -- https://main.php.net/note/delete/130298/integrated
Del: useless     -- https://main.php.net/note/delete/130298/useless
Del: bad code    -- https://main.php.net/note/delete/130298/bad+code
Del: spam        -- https://main.php.net/note/delete/130298/spam
Del: non-english -- https://main.php.net/note/delete/130298/non-english
Del: in docs     -- https://main.php.net/note/delete/130298/in+docs
Del: other reasons-- https://main.php.net/note/delete/130298
Reject      -- https://main.php.net/note/reject/130298
Search      -- https://main.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.