সম্পাদনা
<?php function user($name) { if ($name == "") { throw new Exception("ডেটা পাওয়া যায়নি"); } return $name; } try { echo user(""); } catch (Exception $error) { print_r($error->getTrace()); } ?>
পূর্বরূপ