php: Fix segfault when function has an OStringList optional argument.

How this PHP/Zend stuff is supposed to work is not documented, but at
least with these changes it no longer segfaults.