Page MenuHomePhabricator

Don't export keys for non-associative arrays
ClosedPublic

Authored by joshuaspence on Jul 15 2014, 5:37 AM.
Tags
None
Referenced Files
F18044691: D9936.id23866.diff
Sun, Aug 3, 7:39 AM
Unknown Object (File)
Jul 3 2025, 2:37 PM
Unknown Object (File)
Jun 29 2025, 4:52 PM
Unknown Object (File)
Jun 29 2025, 4:52 PM
Unknown Object (File)
Jun 3 2025, 5:10 AM
Unknown Object (File)
May 30 2025, 2:52 AM
Unknown Object (File)
May 7 2025, 4:55 AM
Unknown Object (File)
May 7 2025, 2:37 AM
Subscribers

Details

Summary

phutil_var_export can produce cleaner output if keys are omitted for non-associative arrays. Depends on D9935.

Test Plan

arc unit

Diff Detail

Repository
rPHU libphutil
Branch
varexport-nonassoc_array
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1719
Build 1720: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Don't export keys for non-associative arrays.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jul 15 2014, 4:15 PM