6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/16/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6284] Support YAML literal documents
*
Your Email Address
*
Spam protection
Enter the letters below:
. .._.. .. . __ |\/| | |\ |\ // ` | |_|_| \| \/ \__.
Comment
> Explanation from Alexei Zakhlestin: > > > > I noticed, that you limit yaml-documents only to the ones which > provide arrays, which is not always true. yaml-document can consist > of the single literal (string, null, number, etc) and still be valid. > Currently, whenever syck_load() returns anything but array, you force > result to be empty array(). > > > > Simple test-case: > > > > <?php > > > > require 'Horde/Yaml.php'; > > > > $doc = 'test'; > > > > var_dump(syck_load($doc)); > > var_dump(Horde_Yaml::load($doc)); > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers