📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-07-01 12:25:59
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php80-pecl-yaml_2.2.3-1.el8
/
tests
📍 /opt/alt/tests/alt-php80-pecl-yaml_2.2.3-1.el8/tests
🔄 Refresh
✏️
Editing: yaml_emit_007.phpt
Read Only
--TEST-- yaml_emit - recursive structures --SKIPIF-- <?php if(!extension_loaded('yaml')) die('skip yaml n/a'); ?> --FILE-- <?php $recursive = array( "a" => "a", "b" => "b", "c" => &$recursive, ); var_dump(yaml_emit($recursive)); // clean up a little or we may see false memory leak reports unset($recursive['c']); ?> --EXPECT-- string(56) "--- a: a b: b c: &refid1 a: a b: b c: *refid1 ... "
💾 Save Changes
❌ Cancel