cubrid_lock_read(PECL CUBRID >= 8.3.0) cubrid_lock_read — Set a read lock on the given OID Описание
   bool cubrid_lock_read
    ( resource $conn_identifier  
   , string $oid  
   ) 
  The cubrid_lock_read() function is used to put read lock on the instance pointed by given oid. Список параметров
 
 Возвращаемые значенияTRUE, when process is successful. FALSE, when process is unsuccessful. ПримерыПример #1 cubrid_lock_read() example 
<?phpРезультат выполнения данного примера: 
string(9) "{1, 2, 3}"
array(4) {
  ["a"]=>
  string(1) "1"
  ["b"]=>
  array(3) {
    [0]=>
    string(1) "1"
    [1]=>
    string(1) "2"
    [2]=>
    string(1) "3"
  }
  ["c"]=>
  array(4) {
    [0]=>
    string(2) "11"
    [1]=>
    string(2) "22"
    [2]=>
    string(2) "33"
    [3]=>
    string(3) "333"
  }
  ["d"]=>
  string(10) "a         "
}
 | 
||