Sha256: fab8af6539724f2f3001d64a8823d6e574493dd24f856582857d9510976d8210

Contents?: true

Size: 217 Bytes

Versions: 384

Compression:

Stored size: 217 Bytes

Contents

<?php

function transform($old)
{
    $new = [];
    foreach ($old as $points => $letters) {
        foreach ($letters as $letter) {
            $new[strtolower($letter)] = $points;
        }
    }
    return $new;
}

Version data entries

384 entries across 384 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/php/exercises/etl/example.php
trackler-2.2.1.179 tracks/php/exercises/etl/example.php
trackler-2.2.1.178 tracks/php/exercises/etl/example.php
trackler-2.2.1.177 tracks/php/exercises/etl/example.php
trackler-2.2.1.176 tracks/php/exercises/etl/example.php
trackler-2.2.1.175 tracks/php/exercises/etl/example.php
trackler-2.2.1.174 tracks/php/exercises/etl/example.php
trackler-2.2.1.173 tracks/php/exercises/etl/example.php
trackler-2.2.1.172 tracks/php/exercises/etl/example.php
trackler-2.2.1.171 tracks/php/exercises/etl/example.php
trackler-2.2.1.170 tracks/php/exercises/etl/example.php
trackler-2.2.1.169 tracks/php/exercises/etl/example.php
trackler-2.2.1.167 tracks/php/exercises/etl/example.php
trackler-2.2.1.166 tracks/php/exercises/etl/example.php
trackler-2.2.1.165 tracks/php/exercises/etl/example.php
trackler-2.2.1.164 tracks/php/exercises/etl/example.php
trackler-2.2.1.163 tracks/php/exercises/etl/example.php
trackler-2.2.1.162 tracks/php/exercises/etl/example.php
trackler-2.2.1.161 tracks/php/exercises/etl/example.php
trackler-2.2.1.160 tracks/php/exercises/etl/example.php