WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
Using SPL iterators with PHP
The PHPCompute node provides support for the Standard PHP Library (SPL) syntax, which provides iterators that can be used in PHP code.
SPL iterators are classes that allow you to traverse a collection of data, processing each element of the collection in a specific way. A collection might be a simple serial list of elements, or a complex tree structure.
An SPL iterator, called MbsElementIterator, enables you to iterate over WebSphere® Message Broker messages, and provides support for filtering and recursion.
For more information about the MbsElementIterator class, see MbsElementIterator.
The following topics provide more information about iterating over
elements in the message tree: