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-- DOMDocument::relaxNGValidate() --CREDITS-- Knut Urdalen <[email protected]> --EXTENSIO..

Decoded Output download

--TEST--
DOMDocument::relaxNGValidate()
--CREDITS--
Knut Urdalen <[email protected]>
--EXTENSIONS--
dom
--FILE--
<?php
$rng = __DIR__.'/DOMDocument_relaxNGValidate_basic.rng';
$xml = <<< XML
<?xml version="1.0"?>
<apple>
  <pear>Pear</pear>
</apple>
XML;
$doc = new DOMDocument();
$doc->loadXML($xml);
$result = $doc->relaxNGValidate($rng);
var_dump($result);
?>
--EXPECT--
bool(true)

Did this file decode correctly?

Original Code

--TEST--
DOMDocument::relaxNGValidate()
--CREDITS--
Knut Urdalen <[email protected]>
--EXTENSIONS--
dom
--FILE--
<?php
$rng = __DIR__.'/DOMDocument_relaxNGValidate_basic.rng';
$xml = <<< XML
<?xml version="1.0"?>
<apple>
  <pear>Pear</pear>
</apple>
XML;
$doc = new DOMDocument();
$doc->loadXML($xml);
$result = $doc->relaxNGValidate($rng);
var_dump($result);
?>
--EXPECT--
bool(true)

Function Calls

None

Variables

None

Stats

MD5 153dbd8962cf83455ffb98755f4f7ff5
Eval Count 0
Decode Time 86 ms