| @@ 358-365 (lines=8) @@ | ||
| 355 | { |
|
| 356 | if (is_string($context)) |
|
| 357 | { |
|
| 358 | if (function_exists('str' . $method)) |
|
| 359 | { |
|
| 360 | $callback = 'str' . $method; |
|
| 361 | } |
|
| 362 | else if (function_exists('str_' . $method)) |
|
| 363 | { |
|
| 364 | $callback = 'str_' . $method; |
|
| 365 | } |
|
| 366 | } |
|
| 367 | else if (is_array($context) || is_object($context)) |
|
| 368 | { |
|
| @@ 369-376 (lines=8) @@ | ||
| 366 | } |
|
| 367 | else if (is_array($context) || is_object($context)) |
|
| 368 | { |
|
| 369 | if (function_exists('ICanBoogie\array_' . $method)) |
|
| 370 | { |
|
| 371 | $callback = 'ICanBoogie\array_' . $method; |
|
| 372 | } |
|
| 373 | else if (function_exists('array_' . $method)) |
|
| 374 | { |
|
| 375 | $callback = 'array_' . $method; |
|
| 376 | } |
|
| 377 | } |
|
| 378 | } |
|
| 379 | ||