Long history of involvement with PHP, PEAR, and The Horde Project ... fruits = ['apples', 'oranges', 'pears'] for fruit in fruits: print fruit. PHP: $code = END ...
the DOM is useful. Nevertheless, it's major weakness is not a design flaw: ... SAX, meet DOM. Instead of dispatching strings and integers, we can dispatch nodes: ...