コード例 #1
0
ファイル: pdo.php プロジェクト: rzhw/frucnatra
 public function F_transaction($block)
 {
     $this->begin_transaction(NULL);
     if (_isTruthy($block(NULL, $this))) {
         $this->commit(NULL);
     } else {
         $this->rollback(NULL);
     }
     return new F_NilClass();
 }
コード例 #2
0
ファイル: libfructose.php プロジェクト: rzhw/frucnatra
 public function __operator_lshift($block, $operand)
 {
     $this->__STRING .= $operand->F_to_s(NULL)->__STRING;
     if (_isTruthy($operand->F_tainted_QUES_(NULL))) {
         $this->F_taint(NULL);
     }
     return $this;
 }