PATH:
opt
/
alt
/
tests
/
alt-php82-pecl-xhprof-tideways_5.0.4-2.el8
/
tests
--TEST-- Tideways: Closure and Anonymous Classes --FILE-- <?php include_once dirname(__FILE__).'/common.php'; tideways_xhprof_enable(); $foo = function() {}; $foo(); $bar = new class () { public function baz() { } }; $bar->baz(); $output = tideways_xhprof_disable(); print_canonical($output); ?> --EXPECTF-- main() : ct= 1; wt=*; main()==>class@anonymous::baz : ct= 1; wt=*; main()==>tideways_xhprof_disable : ct= 1; wt=*; main()==>{closure} : ct= 1; wt=*;
[-] xhprof_006.phpt.php82-tests-fix
[edit]
[-] xhprof_001.phpt
[edit]
[-] xhprof_004.phpt
[edit]
[-] xhprof_002.phpt.php82-tests-fix
[edit]
[-] xhprof_008.phpt.php82-tests-fix
[edit]
[-] xhprof_003.phpt.php82-tests-fix
[edit]
[-] xhprof_002.phpt
[edit]
[-] xhprof_008.phpt
[edit]
[-] xhprof_005.phpt
[edit]
[+]
..
[-] xhprof_007.phpt
[edit]
[-] xhprof_003.phpt
[edit]
[-] common.php
[edit]
[-] xhprof_008.inc
[edit]
[-] xhprof_004.phpt.php82-tests-fix
[edit]
[-] xhprof_007.phpt.php82-tests-fix
[edit]
[-] xhprof_001.phpt.php82-tests-fix
[edit]
[-] xhprof_006.phpt
[edit]