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-- Check for rapidjson __construct parse --SKIPIF-- <?php if (!extension_loaded("rap..

Decoded Output download

--TEST--
Check for rapidjson __construct parse
--SKIPIF--
<?php if (!extension_loaded("rapidjson")) print "skip"; ?>
--FILE--
<?php
$str = '{"author":"Jason Young"}';
$obj = new Rapidjson($str);
var_dump($obj['author']);
echo $obj;
?>
--EXPECT--
string(11) "Jason Young"
{"author":"Jason Young"}

Did this file decode correctly?

Original Code

--TEST--
Check for rapidjson __construct parse
--SKIPIF--
<?php if (!extension_loaded("rapidjson")) print "skip"; ?>
--FILE--
<?php
$str = '{"author":"Jason Young"}';
$obj = new Rapidjson($str);
var_dump($obj['author']);
echo $obj;
?>
--EXPECT--
string(11) "Jason Young"
{"author":"Jason Young"}

Function Calls

extension_loaded 1

Variables

$str {"author":"Jason Young"}

Stats

MD5 d861624de2c68e3ec0d436d721494ff6
Eval Count 0
Decode Time 155 ms