- var_dump: documentation ( source)
<?php
try {
echo zend_thread_id();
throw new Exception('Coucou');
} catch (Exception $e) {
echo zend_thread_id();
var_dump($e->getMessage());
return 'test';
} finally {
echo zend_thread_id();
echo "I'm going there";
}