Only pass used options to PHP