-
-
Save stnvh/e050c86ed2aa284a1668 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function Crash() { | |
$test = array('Foo', 'Bar', 'Baz'); | |
# When calling an exception handler without a catch within a foreach loop, it kills httpd | |
foreach($test as $a) { | |
try { | |
echo 'goodbye apache'; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment