mirror of
https://github.com/php/presentations.git
synced 2026-03-24 07:32:11 +01:00
10 lines
296 B
XML
10 lines
296 B
XML
<slide title="Error Tracking Solution">
|
|
|
|
<blurb fontsize="3em">
|
|
PHP has four magic constants, %__FILE__%, %__LINE__%, %__FUNCTION__% and %__CLASS__% that can be
|
|
used to backtrack to the source of the problem.
|
|
</blurb>
|
|
|
|
<example fontsize="2em" type="php" filename="error_solution.php" />
|
|
|
|
</slide> |