phpday 2027 - Call for Papers

__autoload

(PHP 5, PHP 7)

__autoload — Intenta cargar una clase sin definir

Advertencia

Esta función está OBSOLETA a partir de PHP 7.2.0, y ha sido ELIMINADA a partir de PHP 8.0.0. Depender de esta función está altamente desaconsejado.

Descripción

function __autoload(string $class): void

Puede definir esta función para habilitar la carga de clases.

Parámetros

class

Nombre de la clase a cargar

Valores devueltos

No se retorna ningún valor.

Véase también

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top