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-- SimpleXML: Property assignment return value --EXTENSIONS-- simplexml --FILE-- <?p..

Decoded Output download

--TEST--
SimpleXML: Property assignment return value
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
<root></root>
EOF;
$root = simplexml_load_string($xml);
var_dump($root->prop = 42);
?>
--EXPECT--
int(42)

Did this file decode correctly?

Original Code

--TEST--
SimpleXML: Property assignment return value
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
<root></root>
EOF;
$root = simplexml_load_string($xml);
var_dump($root->prop = 42);
?>
--EXPECT--
int(42)

Function Calls

simplexml_load_string 1

Variables

$xml <root></root>

Stats

MD5 24410eec1566b79c31ec861aa80caecc
Eval Count 0
Decode Time 83 ms