$t = $c->startTransaction();
$lob = $t->createLOB();
+
+var_dump($lob->transaction === $t);
+
$lob->write(file_get_contents(__FILE__));
var_dump($lob->tell());
$lob->seek(0, SEEK_SET);
$dat = $lob->read(filesize(__FILE__));
-var_dump(hash("md5", $dat)==hash_file("md5", __FILE__));
+var_dump(md5($dat)===md5_file(__FILE__));
$lob->truncate(5);
DONE
--EXPECTF--
Test
-int(451)
+bool(true)
+int(474)
bool(true)
string(5) "%c?php"
DONE