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-- SPL: SplFileInfo test getOwner --CREDITS-- Cesare D'Amico <cesare.damico@gruppovo..
Decoded Output download
--TEST--
SPL: SplFileInfo test getOwner
--CREDITS--
Cesare D'Amico <[email protected]>
Andrea Giorgini <[email protected]>
Filippo De Santis <[email protected]>
Daniel Londero <[email protected]>
Francesco Trucchia <[email protected]>
Jacopo Romei <[email protected]>
#Test Fest Cesena (Italy) on 2009-06-20
--FILE--
<?php
$filename = __DIR__ . "/SplFileInfo_getOwner_basic";
touch($filename);
$fileInfo = new SplFileInfo($filename);
$expected = fileowner($filename);
$actual = $fileInfo->getOwner();
var_dump($expected == $actual);
?>
--CLEAN--
<?php
$filename = __DIR__ . "/SplFileInfo_getOwner_basic";
unlink($filename);
?>
--EXPECT--
bool(true)
Did this file decode correctly?
Original Code
--TEST--
SPL: SplFileInfo test getOwner
--CREDITS--
Cesare D'Amico <[email protected]>
Andrea Giorgini <[email protected]>
Filippo De Santis <[email protected]>
Daniel Londero <[email protected]>
Francesco Trucchia <[email protected]>
Jacopo Romei <[email protected]>
#Test Fest Cesena (Italy) on 2009-06-20
--FILE--
<?php
$filename = __DIR__ . "/SplFileInfo_getOwner_basic";
touch($filename);
$fileInfo = new SplFileInfo($filename);
$expected = fileowner($filename);
$actual = $fileInfo->getOwner();
var_dump($expected == $actual);
?>
--CLEAN--
<?php
$filename = __DIR__ . "/SplFileInfo_getOwner_basic";
unlink($filename);
?>
--EXPECT--
bool(true)
Function Calls
None |
Stats
MD5 | db05fe24899022a1127448b977b4a4f1 |
Eval Count | 0 |
Decode Time | 106 ms |