|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-07-15 08:00 UTC] hartmut at six dot de
try for example <?php @nonexistant_function(); echo "done\n"; ?> and you won't get any ouptut at all because execution is terminated due to calling a nonexistant function i just spent a lot of time debugging a set of script that denied to work on a server without giving any information about whats wrong only to find out that somewhere nested deep within all the files that got included was a @OCILogin(...) and this cauesd the script to die silently as no Oracle support was available in the PHP build i used ... :( PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 15:00:01 2025 UTC |
so i would suggest the following patch: zend_execute.c line 2330ff case ZEND_BEGIN_SILENCE: Ts[opline->result.u.var].tmp_var.value.lval = EG(error_reporting); Ts[opline->result.u.var].tmp_var.type = IS_LONG; - EG(error_reporting) = 0; + EG(error_reporting) = E_ERROR | E_USER_ERROR; NEXT_OPCODE();