Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 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;
 }