3v4l.org

run code in 300+ PHP versions simultaneously
<?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"; }

preferences:
43.6 ms | 402 KiB | 5 Q