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