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 /** * This library allows you to quickly and easily send emails through Twilio * ..

Decoded Output download

<?php

/**
 * This library allows you to quickly and easily send emails through Twilio
 * SendGrid using PHP.
 *
 * @package SendGrid\Mail
 */
class TwilioEmail extends BaseSendGridClientInterface
{
    /**
     * Set up the HTTP Client.
     *
     * @param string $username Username to authenticate with
     * @param string $password Password to authenticate with
     * @param array $options An array of options, currently only "host", "curl",
     *                       "version", "verify_ssl", and "impersonateSubuser",
     *                       are implemented.
     */
    public function __construct($username, $password, $options = array())
    {
        $auth = 'Authorization: Basic ' . ase64_encode("$username:$password");
        $host = 'https://email.twilio.com';
        parent::__construct($auth, $host, $options);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/**
 * This library allows you to quickly and easily send emails through Twilio
 * SendGrid using PHP.
 *
 * @package SendGrid\Mail
 */
class TwilioEmail extends BaseSendGridClientInterface
{
    /**
     * Set up the HTTP Client.
     *
     * @param string $username Username to authenticate with
     * @param string $password Password to authenticate with
     * @param array $options An array of options, currently only "host", "curl",
     *                       "version", "verify_ssl", and "impersonateSubuser",
     *                       are implemented.
     */
    public function __construct($username, $password, $options = array())
    {
        $auth = 'Authorization: Basic ' . \base64_encode("$username:$password");
        $host = 'https://email.twilio.com';
        parent::__construct($auth, $host, $options);
    }
}

Function Calls

None

Variables

None

Stats

MD5 6b0fe39154bc9cc35b987e1029ddc07f
Eval Count 0
Decode Time 110 ms