PHP is a popular general-purpose scripting language that is
especially suited to web development.
Fast, flexible and pragmatic, PHP powers everything from your blog to the largest social networking site in the world.
Begin Tutorial »
This section explains the merits of the new Garbage Collection (also known
as GC) mechanism that is part of PHP 5.3.
Memory cleanup for long-running scripts.
gc_enable(); // Enable Garbage Collector
var_dump(gc_enabled()); // true
var_dump(gc_collect_cycles()); // # of elements cleaned up
gc_disable(); // Disable Garbage Collector