getQrSize(); $final = $qrCode->getFinal(); if ($qrCode->isBorderDisabled()) { $minSize = 4; $maxSize = $qrSize - 4; } else { $minSize = 0; $maxSize = $qrSize; } $s .= '' . "\n"; for ($y = $minSize; $y < $maxSize; $y++) { $s .= ''; for ($x = $minSize; $x < $maxSize; $x++) { $on = $final[$x + $y * $qrSize + 1]; $s .= ''; } $s .= '' . "\n"; } $s .= '
 
'; return $s; } }