|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2020-04-19 17:44 UTC] carusogabriel@php.net
[2020-04-19 21:37 UTC] anrdaemon at yandex dot ru
[2020-04-19 21:48 UTC] cmb@php.net
-Status: Open
+Status: Verified
[2020-04-19 21:48 UTC] cmb@php.net
[2020-04-19 21:49 UTC] cmb@php.net
[2020-04-20 12:55 UTC] anrdaemon at yandex dot ru
[2020-04-22 15:40 UTC] cmb@php.net
[2020-04-22 19:03 UTC] bd808@php.net
[2020-04-22 19:03 UTC] bd808@php.net
-Status: Verified
+Status: Closed
[2020-04-22 20:52 UTC] anrdaemon at yandex dot ru
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 05:00:01 2025 UTC |
Description: ------------ Aside from stated issue of using 32-bit signed int to process data, there's no way to get a clean document out of the extension. Both yaml_emit and yaml_emit_file add unwanted crap to the output. Test script: --------------- <?php $data = array ( 'audio' => array ( 'audioEnabled' => array ( 0 => 132317787432502136, 1 => 0, ), 'eveampGain' => array ( 0 => 132316833510704299, 1 => 0.25, ), ), ); var_dump($data); print yaml_emit($data); Expected result: ---------------- Either audio: audioEnabled: [132317787432502136, 0] eveampGain: [132316833510704299, 0.25] or audio: audioEnabled: - 132317787432502136 - 0 eveampGain: - 132316833510704299 - 0.25 Actual result: -------------- --- audio: audioEnabled: - -1654570120 - 0 eveampGain: - -2093628245 - 0.250000 ...