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 $myObj->name = "John"; $myObj->age = 30; $myObj->city = "New York"; $myJSON = ..

Decoded Output download

<?php 
$myObj->name = "John"; 
$myObj->age = 30; 
$myObj->city = "New York"; 
 
$myJSON = json_encode($myObj); 
 
echo $myJSON; 
?>

Did this file decode correctly?

Original Code

<?php
$myObj->name = "John";
$myObj->age = 30;
$myObj->city = "New York";

$myJSON = json_encode($myObj);

echo $myJSON;
?>

Function Calls

None

Variables

None

Stats

MD5 48f9a830eaaff5368379b1dfd32fc3d3
Eval Count 0
Decode Time 244 ms