Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.www.php > #22375

$errcontext deprecato con php7.2

From off line <mail@inva.it>
Newsgroups it.comp.www.php
Subject $errcontext deprecato con php7.2
Date 2018-11-27 09:17 +0100
Organization Aioe.org NNTP Server
Message-ID <ptiuil$1ktm$1@gioia.aioe.org> (permalink)

Show all headers | View raw


http://php.net/manual/en/function.set-error-handler.php
  errcontext
     The fifth parameter is optional, errcontext, which is an array that 
points to the active symbol table at the point the error occurred. In 
other words, errcontext will contain an array of every variable that 
existed in the scope the error was triggered in. User error handler must 
not modify error context.

     Warning

     This parameter has been DEPRECATED as of PHP 7.2.0. Relying on it 
is highly discouraged.

Ma perchè, io questo parametro lo trovavo molto utile.
Un'alterativa?

Back to it.comp.www.php | Previous | Next | Find similar | Unroll thread


Thread

$errcontext deprecato con php7.2 off line <mail@inva.it> - 2018-11-27 09:17 +0100

csiph-web