rfc:readline_interactive_shell_result_function

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
rfc:readline_interactive_shell_result_function [2021/01/16 21:04] tandrerfc:readline_interactive_shell_result_function [2021/01/16 21:08] tandre
Line 126: Line 126:
 Only interactive sessions (''php -a'') are affected, by a difference in the output sent to stdout. The dumping of expression results can be disabled entirely with the ini setting ''cli.enable_interactive_shell_result_function = Off'', or temporarily by calling ''readline_interactive_shell_result_function(null)'' Only interactive sessions (''php -a'') are affected, by a difference in the output sent to stdout. The dumping of expression results can be disabled entirely with the ini setting ''cli.enable_interactive_shell_result_function = Off'', or temporarily by calling ''readline_interactive_shell_result_function(null)''
  
-In interactive sessions, this will start calling [''__debugInfo()''|https://www.php.net/manual/en/language.oop5.magic.php#object.debuginfo] when calling ''var_dump()'' on objects, which may throw or have other side effects after the expression is evaluated.+In interactive sessions, this will start calling [[https://www.php.net/manual/en/language.oop5.magic.php#object.debuginfo|__debugInfo()]if it exists due to calling ''var_dump()'' on objects. Implementations of ''__debugInfo()'' may throw or have other side effects after the expression is evaluated.
  
  
rfc/readline_interactive_shell_result_function.txt · Last modified: 2021/02/03 00:39 by tandre