1 2 3 4 5 6 7
<?php$triggerException = function () use ($message, $code) { throw new Exception($message, $code);};$triggerException();