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 namespace Livewire\Mechanisms\HandleComponents\Synthesizers; // This synth exists ..

Decoded Output download

<?php

namespace Livewire\Mechanisms\HandleComponents\Synthesizers;

// This synth exists solely to capture empty strings being set to integer properties...
class IntSynth extends Synth {
    public static $key = 'int';

    static function match($target) {
        return false;
    }

    static function matchByType($type) {
        return $type === 'int';
    }

    static function hydrateFromType($type, $value) {
        if ($value === '' || $value === null) return null;

        if ((int) $value == $value) return (int) $value;

        return $value;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Livewire\Mechanisms\HandleComponents\Synthesizers;

// This synth exists solely to capture empty strings being set to integer properties...
class IntSynth extends Synth {
    public static $key = 'int';

    static function match($target) {
        return false;
    }

    static function matchByType($type) {
        return $type === 'int';
    }

    static function hydrateFromType($type, $value) {
        if ($value === '' || $value === null) return null;

        if ((int) $value == $value) return (int) $value;

        return $value;
    }
}

Function Calls

None

Variables

None

Stats

MD5 36562244f4ab34b4381523581f53b420
Eval Count 0
Decode Time 104 ms