Fixed bugs in php – crash on query with errors in params

Thanks to Felipe Pena for fixing many php bugs related to firebird extension . This is an example how bug has been fixed in CVS.
http://bugs.php.net/bug.php?id=45373

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.