display_errors çalışmıyor

0 Cevap

I'm trying to make errors hidden but it seems I'm doing something wrong. In my hosting configuration display_errors is set to off and I don't have .htaccess file. I tried to write follownng script

<?php
    echo ord(ini_get("display_errors")) . " ";
    die("error");
?>

Ve ben şu çıktıyı alıyorum:

0 error

Yani, display_errors kapalı olarak ayarlanır, ancak die() fonksiyonu hala ekranda hata gösterir. Bunu önlemek için nasıl?

0 Cevap