PHP » GoLang |
login |
register |
about
|
GoLang Weakref::__construct
request it (358)
GoLang replacement for PHP's Weakref::__construct
[edit | history]
Weakref::__construct(PECL weakref >= 0.1.0) Weakref::__construct — Constructs a new weak reference Description
public Weakref::__construct
( object
$object
)Constructs a new weak reference. Parameters
Return ValuesNo value is returned. Examples
Example #1 Weakref::__construct() example
<?php The above example will output: Object still exists! object(MyClass)#1 (0) { } Destroying object! Object is dead! |
more
Recently updated
more
Most requested
more
Last requests
|