addData('otpauth://totp/test?secret=B3JX4VCVJDVNXNZ5&issuer=chillerlan.net') ->make(); for($row = 0; $row < $qrcode->moduleCount; $row++){ for($col = 0; $col < $qrcode->moduleCount; $col++){ echo $qrcode->isDark($row, $col) ? 'X' : ' '; } echo PHP_EOL; } echo 'QRCode '.round((microtime(true)-$starttime), 5).PHP_EOL;