(PHP 4, PECL)
The swf_nextid() function returns the next available object id.
Returns the id, as an integer.