Parentheses

62
reputation
8

18% of the time I'm doing something productive.

19% of the time I'm not doing something productive.

110% of the time, I'm debugging this:

Error in function throwError()
Stack trace:
called from error.Error.Error.Error.Error.Error.error.error.error.Error.ErrorException
called from error.Error.Error.error.Error.Error.Error.ErrorException
called from error.Error.error.error.Error.Error.ErrorException
called from error.Error.Error.Error.Error.error.error.ErrorException
called from error.error.Error.error.Error.error.error.Error.ErrorException
called from error.Error.Error.Error.error.error.error.ErrorException
called from error.error.error.error.error.ErrorException
called from error.Error.Error.error.error.error.error.ErrorException
called from error.error.Error.error.Error.Error.Error.error.Error.error.ErrorException
called from error.Error.Error.Error.error.Error.ErrorException
called from error.Error.error.error.Error.ErrorException
called from error.Error.error.Error.error.Error.ErrorException
called from error.error.error.error.error.Error.Error.error.Error.ErrorException
called from error.error.Error.error.error.Error.Error.ErrorException
called from error.error.Error.Error.Error.ErrorException
called from error.Error.Error.error.error.error.error.Error.ErrorException
called from error.error.Error.Error.error.Error.Error.error.ErrorException
called from error.error.Error.Error.error.error.ErrorException
called from error.Error.error.error.Error.error.error.Error.ErrorException
called from error.Error.Error.Error.error.ErrorException
called from error.error.Error.Error.Error.Error.error.error.error.Error.ErrorException
called from error.error.Error.Error.Error.error.error.ErrorException
called from error.error.Error.error.error.ErrorException
called from error.Error.Error.error.Error.Error.error.Error.Error.ErrorException
called from error.Error.error.Error.error.ErrorException
called from error.Error.Error.error.error.ErrorException
called from error.Error.error.error.error.Error.ErrorException
called from error.error.Error.Error.Error.ErrorException
Out of memory

I wrote that in my 19% of time.

Wanna check it out? Copy and paste this:

<?php
    $x = rand(20,30);
    $i = 0;
    echo "Error in function throwError()\nStack trace:\n";
    do {
        $i++;
        $y = rand(5,10);
        $j = 0;
        echo "called from ";
        do {
            $j++;
            $s = "error";
            if ($j != 1 && rand(0,1) != 0) {
                $s = "Error";
            }
            echo $s;
            echo "."; 
        } while ($j < $y);
        echo "ErrorException\n";
    } while ($i < $x);
    die("Out of memory\n");
?>