|
@@ 393-395 (lines=3) @@
|
| 390 |
|
$str .= "{$this->getText(['example', 'recognize', 'desc'])}".PHP_EOL; |
| 391 |
|
$str .= '```'.PHP_EOL; |
| 392 |
|
$str .= 'if ($captcha->recognize('; |
| 393 |
|
if ($this->texts['recognize_file']) { |
| 394 |
|
$str .= "'{$this->getText(['recognize', 'data', 'file'])}'"; |
| 395 |
|
} |
| 396 |
|
if ($this->texts['recognize_data']) { |
| 397 |
|
if ($this->texts['recognize_file']) { |
| 398 |
|
$str .= ', '; |
|
@@ 449-451 (lines=3) @@
|
| 446 |
|
$str .= PHP_EOL; |
| 447 |
|
$str .= 'try {'.PHP_EOL; |
| 448 |
|
$str .= ' $captcha->recognize('; |
| 449 |
|
if ($this->texts['recognize_file']) { |
| 450 |
|
$str .= "'{$this->getText(['recognize', 'data', 'file'])}'"; |
| 451 |
|
} |
| 452 |
|
if ($this->texts['recognize_data']) { |
| 453 |
|
if ($this->texts['recognize_file']) { |
| 454 |
|
$str .= ', '; |