php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
incomplete_class.c File Reference
#include "php.h"
#include "basic_functions.h"
#include "php_incomplete_class.h"

Go to the source code of this file.

Macros

#define INCOMPLETE_CLASS_MSG
 

Functions

PHPAPI void php_register_incomplete_class_handlers (void)
 
PHPAPI zend_stringphp_lookup_class_name (zend_object *object)
 
PHPAPI void php_store_class_name (zval *object, zend_string *name)
 

Variables

PHPAPI zend_class_entryphp_ce_incomplete_class
 

Macro Definition Documentation

◆ INCOMPLETE_CLASS_MSG

#define INCOMPLETE_CLASS_MSG
Value:
"The script tried to %s on an incomplete object. " \
"Please ensure that the class definition \"%s\" of the object " \
"you are trying to operate on was loaded _before_ " \
"unserialize() gets called or provide an autoloader " \
"to load the class definition"

Definition at line 21 of file incomplete_class.c.

Function Documentation

◆ php_lookup_class_name()

PHPAPI zend_string * php_lookup_class_name ( zend_object * object)

Definition at line 126 of file incomplete_class.c.

◆ php_register_incomplete_class_handlers()

PHPAPI void php_register_incomplete_class_handlers ( void )

Definition at line 111 of file incomplete_class.c.

◆ php_store_class_name()

PHPAPI void php_store_class_name ( zval * object,
zend_string * name )

Definition at line 141 of file incomplete_class.c.

Variable Documentation

◆ php_ce_incomplete_class

PHPAPI zend_class_entry* php_ce_incomplete_class

Definition at line 28 of file incomplete_class.c.