PHP » GoLang |
login |
register |
about
|
GoLang ArrayObject::getArrayCopy
request it (543)
GoLang replacement for PHP's ArrayObject::getArrayCopy
[edit | history]
ArrayObject::getArrayCopy(PHP 5, PHP 7) ArrayObject::getArrayCopy — Creates a copy of the ArrayObject ParametersThis function has no parameters. Return ValuesReturns a copy of the array. When the ArrayObject refers to an object, an array of the public properties of that object will be returned. Examples
Example #1 ArrayObject::getArrayCopy() example
<?phpThe above example will output:
Array
(
[lemons] => 1
[oranges] => 4
[bananas] => 5
[apples] => 10
[pears] => 4
)
|
more
Most requested
more
Last requests
|