I once did a test for this, and the difference in execution time was negligible.
I am still curious though.
If error_reporting is set to zero, and "notice" errors are getting generated, does it matter much?
This code for example will generate NOTICE errors:
<?php
$a=array( 'red'=>255, 'green'=>200, 'blue'=>100 );
echo $a[red].'<br />'; //Notice error
echo $a['green'].'<br />'; //notice error
echo...
Code (markup):
from PHP https://ift.tt/34MJQjb
via IFTTT

0 Comments