PHP » GoLang |
login |
register |
about
|
GoLang Threaded::merge
request it (741)
GoLang replacement for PHP's Threaded::merge
[edit | history]
Threaded::merge(PECL pthreads >= 2.0.0) Threaded::merge — Manipulation DescriptionMerges data into the current object Parameters
Return ValuesA boolean indication of success Examples
Example #1 Merging into the property table of a threaded object
<?phpThe above example will output:
object(Threaded)#2 (13) {
["0"]=>
int(0)
["1"]=>
int(1)
["2"]=>
int(2)
["3"]=>
int(3)
["4"]=>
int(4)
["5"]=>
int(5)
["6"]=>
int(6)
["7"]=>
int(7)
["8"]=>
int(8)
["9"]=>
int(9)
["foo"]=>
string(3) "bar"
["bar"]=>
string(3) "bar"
["baz"]=>
string(3) "baz"
}
|
more
Most requested
more
Last requests
|