MCPcopy Create free account
hub / github.com/codemistic/Web-Development / eatKanji

Method eatKanji

text-to-qr/lib/phpqrcode/phpqrcode.php:2114–2127  ·  view source on GitHub ↗

----------------------------------------------------------------------

()

Source from the content-addressed store, hash-verified

2112
2113 //----------------------------------------------------------------------
2114 public function eatKanji()
2115 {
2116 $p = 0;
2117
2118 while($this->identifyMode($p) == QR_MODE_KANJI) {
2119 $p += 2;
2120 }
2121
2122 $ret = $this->input->append(QR_MODE_KANJI, $p, str_split($this->dataStr));
2123 if($ret < 0)
2124 return -1;
2125
2126 return $run;
2127 }
2128
2129 //----------------------------------------------------------------------
2130 public function eat8()

Callers 1

splitStringMethod · 0.95

Calls 3

identifyModeMethod · 0.95
str_splitFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected