⊗dpPPAdED 26 of 27 menu

Eliminating PHP Error Duplicates in VS

It can be quite inconvenient when the same error is repeated many times in the error log file. It is possible to prevent error duplicates from being written to the file.

Let's do this:

<?php ini_set('display_errors', 'off'); ini_set('log_errors', 'on'); ini_set('error_log', 'logs/errors.log'); ini_set('ignore_repeated_errors', 'on'); ini_set('ignore_repeated_source', 'on'); echo $test; ?>

Make sure that error duplicates are not saved to the file. Ensure that everything works.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline