array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'exception.construct.php', 1 => 'Exception::__construct', ), 'up' => array ( 0 => 'class.exception.php', 1 => 'Exception', ), 'prev' => array ( 0 => 'class.exception.php', 1 => 'Exception', ), 'next' => array ( 0 => 'exception.getmessage.php', 1 => 'Exception::getMessage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'tr', 'path' => 'language/predefined/exception/construct.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
Exception::__construct — İstisna oluşturur
İstisna oluşturur.
message
Oluşturulan istisna iletisi.
code
İstisna kodu.
previous
İstisna zincirindeki önceki istisna.
Bilginize: $code ve $message özellikleri zaten atanmışsa, istisna kurucusunu bir alt sınıftan çağırmak öntanımlı bağımsız değişkenleri yok sayar.
Bilginize:
message
bağımsız değişkeni ikil olarak güvenilir değildir.