Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php declare(strict_types=1); namespace Intervention\Image\Interfaces; interface Color..

Decoded Output download

<?php

declare(strict_types=1);

namespace Intervention\Image\Interfaces;

interface ColorspaceInterface
{
    /**
     * Convert given color to the format of the current colorspace
     *
     * @param ColorInterface $color
     * @return ColorInterface
     */
    public function importColor(ColorInterface $color): ColorInterface;

    /**
     * Create new color in colorspace from given normalized channel values
     *
     * @param array<float> $normalized
     * @return ColorInterface
     */
    public function colorFromNormalized(array $normalized): ColorInterface;
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace Intervention\Image\Interfaces;

interface ColorspaceInterface
{
    /**
     * Convert given color to the format of the current colorspace
     *
     * @param ColorInterface $color
     * @return ColorInterface
     */
    public function importColor(ColorInterface $color): ColorInterface;

    /**
     * Create new color in colorspace from given normalized channel values
     *
     * @param array<float> $normalized
     * @return ColorInterface
     */
    public function colorFromNormalized(array $normalized): ColorInterface;
}

Function Calls

None

Variables

None

Stats

MD5 0af749813d6f32d9d3d56f4a1816bbfe
Eval Count 0
Decode Time 101 ms