Allow csprintf to format an array of readable strings.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rPHU1ba1de50e9ee: Add `%LR` support to `csprintf`.
I didn't create any test cases because there aren't any existing test cases for csprintf. Instead, I used the following script:
<?php require_once __DIR__.'/scripts/__init_script__.php'; echo csprintf('%LR', array('foo', '--not', 'bar'))."\n"; echo csprintf('%LR', array('foo', '--not bar'))."\n";
The output was as follows:
foo --not bar foo '--not bar'
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Closed by commit rPHU1ba1de50e9ee (authored by @joshuaspence, committed by @epriestley).