note 129819 added to function.debug-print-backtrace

From: Date: Thu, 24 Oct 2024 13:51:09 +0000
Subject: note 129819 added to function.debug-print-backtrace
Groups: php.notes 
Request: Send a blank email to php-notes+get-221610@lists.php.net to get a copy of this message
If you see string arguments and parameters getting cut off like this: #0 hook.php(324): output_notice('checkout_before...') #1 hook.php(348): invoke_hook('checkout_before...', Array) You can increase the maximum length of arguments and parameters in the printed trace through an PHP INI setting: <?php ini_set('zend.exception_string_param_max_len', 100); debug_print_backtrace(); ?> …so you can read the full arguments: #0 hook.php(324): output_notice('checkout_before_payment') #1 hook.php(348): invoke_hook('checkout_before_payment', Array) In edge cases, it might even uncover nested traces that you didn't notice before. ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.5.137 (proxied: 37.24.216.1) ---- Manual Page -- https://php.net/manual/en/function.debug-print-backtrace.php Edit -- https://main.php.net/note/edit/129819 Del: integrated -- https://main.php.net/note/delete/129819/integrated Del: useless -- https://main.php.net/note/delete/129819/useless Del: bad code -- https://main.php.net/note/delete/129819/bad+code Del: spam -- https://main.php.net/note/delete/129819/spam Del: non-english -- https://main.php.net/note/delete/129819/non-english Del: in docs -- https://main.php.net/note/delete/129819/in+docs Del: other reasons-- https://main.php.net/note/delete/129819 Reject -- https://main.php.net/note/reject/129819 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221610) next »