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 class GetTime extends Handler { use MultipleAddressMode, NullaryOperator, Floatin..

Decoded Output download

<?php

class GetTime extends Handler {

	use MultipleAddressMode, NullaryOperator, FloatingPointOnly, Slow;
	
	protected function getActionOnUnitData() {
		$lines = array();
		$lines[] = "struct timeval tp;";
		$lines[] = "if(gettimeofday(&tp, NULL) != -1) {";
		$lines[] =		"res = tp.tv_sec + tp.tv_usec / 1000000.0;";
		$lines[] = "} else {";
		$lines[] =		"res = 0;";
		$lines[] = "}";
		return $lines;
	}
}

?>

Did this file decode correctly?

Original Code

<?php

class GetTime extends Handler {

	use MultipleAddressMode, NullaryOperator, FloatingPointOnly, Slow;
	
	protected function getActionOnUnitData() {
		$lines = array();
		$lines[] = "struct timeval tp;";
		$lines[] = "if(gettimeofday(&tp, NULL) != -1) {";
		$lines[] =		"res = tp.tv_sec + tp.tv_usec / 1000000.0;";
		$lines[] = "} else {";
		$lines[] =		"res = 0;";
		$lines[] = "}";
		return $lines;
	}
}

?>

Function Calls

None

Variables

None

Stats

MD5 38e6c6ede4c2af0cf5a389eab8ddd5f8
Eval Count 0
Decode Time 81 ms