📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 22:41:09
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php84-pecl-xhprof-tideways_5.0.4-2.el8
/
tests
📍 /opt/alt/tests/alt-php84-pecl-xhprof-tideways_5.0.4-2.el8/tests
🔄 Refresh
✏️
Editing: xhprof_004.phpt
Read Only
--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-- class@anonymous::baz : ct= 1; wt=*; main() : ct= 1; wt=*; tideways_xhprof_disable : ct= 1; wt=*; tideways_xhprof_disable==>tideways_xhprof_disable@1: ct= 1; wt=*; {closure:%s:%d}: ct= 1; wt=*;
💾 Save Changes
❌ Cancel