PHP Classes

File: vendor/symfony/symfony/src/Symfony/Component/Debug/Resources/ext/tests/002_1.phpt

Recommend this page to a friend!
  Classes of Murat Cileli   Papernic   vendor/symfony/symfony/src/Symfony/Component/Debug/Resources/ext/tests/002_1.phpt   Download  
File: vendor/symfony/symfony/src/Symfony/Component/Debug/Resources/ext/tests/002_1.phpt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Papernic
Manage documents colaboratively
Author: By
Last change:
Date: 7 years ago
Size: 643 bytes
 

Contents

Class file image Download
--TEST-- Test symfony_debug_backtrace in case of non fatal error --SKIPIF-- <?php if (!extension_loaded("symfony_debug")) print "skip"; ?> --FILE-- <?php function bar() { bt(); } function bt() { print_r(symfony_debug_backtrace()); } bar(); ?> --EXPECTF-- Array ( [0] => Array ( [file] => %s [line] => %d [function] => bt [args] => Array ( ) ) [1] => Array ( [file] => %s [line] => %d [function] => bar [args] => Array ( ) ) )