Add PHP support for extractexpr

Adds PHP support for extract expression.