Cod: Selectaţi tot
include 'fisier_neexistent';
Cod: Selectaţi tot
<br />
<b>Warning</b>: main(neexistent) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>c:\www\eroare.php</b> on line <b>2</b><br />
<br />
<b>Warning</b>: main() [<a href='function.include'>function.include</a>]: Failed opening 'neexistent' for inclusion (include_path='.;c:\php\pear') in <b>c:\www\eroare.php</b> on line <b>2</b><br />
Documentatia zice asa:
http://www.php.net/manual/en/ref.errorfunc.php#ini.html-errors scrie:html_errors boolean
Turn off HTML tags in error messages. The new format for HTML errors produces clickable messages that direct the user to a page describing the error or function in causing the error. These references are affected by docref_root and docref_ext.
O fi vreo cale sa revin la vechiul format pentru erori html?
Ca precizare,
Cod: Selectaţi tot
var_dump(array(ini_get('docref_root'), ini_get('docref_ext')));
Cod: Selectaţi tot
array(2) {
[0]=>
string(0) ""
[1]=>
string(0) ""
}