Relies on Swig to modernize their PHP approach, so waiting on https://github.com/swig/swig/pull/1092.