Can you give me an example, in PHP, that shows how closures are helpful in creating a DSL (fluent interface)?
edit: The accepted answer in the following question tells about nested closures. If someone could translate that example to PHP that would be helpful too: Experience with fluent interfaces? I need your opinion!