|
update : 2015.11.03
php.shukuma.com검색:
|
ArrayObject::getArrayCopy(PHP 5 >= 5.0.0) ArrayObject::getArrayCopy — Creates a copy of the ArrayObject. 인수이 함수는 인수가 없습니다. 반환값Returns a copy of the array. When the ArrayObject refers to an object an array of the public properties of that object will be returned. 예제
Example #1 ArrayObject::getArrayCopy() example
<?php위 예제의 출력:
Array
(
[lemons] => 1
[oranges] => 4
[bananas] => 5
[apples] => 10
[pears] => 4
)
|