You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
241 B
15 lines
241 B
7 years ago
|
#! /usr/bin/env php
|
||
|
<?php
|
||
|
|
||
|
require_once __DIR__ . '/../base.php';
|
||
|
|
||
|
$selected = array_slice($argv, 1);
|
||
|
|
||
|
$output = [];
|
||
|
|
||
|
foreach ($selected as $key) {
|
||
|
$output[$key] = tr($key);
|
||
|
}
|
||
|
|
||
|
fwrite(STDOUT, json_encode($output, JSON_UNESCAPED_UNICODE));
|