|
@@ 377-379 (lines=3) @@
|
| 374 |
|
$str .= "{$this->getText(['example', 'recognize', 'desc'])}".PHP_EOL; |
| 375 |
|
$str .= '```'.PHP_EOL; |
| 376 |
|
$str .= 'if ($captcha->recognize('; |
| 377 |
|
if ($this->texts['recognize_file']) { |
| 378 |
|
$str .= "'{$this->getText(['recognize', 'data', 'file'])}'"; |
| 379 |
|
} |
| 380 |
|
if ($this->texts['recognize_data']) { |
| 381 |
|
if ($this->texts['recognize_file']) { |
| 382 |
|
$str .= ', '; |
|
@@ 433-435 (lines=3) @@
|
| 430 |
|
$str .= PHP_EOL; |
| 431 |
|
$str .= 'try {'.PHP_EOL; |
| 432 |
|
$str .= ' $captcha->recognize('; |
| 433 |
|
if ($this->texts['recognize_file']) { |
| 434 |
|
$str .= "'{$this->getText(['recognize', 'data', 'file'])}'"; |
| 435 |
|
} |
| 436 |
|
if ($this->texts['recognize_data']) { |
| 437 |
|
if ($this->texts['recognize_file']) { |
| 438 |
|
$str .= ', '; |