PHP Velho Oeste 2024

ibase_blob_open

(PHP 5, PHP 7 < 7.4.0)

ibase_blob_openデータの一部を取得するために blob をオープンする

説明

ibase_blob_open(resource $link_identifier, string $blob_id): resource|false
ibase_blob_open(string $blob_id): resource|false

既存の BLOB を読み込み用にオープンします。

パラメータ

link_identifier

InterBase リンク ID。省略した場合は、 最後にオープンしたリンクを使用します。

blob_id

BLOB の ID。

戻り値

後で ibase_blob_get() とともに使用する BLOB ハンドルを返します。失敗した場合に false を返します。

参考

add a note add a note

User Contributed Notes 1 note

up
1
Kevin Hamilton
18 years ago
While it is true that PHP4 allows only one parameter, it is not true that PHP5 allows only 2 parameters.  The correct function signature for PHP5 should be:

resource ibase_blob_open([ resource link_identifier, ] string blob_id)

If a link_identifier is not provided, then the "default" link_identifier will be used.  The default link identifier is assigned every time you call ibase_connect or ibase_pconnect, so if you have multiple connections it will be  whichever was connected LAST.
To Top