Of Lambda Functions, Closures and Traits

PyWorks / php|works At a Glance

Location: Atlanta, GA
Dates: Nov. 12 (tutorials)
Nov. 13-14 (main)
Tutorials: 10
Talks: 65
Presented By






Become a sponsor or media sponsor today!
Media Sponsors










Become a sponsor or media sponsor today!
Day #1: November 13, 2008 @ 10:15 – 11:15
Presented by: Sebastian Bergmann
Talk focus: PHP

Lambda Functions and Closures allow the quick definition of throw-away functions (for use with array_map(), for instance) that are not used elsewhere. Traits reduce some limitations of single inheritance by enabling the reuse method sets freely in several independent classes. This session introduces the audience to the implementation of lambda functions, closures, and traits for PHP 5.4.