News for hackers. Stuff that matters.
Re:WAT the WTF do programmers use as debug strings? by RossM on Wednesday November 06, 2013 @02:12PM (#6684748)
In PHP I tend to do something like:

    dd(__DIR__.'/'.__FILE__.':'.__LINE__);
Which prints out the current script and line, and then stops execution (where dd is var_dump+exit).

There are no comments on this comment yet.