Sponsored Content
The Lounge What is on Your Mind? The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Scrutinizer Post 303029291 by vbe on Thursday 24th of January 2019 10:43:33 AM
Old 01-24-2019
Congrats my friend!
Well deserved...
This User Gave Thanks to vbe For This Post:
 

8 More Discussions You Might Find Interesting

1. Cybersecurity

Root password lifetime default

Hello everyone! Could someone tell me where and how can I change the default value for root password lifetime. Now it is 30 days and I want to increase it on 90. The passwd -x doesn't help because after 90 days it will again go to default value. The OS is Tru64 5.1 and enhanced security is... (1 Reply)
Discussion started by: veccinho
1 Replies

2. What is on Your Mind?

Four More UNIX.COM Achievement Award Badges to Award

Happy New Year! There are currently four UNIX.COM achievement awards up for grabs, as the say. Here they are, in no particular order: The Order of the Raven The Order of the Hippo The Order of the Spider The Order of the Dragon Don't ask me what they mean, or who who will get those... (0 Replies)
Discussion started by: Neo
0 Replies

3. What is on Your Mind?

The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Corona688

Congrats to Corona688 for a much deserved and long overdue lifetime achievement award badge from UNIX.COM in computer wizardry: "The Order of the Wizard's Hat - Lifetime Achievement Award" This "Order of the Wizard's Hat" is presented to Corona688 in 2019 for UNIX Wizardry and his continued... (6 Replies)
Discussion started by: Neo
6 Replies

4. What is on Your Mind?

The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch

Please join me in congratulations to Wolf Machowitsch (bakunin) for his long overdue lifetime achievement award badge from UNIX.COM in computer wizardry: "The Order of the Wizard's Hat - Lifetime Achievement Award" This "Order of the Wizard's Hat" is presented to Wolf Machowitsch (bakunin)... (11 Replies)
Discussion started by: Neo
11 Replies

5. What is on Your Mind?

The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wisecracker

Congrats to wisecracker for the first lifetime achievement award badge from UNIX.COM in computer wizardry: "The Order of the Wizard's Hat - Lifetime Achievement Award" The first "Order of the Wizard's Hat" is presented to wisecracker in 2019 for RF Electronics Engineering and Computer... (6 Replies)
Discussion started by: Neo
6 Replies

6. What is on Your Mind?

The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to RudiC

Please join me in congratulating RudiC for his long overdue lifetime achievement award badge from UNIX.COM in computer wizardry: "The Order of the Wizard's Hat - Lifetime Achievement Award" This "Order of the Wizard's Hat" is presented to RudiC for Computer Wizardry in the UNIX Operating... (10 Replies)
Discussion started by: Neo
10 Replies

7. What is on Your Mind?

Poster of the Year 2019 Award Announcement and Call for Nominations

Dear All, I am pleased to post that I am announcing a new award, "Poster of the Year 2019" and calling for your nominations (privately to me). This is a new award and I plan to announce the winner for this year (2019) in January 2020. The prizes will be (still working out the details): ... (0 Replies)
Discussion started by: Neo
0 Replies

8. What is on Your Mind?

Moderator of the Year 2019 Award Announcement Only

Dear All, We are happy to post that I will be announcing soon my award for "Moderator of the Year 2019". This is a new award which I plan to announce in December of each year, starting this year (2019). The prizes will be (still working out the details): A Moderator of the Year... (3 Replies)
Discussion started by: Neo
3 Replies
DEBUG_BACKTRACE(3)							 1							DEBUG_BACKTRACE(3)

debug_backtrace - Generates a backtrace

SYNOPSIS
array debug_backtrace ([int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT], [int $limit]) DESCRIPTION
debug_backtrace(3) generates a PHP backtrace. PARAMETERS
o $options - As of 5.3.6, this parameter is a bitmask for the following options: debug_backtrace(3) options +-------------------------------+---------------------------------------------------+ |DEBUG_BACKTRACE_PROVIDE_OBJECT | | | | | | | Whether or not to populate the "object" index. | | | | | DEBUG_BACKTRACE_IGNORE_ARGS | | | | | | | Whether or not to omit the "args" index, and | | | thus all the function/method arguments, to save | | | memory. | | | | +-------------------------------+---------------------------------------------------+ Before 5.3.6, the only values recognized are TRUE or FALSE, which are the same as setting or not setting the DEBUG_BACKTRACE_PRO- VIDE_OBJECT option respectively. o $limit - As of 5.4.0, this parameter can be used to limit the number of stack frames returned. By default ($limit= 0) it returns all stack frames. RETURN VALUES
Returns an array of associative arrays. The possible returned elements are as follows: Possible returned elements from debug_backtrace(3) +---------+--------------------------------------+---+ | Name | | | | | | | | | Type | | | | | | | | Description | | | | | | +---------+--------------------------------------+---+ |function | | | | | | | | | | | | | string | | | | | | | | The current function name. See also | | | | __FUNCTION__. | | | | | | | line | | | | | | | | | | | | | integer | | | | | | | | The current line number. See also | | | | __LINE__. | | | | | | | file | | | | | | | | | | | | | string | | | | | | | | The current file name. See also | | | | __FILE__. | | | | | | | class | | | | | | | | | | | | | string | | | | | | | | The current class name. See also | | | | __CLASS__ | | | | | | | object | | | | | | | | | | | | | object | | | | | | | | The current object. | | | | | | | type | | | | | | | | | | | | | string | | | | | | | | The current call type. If a method | | | | call, "->" is returned. If a static | | | | method call, "::" is returned. If a | | | | function call, nothing is returned. | | | | | | | args | | | | | | | | | | | | | array | | | | | | | | If inside a function, this lists | | | | the functions arguments. If inside | | | | an included file, this lists the | | | | included file name(s). | | | | | | +---------+--------------------------------------+---+ CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.4.0 | | | | | | | Added the optional parameter $limit. | | | | | 5.3.6 | | | | | | | The parameter $provide_object changed to | | | $options and additional option DEBUG_BACK- | | | TRACE_IGNORE_ARGS is added. | | | | | 5.2.5 | | | | | | | Added the optional parameter $provide_object. | | | | | 5.1.1 | | | | | | | Added the current object as a possible return | | | element. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 debug_backtrace(3) example <?php // filename: /tmp/a.php function a_test($str) { echo " Hi: $str"; var_dump(debug_backtrace()); } a_test('friend'); ?> <?php // filename: /tmp/b.php include_once '/tmp/a.php'; ?> Results similar to the following when executing /tmp/b.php: Hi: friend array(2) { [0]=> array(4) { ["file"] => string(10) "/tmp/a.php" ["line"] => int(10) ["function"] => string(6) "a_test" ["args"]=> array(1) { [0] => &string(6) "friend" } } [1]=> array(4) { ["file"] => string(10) "/tmp/b.php" ["line"] => int(2) ["args"] => array(1) { [0] => string(10) "/tmp/a.php" } ["function"] => string(12) "include_once" } } SEE ALSO
trigger_error(3), debug_print_backtrace(3). PHP Documentation Group DEBUG_BACKTRACE(3)
All times are GMT -4. The time now is 08:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy