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:

1)

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.

2)

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)

3)

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

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

Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 19 guests

cron

User Control Panel

Login

Who is online

In total there are 19 users online :: 0 registered, 0 hidden and 19 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 19 guests