Empty string is a nonvalid literal value for the PostgreSQL boolean type. Fixed
Fixed MethodScanner that on latest prm value fails

Unit test for this case added anyway
- Create temporary table instead of create table temporary
Enable persistent connections for IbmDb2.

Usage example in global.php:
<?php
return array(
    'db' => array(
        'driver' => 'IbmDb2',
        'database' => '*LOCAL',
        'username' => 'GUIDO',
        'password' => 'GUIDO55',
        'persistent' => true,
        'driver_options' => array(
            'i5_naming' => DB2_I5_NAMING_ON,
            'i5_libl' => 'WSDATA QGPL'
        ),
        'platform_options' => array(
            'quote_identifiers' => false
        )
    ),
    
    'service_manager' => array(
        'factories' => array(
            'Zend\Db\Adapter\Adapter' =>
'Zend\Db\Adapter\AdapterServiceFactory'
        )
    )
);


Change-Id: I42ff3d52b2f112cefb828432c93eb409d42b2cad
Enable persistent connections for IBMi

'db' => array(
        'driver' => 'IbmDb2',
        'database' => '*LOCAL',
        'username' => 'USER',
        'password' => 'PASSWORD',
        'persistent' => true,
        'driver_options' => array(
            'i5_naming' => DB2_I5_NAMING_ON,
            'i5_libl' => 'SOMELIB QGPL'
        ),
        'platform_options' => array(
            'quote_identifiers' => false
        )
    ),

'persistent' accepts true/false, or can be left out

Change-Id: I8b42f83e7be794286fc5b23e8dc195bb22b23b66
Fixing a bug that causes fatal error when a RowGateway's primary key were changed directly : refresh the select's where clause after the update query.
[#5256] allow keys with less than maximum supported key length.
fixed coding style.
Was using count($keySizes) and thought !empty($keySizes) would be clearer and missed the '!'.
fixed test, short key should be usable with blowfish.
Also test for all algorithms, just to make sure that key really is short ( < 8).
Test key needs to be shorter than the shortest supported key size, which
is 5 bytes (cast-128). Replaced it with 'four'.
It slipped because somehow on cygwin cast-128 only support 16 bytes.
Unit test ZendTest\Db\Adapter\Driver\Pdo\ResultTest::testCurrent() tests current() returns consistent results

Zend\Db\Adapter\Driver\Pdo\Result::current() fix to prevent calling resource::fetch() on multiple calls

Patch for
fix formatting
Add license and comments
[#5432] Test if callback is an array prior to accessing as array

- Callbacks can be strings, objects (functors), or closures, too.
- Allow testing against functor callbacks
[#5432] Added test

- Finally determined a way to add a test for this.
[#5432] CS fixes

- Trailing whitespace
[#5432] Incorporate feedback

- Simplify logic when introspecting callback
[#5432] Use array_shift instead of specific index access

- per @Maks3w
Add security disclosure info to README/CONTRIBUTING docs