<?php function foo ($i) { echo $i; throw new \Exception(); } try { array_map('foo', [1, 2]); } catch(\Exception $e) { echo 'Exception caught'; }
You have javascript disabled. You will not be able to edit any code.