A few ones

Discussion about the open-source Phalanger [?] project.

A few ones

Postby davidbcn » October 22nd, 2014, 1:41 am

A few things more I have come accross, trying to insert binary data through PDO:


No mapping exists from object type PHP.Core.PhpBytes to a known managed provider native type.

Happens when trying to do a bindValue of a PHP Byte array, for a binary SQL Column. Just try to do anything with a binary column in the database, throwing many exceptions.


PDOStatement.bindParam is not implemented, I tried to implement based on the bindValue implementation (documentation states they are exactly the same but bindValue uses reference to value)


$blobs[$blob_count] = fopen('php://memory', 'a');
fwrite($blobs[$blob_count], $value);

php://memory is not a recognized stream, I guess it is not implemented.
Posts: 87
Joined: September 10th, 2014, 3:07 am

Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 3 guests


User Control Panel


Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 151 on December 6th, 2020, 7:46 am

Users browsing this forum: No registered users and 3 guests