Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$a= '{"first_name":"Inderjeet","last_name":"Singh","phone_number":"4168814881","q":"","ema..

Decoded Output download

<?  $a= '{"first_name":"Inderjeet","last_name":"Singh","phone_number":"4168814881","q":"","email_id":"[email protected]","age":"32","first_name1":"Inderjeet123","last_name1":"Singh123","phone_number1":"4168814880","q1":"","email_id1":"[email protected]","age1":"35"}'; 
$data = json_decode($a); 
$count = count(array_keys($data , 'q', true)); 
echo "data - " . $data ; ?>

Did this file decode correctly?

Original Code

$a= '{"first_name":"Inderjeet","last_name":"Singh","phone_number":"4168814881","q":"","email_id":"[email protected]","age":"32","first_name1":"Inderjeet123","last_name1":"Singh123","phone_number1":"4168814880","q1":"","email_id1":"[email protected]","age1":"35"}';
$data = json_decode($a);
$count = count(array_keys($data , 'q', true));
echo "data - " . $data ;

Function Calls

json_decode 1

Variables

$a {"first_name":"Inderjeet","last_name":"Singh","phone_number"..

Stats

MD5 cfb0246e8230d6b708f07328dffa650d
Eval Count 0
Decode Time 49 ms