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 $TEXT_SIZE = 12; $sur = new CairoImageSurface(CairoFormat::ARGB32, 192, 16); $con..
Decoded Output download
<?php
$TEXT_SIZE = 12;
$sur = new CairoImageSurface(CairoFormat::ARGB32, 192, 16);
$con = new CairoContext($sur);
$con->save ();
$con->setSourceRgb ( 1.0, 1.0, 1.0); /* white */
$con->paint ();
$con->restore ();
$con->setSourceRgb ( 0, 0, 0); /* black */
$con->selectFontFace ( "Bitstream Vera Serif",
CairoFontSlant::NORMAL,
CairoFontWeight::NORMAL);
$con->setFontSize ( $TEXT_SIZE);
$con->moveTo ( 0, $TEXT_SIZE);
$con->showText ( "i-am-serif");
$con->selectFontFace ( "Bitstream Vera Sans",
CairoFontSlant::NORMAL,
CairoFontWeight::NORMAL);
$con->showText ( " i-am-sans");
$con->selectFontFace ( "Bitstream Vera Sans Mono",
CairoFontSlant::NORMAL,
CairoFontWeight::NORMAL);
$con->showText ( " i-am-mono");
$sur->writeToPng(dirname(__FILE__) . "/select-font-face-php.png");
?>
Did this file decode correctly?
Original Code
<?php
$TEXT_SIZE = 12;
$sur = new CairoImageSurface(CairoFormat::ARGB32, 192, 16);
$con = new CairoContext($sur);
$con->save ();
$con->setSourceRgb ( 1.0, 1.0, 1.0); /* white */
$con->paint ();
$con->restore ();
$con->setSourceRgb ( 0, 0, 0); /* black */
$con->selectFontFace ( "Bitstream Vera Serif",
CairoFontSlant::NORMAL,
CairoFontWeight::NORMAL);
$con->setFontSize ( $TEXT_SIZE);
$con->moveTo ( 0, $TEXT_SIZE);
$con->showText ( "i-am-serif");
$con->selectFontFace ( "Bitstream Vera Sans",
CairoFontSlant::NORMAL,
CairoFontWeight::NORMAL);
$con->showText ( " i-am-sans");
$con->selectFontFace ( "Bitstream Vera Sans Mono",
CairoFontSlant::NORMAL,
CairoFontWeight::NORMAL);
$con->showText ( " i-am-mono");
$sur->writeToPng(dirname(__FILE__) . "/select-font-face-php.png");
?>
Function Calls
None |
Stats
MD5 | 39eacaec6c5496930bbc65f814a53710 |
Eval Count | 0 |
Decode Time | 88 ms |