PHP
处理控制 | Process Control

Collectable::setGarbage

Collectable::setGarbage

(PECL pthreads < 3.0.0)

Collectable::setGarbage — Mark an object as garbage

Warning

This method has been removed in pthreads v3.

Description

public void Collectable::setGarbage ( void )

Should be called once per object when the object is finished being executed or referenced.

See Also

  • Collectable::isGarbage() - Determine whether an object has been marked as garbage

← Collectable::isGarbage

Modifiers →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/collectable.setgarbage.php