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 /* ________________________________________________________________________ ..

Decoded Output download

<?php 
/*   ________________________________________________________________________ 
    |                                                                        | 
    |           Obfuscated by JSC "Digital Procuremented Services"           | 
    |                         on 2024-01-15 12:44:57                         | 
    |   Technical customer support: [email protected], +7 (495) 161-76-66   | 
    |________________________________________________________________________| 
*/ 
 class Student { private $conn; public $id; public $name; public $address; public $age; public function __construct($yA2H9) { $this->conn = $yA2H9; } public function fetchAll() { goto eFUR6; e7hKd: $JZJlx->execute(); goto mUwpE; mUwpE: return $JZJlx; goto Z2Hnm; eFUR6: $JZJlx = $this->conn->prepare("SELECT * FROM students"); goto e7hKd; Z2Hnm: } public function fetchOne() { goto Ffsfw; Ffsfw: $JZJlx = $this->conn->prepare("SELECT  * FROM students WHERE id = ?"); goto Xxz5G; B3Ytl: $R_y9i = $JZJlx->fetch(PDO::FETCH_ASSOC); goto sBSOa; WF0qh: $this->address = $R_y9i["address"]; goto m4UUN; m4UUN: $this->age = $R_y9i["age"]; goto EkSVJ; zN3AB: if (!($JZJlx->rowCount() > 0)) { goto p6Ej7; } goto B3Ytl; Xxz5G: $JZJlx->bindParam(1, $this->id); goto Yah5F; EkSVJ: return TRUE; goto XjoZi; Yah5F: $JZJlx->execute(); goto zN3AB; MbMAe: return FALSE; goto g0Kkr; XjoZi: p6Ej7: goto MbMAe; sBSOa: $this->id = $R_y9i["id"]; goto Z4gRq; Z4gRq: $this->name = $R_y9i["name"]; goto WF0qh; g0Kkr: } public function postData() { goto FBqb2; qKTxd: $JZJlx->bindParam(":name", $this->name); goto VXiOS; eQi52: $JZJlx->bindParam(":age", $this->age); goto gCfiC; tJAcp: return TRUE; goto LQAH1; FBqb2: $JZJlx = $this->conn->prepare("INSERT INTO students (name, address, age) VALUES (:name, :address, :age)"); goto qKTxd; Hy9g_: return FALSE; goto PNANy; VXiOS: $JZJlx->bindParam(":address", $this->address); goto eQi52; gCfiC: if (!$JZJlx->execute()) { goto N6uDE; } goto tJAcp; LQAH1: N6uDE: goto Hy9g_; PNANy: } public function putData() { goto bkDec; TkbKD: vsWPU: goto miZwu; nSg22: $JZJlx->bindParam(":age", $this->age); goto ZSeKm; R1wXm: $JZJlx->bindParam(":name", $this->name); goto IF74v; bkDec: $JZJlx = $this->conn->prepare("UPDATE students SET (name, address, age) = (:name, :address, :age) WHERE id = :id"); goto R1wXm; ZSeKm: $JZJlx->bindParam(":id", $this->id); goto jOEbe; a_vzx: return TRUE; goto TkbKD; jOEbe: if (!$JZJlx->execute()) { goto vsWPU; } goto a_vzx; miZwu: return FALSE; goto fj441; IF74v: $JZJlx->bindParam(":address", $this->address); goto nSg22; fj441: } public function delete() { goto SXzcm; nikS6: return FALSE; goto f1M3U; SXzcm: $JZJlx = $this->conn->prepare("DELETE FROM students WHERE id = :id"); goto MWbOZ; WHQRE: if (!$JZJlx->execute()) { goto nVvwI; } goto WdvHT; WdvHT: return TRUE; goto OPxCu; MWbOZ: $JZJlx->bindParam(":id", $this->id); goto WHQRE; OPxCu: nVvwI: goto nikS6; f1M3U: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   ________________________________________________________________________
    |                                                                        |
    |           Obfuscated by JSC "Digital Procuremented Services"           |
    |                         on 2024-01-15 12:44:57                         |
    |   Technical customer support: [email protected], +7 (495) 161-76-66   |
    |________________________________________________________________________|
*/
 class Student { private $conn; public $id; public $name; public $address; public $age; public function __construct($yA2H9) { $this->conn = $yA2H9; } public function fetchAll() { goto eFUR6; e7hKd: $JZJlx->execute(); goto mUwpE; mUwpE: return $JZJlx; goto Z2Hnm; eFUR6: $JZJlx = $this->conn->prepare("\123\x45\x4c\105\x43\124\40\x2a\x20\x46\122\117\x4d\40\163\x74\165\144\x65\156\x74\163"); goto e7hKd; Z2Hnm: } public function fetchOne() { goto Ffsfw; Ffsfw: $JZJlx = $this->conn->prepare("\x53\105\114\105\x43\124\x20\40\52\40\106\x52\117\x4d\40\x73\164\165\x64\145\156\x74\x73\x20\x57\x48\105\x52\105\x20\151\x64\40\x3d\x20\77"); goto Xxz5G; B3Ytl: $R_y9i = $JZJlx->fetch(PDO::FETCH_ASSOC); goto sBSOa; WF0qh: $this->address = $R_y9i["\x61\x64\144\162\x65\x73\163"]; goto m4UUN; m4UUN: $this->age = $R_y9i["\x61\147\x65"]; goto EkSVJ; zN3AB: if (!($JZJlx->rowCount() > 0)) { goto p6Ej7; } goto B3Ytl; Xxz5G: $JZJlx->bindParam(1, $this->id); goto Yah5F; EkSVJ: return TRUE; goto XjoZi; Yah5F: $JZJlx->execute(); goto zN3AB; MbMAe: return FALSE; goto g0Kkr; XjoZi: p6Ej7: goto MbMAe; sBSOa: $this->id = $R_y9i["\x69\144"]; goto Z4gRq; Z4gRq: $this->name = $R_y9i["\156\141\x6d\145"]; goto WF0qh; g0Kkr: } public function postData() { goto FBqb2; qKTxd: $JZJlx->bindParam("\72\156\x61\155\145", $this->name); goto VXiOS; eQi52: $JZJlx->bindParam("\72\x61\147\x65", $this->age); goto gCfiC; tJAcp: return TRUE; goto LQAH1; FBqb2: $JZJlx = $this->conn->prepare("\x49\116\123\105\122\x54\x20\111\116\x54\117\40\163\x74\x75\144\145\x6e\164\x73\x20\x28\156\x61\x6d\x65\x2c\x20\x61\x64\144\162\145\x73\163\54\x20\141\147\145\51\x20\x56\101\x4c\x55\x45\123\x20\50\x3a\x6e\x61\155\145\x2c\40\72\141\144\x64\x72\x65\x73\163\x2c\40\x3a\x61\x67\145\x29"); goto qKTxd; Hy9g_: return FALSE; goto PNANy; VXiOS: $JZJlx->bindParam("\x3a\141\x64\x64\162\145\x73\x73", $this->address); goto eQi52; gCfiC: if (!$JZJlx->execute()) { goto N6uDE; } goto tJAcp; LQAH1: N6uDE: goto Hy9g_; PNANy: } public function putData() { goto bkDec; TkbKD: vsWPU: goto miZwu; nSg22: $JZJlx->bindParam("\72\141\147\x65", $this->age); goto ZSeKm; R1wXm: $JZJlx->bindParam("\x3a\156\x61\x6d\x65", $this->name); goto IF74v; bkDec: $JZJlx = $this->conn->prepare("\x55\120\x44\101\x54\105\x20\x73\164\165\144\145\x6e\164\163\x20\x53\x45\x54\40\x28\x6e\x61\x6d\x65\54\x20\x61\x64\144\162\145\163\x73\54\x20\141\x67\x65\x29\40\x3d\40\50\72\x6e\x61\x6d\x65\x2c\x20\x3a\x61\x64\x64\x72\145\x73\x73\x2c\x20\72\x61\147\x65\51\x20\x57\110\105\x52\x45\x20\x69\144\40\75\x20\72\x69\x64"); goto R1wXm; ZSeKm: $JZJlx->bindParam("\x3a\x69\x64", $this->id); goto jOEbe; a_vzx: return TRUE; goto TkbKD; jOEbe: if (!$JZJlx->execute()) { goto vsWPU; } goto a_vzx; miZwu: return FALSE; goto fj441; IF74v: $JZJlx->bindParam("\72\x61\x64\x64\162\x65\163\163", $this->address); goto nSg22; fj441: } public function delete() { goto SXzcm; nikS6: return FALSE; goto f1M3U; SXzcm: $JZJlx = $this->conn->prepare("\x44\x45\114\105\x54\x45\x20\x46\x52\117\x4d\x20\163\164\165\x64\145\x6e\164\x73\x20\127\110\105\122\x45\40\x69\x64\x20\x3d\40\72\151\144"); goto MWbOZ; WHQRE: if (!$JZJlx->execute()) { goto nVvwI; } goto WdvHT; WdvHT: return TRUE; goto OPxCu; MWbOZ: $JZJlx->bindParam("\x3a\x69\x64", $this->id); goto WHQRE; OPxCu: nVvwI: goto nikS6; f1M3U: } }

Function Calls

None

Variables

None

Stats

MD5 af8b46b91e8cd678170025fb13815c76
Eval Count 0
Decode Time 66 ms