Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Arrayzy
AbstractArray
replace
Arrayzy\AbstractArray::replace PHP Метод
Документация по классу AbstractArray
Показать файл
Открыть проект
replace()
абстрактный
публичный
Метод
Replace values in the current array with values in the given one that have the same key.
abstract
public
replace
(
array
$array
,
boolean
$recursively
= false ) :
AbstractArray
$array
array
Array of replacing values
$recursively
boolean
Whether array will be replaced recursively or no
Результат
AbstractArray
An array with the same keys but new values
public abstract function replace(array $array, $recursively = false);
AbstractArray
__construct
checkType
chunk
clear
combine
contains
containsKey
count
create
createClone
createFromJson
createFromObject
createFromString
createWithRange
diff
except
exists
filter
find
flip
getIterator
getKeys
getRandom
getRandomKey
getRandomKeys
getRandomValues
getValues
indexOf
intersect
intersectAssoc
intersectKey
isAssoc
isEmpty
isNumeric
map
merge
offsetExists
offsetGet
offsetSet
offsetUnset
only
pad
reduce
reindex
replace
reverse
search
shuffle
slice
unique
walk