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 swap($x, $y) { $x = $x + 1; $y = $y + 2; return $x * $y; } ..

Decoded Output download

2, 122, 12

Did this file decode correctly?

Original Code

<?php 
 function swap($x, $y) { 
 $x = $x + 1; 
 $y = $y + 2; 
 return $x * $y; 
 } 
 
 $a = 2; 
 $b = swap($a, $a); 
 print "$a, $b"; 
 $b = swap(&$a, &$a); 
 print "$a, $b"; 
?> 

Function Calls

swap 2

Variables

$a 2
$b 12
$x 3
$y 4

Stats

MD5 c7fa045f94002e84f35676c5d21e3183
Eval Count 0
Decode Time 95 ms