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 $sur = new CairoImageSurface(CairoFormat::ARGB32, 2, 2); $con = new CairoContext($su..

Decoded Output download

<?php
$sur = new CairoImageSurface(CairoFormat::ARGB32, 2, 2);
$con = new CairoContext($sur);
$s = new CairoImageSurface(CairoFormat::ARGB32, 2, 2);
$file = fopen(dirname(__FILE__)  ."/create-from-png-ref.png","r");
$s->createFromPng($file);
$con->setSourceSurface($s);
$con->paint();

$sur->writeToPng(dirname(__FILE__)  . "/create-from-png-stream-php.png");
?>

Did this file decode correctly?

Original Code

<?php
$sur = new CairoImageSurface(CairoFormat::ARGB32, 2, 2);
$con = new CairoContext($sur);
$s = new CairoImageSurface(CairoFormat::ARGB32, 2, 2);
$file = fopen(dirname(__FILE__)  ."/create-from-png-ref.png","r");
$s->createFromPng($file);
$con->setSourceSurface($s);
$con->paint();

$sur->writeToPng(dirname(__FILE__)  . "/create-from-png-stream-php.png");
?>

Function Calls

None

Variables

None

Stats

MD5 bb938ef36d384c33eb63340bd7d11e0d
Eval Count 0
Decode Time 149 ms