Adds fallback to php::input to fix #261.