Kuis materi Error Handling di PHP — uji pemahamanmu dengan pertanyaan pilihan ganda, penjelasan jawaban, dan skor langsung. Main gratis di Hyper Sheets.
try { riskyCode(); } ___ (Exception $e) { echo $e->getMessage(); }___ new \RuntimeException("Data tidak ditemukan");try { ... } catch (Exception $e) { ... } ___ { closeConnection(); }try { throw new Exception("Gagal"); echo "A"; } catch (Exception $e) { echo "B"; } finally { echo "C"; }