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

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- link idref title --SKIPIF-- --FILE-- <?php $text = <<<EOT [World Wide Web Consort..

Decoded Output download

--TEST--
link idref title
--SKIPIF--
--FILE--
<?php
$text = <<<EOT
[World Wide Web Consortium][w3c]

[w3c]: http://www.w3.org/ "Discover w3c"
EOT;

$hoedown = new Hoedown;
echo $hoedown->parse($text);

--EXPECTF--
<p><a href="http://www.w3.org/" title="Discover w3c">World Wide Web Consortium</a></p>
 ?>

Did this file decode correctly?

Original Code

--TEST--
link idref title
--SKIPIF--
--FILE--
<?php
$text = <<<EOT
[World Wide Web Consortium][w3c]

[w3c]: http://www.w3.org/ "Discover w3c"
EOT;

$hoedown = new Hoedown;
echo $hoedown->parse($text);

--EXPECTF--
<p><a href="http://www.w3.org/" title="Discover w3c">World Wide Web Consortium</a></p>

Function Calls

None

Variables

None

Stats

MD5 f5eafc17d460b791cb2f7bb625cbe9d3
Eval Count 0
Decode Time 89 ms