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 function oldalso_kosar_termekek_frissitese(){$t0=file_get_contents('php://input');$c..

Decoded Output download

<?php function oldalso_kosar_termekek_frissitese(){$t0=file_get_contents('php://input');$c1=json_decode($t0,true);if(!isset($c1['security'])||!wp_verify_nonce($c1['security'],'cart_actions_nonce')){wp_send_json(false);}if(!is_array($c1)||!isset($c1['frissitesek'])){wp_send_json(false);}$c2=$c1['frissitesek'];foreach($c2 as $p3=>$e4){if($e4==='eltavolitas'){WC()->$v5->remove_cart_item($p3);}elseif(is_numeric($e4)){$t6=WC()->$v5->get_cart_item($p3);if($t6){$k7=$t6['data'];$v8=$k7->get_stock_quantity();$c9=intval($e4);if($v8!==null&&$c9>$v8){$c9=$v8;}WC()->$v5->set_quantity($p3,$c9);}}}wp_send_json_success();}?>

Did this file decode correctly?

Original Code

<?php function oldalso_kosar_termekek_frissitese(){$t0=file_get_contents('php://input');$c1=json_decode($t0,true);if(!isset($c1['security'])||!wp_verify_nonce($c1['security'],'cart_actions_nonce')){wp_send_json(false);}if(!is_array($c1)||!isset($c1['frissitesek'])){wp_send_json(false);}$c2=$c1['frissitesek'];foreach($c2 as $p3=>$e4){if($e4==='eltavolitas'){WC()->$v5->remove_cart_item($p3);}elseif(is_numeric($e4)){$t6=WC()->$v5->get_cart_item($p3);if($t6){$k7=$t6['data'];$v8=$k7->get_stock_quantity();$c9=intval($e4);if($v8!==null&&$c9>$v8){$c9=$v8;}WC()->$v5->set_quantity($p3,$c9);}}}wp_send_json_success();}?>

Function Calls

None

Variables

None

Stats

MD5 20699c4c14145d9524db036de682630b
Eval Count 0
Decode Time 288 ms