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

Method set

text-to-qr/lib/phpqrcode/phpqrcode.php:99–101  ·  view source on GitHub ↗
(&$srctab, $x, $y, $repl, $replLen = false)

Source from the content-addressed store, hash-verified

97
98 class qrstr {
99 public static function set(&$srctab, $x, $y, $repl, $replLen = false) {
100 $srctab[$y] = substr_replace($srctab[$y], ($replLen !== false)?substr($repl,0,$replLen):$repl, $x, ($replLen !== false)?$replLen:strlen($repl));
101 }
102 }
103
104

Callers 3

putAlignmentMarkerMethod · 0.45
putFinderPatternMethod · 0.45
createFrameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected