note 129087 added to throwable.gettrace

From: Date: Mon, 04 Dec 2023 19:49:46 +0000
Subject: note 129087 added to throwable.gettrace
Groups: php.notes 
Request: Send a blank email to php-notes+get-221041@lists.php.net to get a copy of this message
Note that, where debug_backtrace() accepts an argument, which lets you configure options for the backtrace, getTrace() has no such argument. Whether the getTrace method captures arguments instead depends on the zend.exception_ignore_args INI setting, which must be set to 0 ahead of time, before an exception occurs. (notice the confusing double negation here - to *enable* capture of arguments, you must *disable* this INI flag.) Unlike debug_backtrace(), the getTrace method does not appear to capture the object value. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 87.58.42.10) ---- Manual Page -- https://php.net/manual/en/throwable.gettrace.php Edit -- https://main.php.net/note/edit/129087 Del: integrated -- https://main.php.net/note/delete/129087/integrated Del: useless -- https://main.php.net/note/delete/129087/useless Del: bad code -- https://main.php.net/note/delete/129087/bad+code Del: spam -- https://main.php.net/note/delete/129087/spam Del: non-english -- https://main.php.net/note/delete/129087/non-english Del: in docs -- https://main.php.net/note/delete/129087/in+docs Del: other reasons-- https://main.php.net/note/delete/129087 Reject -- https://main.php.net/note/reject/129087 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221041) next »