https://github.com/FirebirdSQL/php-firebird/blob/23aca98bfb4d313afd67f1a8c1cad18b807bc268/ibase_query.c#L799 Should add the null flag when present otherwise subsequent calls to execute will ignore NULL values.