3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); try { throw new Exception('Throwable'); } catch(Exception $e) { echo "\n\n"; print($e); echo "\n\n"; printf($e); }

preferences:
25.23 ms | 404 KiB | 5 Q