(PECL CUBRID >= 8.3.0)
cubrid_lock_read — Is used to put read lock
The cubrid_lock_read() function is used to put read lock on the instance pointed by given oid.
Connection identifier.
Oid of the instance that you want to put read lock on.
TRUE, when process is successful.
FALSE, when process is unsuccessful.
Beispiel #1 cubrid_lock_read() example
<?php
$lock_oid = cubrid_get ($con, $oid, "next_id");
$res = cubrid_lock_read ($con, $lock_oid);
?>