Sha256: 9ed91dc777c2634dfe01e18d6c1e80f805bf2b44f7cda24492a97e5fcb683d93

Contents?: true

Size: 274 Bytes

Versions: 396

Compression:

Stored size: 274 Bytes

Contents

<?php

// Implementation note:
// --------------------
// If the argument to parse_binary isn't a valid binary value the
// function should raise an \InvalidArgumentException
// with a meaningful error message.

function parse_binary($binary)
{
    // YOUR CODE GOES HERE
}

Version data entries

396 entries across 396 versions & 1 rubygems

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