Last active 1 month ago
php
0
0
1
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Returns caller class/file name, function and line where current |
| 5 | * |
| 6 | * Potentially doesn't cover all cases, but is simple and pretty handy for use in frameworks. |
| 7 | * |
| 8 | * @param bool $as_array result as array or string in this format: `<file|class>:<func>():<line>` |
| 9 | * @return string|array |
| 10 | */ |
