(PHP 4, PECL)
The swf_nextid() function returns the next available object id.
PHP-Nuke module of the PHP Manual brought to you by Chris Karakas