php8.5

PHP Manual · 8.5

Find any function, class, or concept in seconds.

Home/Manual/Reference

Browse the reference

Everything in the manual, grouped the way you look it up. Filter by name to narrow instantly.

425 pages matching “array”

array

refentry

Create an array

ArrayObject::serialize

refentry

Serialize an ArrayObject

ArrayObject::unserialize

refentry

Unserialize an ArrayObject

ArrayIterator::getArrayCopy

refentry

Get array copy

ArrayIterator::__construct

refentry

Construct an ArrayIterator

array_replace

refentry

Replaces elements from passed arrays into the first array

ArrayIterator::key

refentry

Return current array key

ArrayIterator::current

refentry

Return current array entry

array_fill

refentry

Fill an array with values

array_intersect

refentry

Computes the intersection of arrays

array_chunk

refentry

Split an array into chunks

array_diff

refentry

Computes the difference of arrays

array_merge

refentry

Merge one or more arrays

ArrayObject::__construct

refentry

Construct a new array object

array_replace_recursive

refentry

Replaces elements from passed arrays into the first array recursively

array_multisort

refentry

Sort multiple or multi-dimensional arrays

array_slice

refentry

Extract a slice of the array

array_unique

refentry

Removes duplicate values from an array

CollectionModify::arrayAppend

refentry

Append element to an array field

CollectionModify::arrayInsert

refentry

Insert element into an array field

ArrayObject::getArrayCopy

refentry

Creates a copy of the ArrayObject

ArrayObject::exchangeArray

refentry

Exchange the array for another one

ArrayIterator::rewind

refentry

Rewind array back to the start

ArrayIterator::valid

refentry

Check whether array contains more entries

sqlsrv_fetch_array

refentry

Returns a row as an array

pg_fetch_array

refentry

Fetch a row as an array

array_values

refentry

Return all the values of an array

array_last

refentry

Gets the last value of an array

array_first

refentry

Gets the first value of an array

array_merge_recursive

refentry

Merge one or more arrays recursively

is_array

refentry

Finds whether a variable is an array

FFI::arrayType

refentry

Dynamically constructs a new C array type

ArrayObject::setIteratorClass

refentry

Sets the iterator classname for the ArrayObject

ArrayObject::getIteratorClass

refentry

Gets the iterator classname for the ArrayObject

iterator_to_array

refentry

Copy the iterator into an array

oci_bind_array_by_name

refentry

Binds a PHP array to an Oracle PL/SQL array parameter