/hphp/test/zend/good/Zend/tests/debug_backtrace_limit.php
http://github.com/facebook/hiphop-php · PHP · 17 lines · 14 code · 3 blank · 0 comment · 0 complexity · ae907b1fd955b2f023455f8319e7be9b MD5 · raw file
- <?hh
- function a() {
- b();
- }
- function b() {
- c();
- }
- function c() {
- print_r(debug_backtrace(0, 1));
- print_r(debug_backtrace(0, 2));
- print_r(debug_backtrace(0, 0));
- print_r(debug_backtrace(0, 4));
- }
- a();