php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
spl_fixedarray.c File Reference
#include "php.h"
#include "zend_interfaces.h"
#include "zend_exceptions.h"
#include "zend_attributes.h"
#include "spl_fixedarray_arginfo.h"
#include "spl_fixedarray.h"
#include "spl_exceptions.h"
#include "ext/json/php_json.h"

Go to the source code of this file.

Data Structures

struct  _spl_fixedarray
 
struct  _spl_fixedarray_object
 
struct  _spl_fixedarray_it
 

Macros

#define HAS_FIXEDARRAY_ARRAYACCESS_OVERRIDE(object, method)
 
#define Z_SPLFIXEDARRAY_P(zv)
 

Typedefs

typedef struct _spl_fixedarray spl_fixedarray
 
typedef struct _spl_fixedarray_object spl_fixedarray_object
 
typedef struct _spl_fixedarray_it spl_fixedarray_it
 

Functions

 PHP_METHOD (SplFixedArray, __construct)
 
 PHP_METHOD (SplFixedArray, __wakeup)
 
 PHP_METHOD (SplFixedArray, __serialize)
 
 PHP_METHOD (SplFixedArray, __unserialize)
 
 PHP_METHOD (SplFixedArray, count)
 
 PHP_METHOD (SplFixedArray, toArray)
 
 PHP_METHOD (SplFixedArray, fromArray)
 
 PHP_METHOD (SplFixedArray, getSize)
 
 PHP_METHOD (SplFixedArray, setSize)
 
 PHP_METHOD (SplFixedArray, offsetExists)
 
 PHP_METHOD (SplFixedArray, offsetGet)
 
 PHP_METHOD (SplFixedArray, offsetSet)
 
 PHP_METHOD (SplFixedArray, offsetUnset)
 
 PHP_METHOD (SplFixedArray, getIterator)
 
 PHP_METHOD (SplFixedArray, jsonSerialize)
 
 PHP_MINIT_FUNCTION (spl_fixedarray)
 

Variables

PHPAPI zend_class_entryspl_ce_SplFixedArray
 

Macro Definition Documentation

◆ HAS_FIXEDARRAY_ARRAYACCESS_OVERRIDE

#define HAS_FIXEDARRAY_ARRAYACCESS_OVERRIDE ( object,
method )
Value:
UNEXPECTED((object)->ce != spl_ce_SplFixedArray && (object)->ce->arrayaccess_funcs_ptr->method->common.scope != spl_ce_SplFixedArray)
PHPAPI zend_class_entry * spl_ce_SplFixedArray
#define UNEXPECTED(condition)

Definition at line 37 of file spl_fixedarray.c.

◆ Z_SPLFIXEDARRAY_P

#define Z_SPLFIXEDARRAY_P ( zv)
Value:
spl_fixed_array_from_obj(Z_OBJ_P((zv)))
zval * zv
Definition ffi.c:3975
#define Z_OBJ_P(zval_p)
Definition zend_types.h:990

Definition at line 63 of file spl_fixedarray.c.

Typedef Documentation

◆ spl_fixedarray

◆ spl_fixedarray_it

◆ spl_fixedarray_object

Function Documentation

◆ PHP_METHOD() [1/15]

PHP_METHOD ( SplFixedArray ,
__construct  )

Definition at line 540 of file spl_fixedarray.c.

◆ PHP_METHOD() [2/15]

PHP_METHOD ( SplFixedArray ,
__serialize  )

Definition at line 592 of file spl_fixedarray.c.

◆ PHP_METHOD() [3/15]

PHP_METHOD ( SplFixedArray ,
__unserialize  )

Definition at line 625 of file spl_fixedarray.c.

◆ PHP_METHOD() [4/15]

PHP_METHOD ( SplFixedArray ,
__wakeup  )

Definition at line 565 of file spl_fixedarray.c.

◆ PHP_METHOD() [5/15]

PHP_METHOD ( SplFixedArray ,
count  )

Definition at line 670 of file spl_fixedarray.c.

◆ PHP_METHOD() [6/15]

PHP_METHOD ( SplFixedArray ,
fromArray  )

Definition at line 704 of file spl_fixedarray.c.

◆ PHP_METHOD() [7/15]

PHP_METHOD ( SplFixedArray ,
getIterator  )

Definition at line 866 of file spl_fixedarray.c.

◆ PHP_METHOD() [8/15]

PHP_METHOD ( SplFixedArray ,
getSize  )

Definition at line 766 of file spl_fixedarray.c.

◆ PHP_METHOD() [9/15]

PHP_METHOD ( SplFixedArray ,
jsonSerialize  )

Definition at line 875 of file spl_fixedarray.c.

◆ PHP_METHOD() [10/15]

PHP_METHOD ( SplFixedArray ,
offsetExists  )

Definition at line 801 of file spl_fixedarray.c.

◆ PHP_METHOD() [11/15]

PHP_METHOD ( SplFixedArray ,
offsetGet  )

Definition at line 816 of file spl_fixedarray.c.

◆ PHP_METHOD() [12/15]

PHP_METHOD ( SplFixedArray ,
offsetSet  )

Definition at line 836 of file spl_fixedarray.c.

◆ PHP_METHOD() [13/15]

PHP_METHOD ( SplFixedArray ,
offsetUnset  )

Definition at line 851 of file spl_fixedarray.c.

◆ PHP_METHOD() [14/15]

PHP_METHOD ( SplFixedArray ,
setSize  )

Definition at line 779 of file spl_fixedarray.c.

◆ PHP_METHOD() [15/15]

PHP_METHOD ( SplFixedArray ,
toArray  )

Definition at line 683 of file spl_fixedarray.c.

◆ PHP_MINIT_FUNCTION()

PHP_MINIT_FUNCTION ( spl_fixedarray )

Definition at line 965 of file spl_fixedarray.c.

Variable Documentation

◆ spl_ce_SplFixedArray

PHPAPI zend_class_entry* spl_ce_SplFixedArray

Definition at line 33 of file spl_fixedarray.c.