RT @ndtex: function panic_mode() { while (true) { echo (“PANIC!”); } } while (true) { panic_mode (); } #CurrentStatusInPHP #YesImANerd
RT @ndtex: function panic_mode() { while (true) { echo (“PANIC!”); } } while (true) { panic_mode (); } #CurrentStatusInPHP #YesImANerd
It’s a bit redundant, but sure. 🙂
There is no break in that loop, the computer will eventually crash or kill PHP or PHP will throw a failed to execute error… It also seems unnecessary to abstract this. Why not just do this:
$panic = true;
while ($panic) echo “PANIC!”;
I had another idea about this, but it’s way more complicated…
I actually kind of assumed the crash was desired. What says PANIC! more than crashing?