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

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- DateTime::diff() -- absolute --CREDITS-- Daniel Convissor <[email protected]> --FIL..

Decoded Output download

--TEST--
DateTime::diff() -- absolute
--CREDITS--
Daniel Convissor <[email protected]>
--FILE--
<?php

require 'examine_diff.inc';
define('PHPT_DATETIME_SHOW', PHPT_DATETIME_SHOW_DIFF);
require 'DateTime_data-absolute.inc';

?>
--EXPECT--
test_absolute_7: DIFF: 2009-01-14 00:00:00 EST - 2009-01-07 00:00:00 EST = **P+0Y0M7DT0H0M0S**
test_absolute_negative_7: DIFF: 2009-01-07 00:00:00 EST - 2009-01-14 00:00:00 EST = **P+0Y0M7DT0H0M0S**

Did this file decode correctly?

Original Code

--TEST--
DateTime::diff() -- absolute
--CREDITS--
Daniel Convissor <[email protected]>
--FILE--
<?php

require 'examine_diff.inc';
define('PHPT_DATETIME_SHOW', PHPT_DATETIME_SHOW_DIFF);
require 'DateTime_data-absolute.inc';

?>
--EXPECT--
test_absolute_7: DIFF: 2009-01-14 00:00:00 EST - 2009-01-07 00:00:00 EST = **P+0Y0M7DT0H0M0S**
test_absolute_negative_7: DIFF: 2009-01-07 00:00:00 EST - 2009-01-14 00:00:00 EST = **P+0Y0M7DT0H0M0S**

Function Calls

None

Variables

None

Stats

MD5 daa9d1caabdec774a89bce41d848584e
Eval Count 0
Decode Time 75 ms