Details
Details
$ cat test.php <?php require_once 'scripts/init/init-script.php'; $conn = id(new PhabricatorUser())->establishConnection('r'); $query = qsprintf( $conn, 'SELECT %P', new PhutilOpaqueEnvelope('hunter2')); echo $query."\n"; var_dump(queryfx_one($conn, '%Q', $query));
$ php -f test.php SELECT ******** array(1) { ["hunter2"]=> string(7) "hunter2" }
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Branch
- qobject2
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 21097 Build 28672: Run Core Tests Build 28671: arc lint + arc unit