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: SplFileObject::getSize --CREDITS-- Hvard Eide <nucleuz at gmail.com> #Testfe..

Decoded Output download

--TEST--
SPL: SplFileObject::getSize
--CREDITS--
Hvard Eide <nucleuz at gmail.com>
#Testfest php.no
--INI--
include_path=.
--FILE--
<?php
$file = __DIR__ ."/data.txt";
file_put_contents($file, "foobar");

$s = new SplFileObject( $file );
echo $s->getSize();
?>
--CLEAN--
<?php
$file = __DIR__ ."/data.txt";
unlink($file);
?>
--EXPECT--
6

Did this file decode correctly?

Original Code

--TEST--
SPL: SplFileObject::getSize
--CREDITS--
Hvard Eide <nucleuz at gmail.com>
#Testfest php.no
--INI--
include_path=.
--FILE--
<?php
$file = __DIR__ ."/data.txt";
file_put_contents($file, "foobar");

$s = new SplFileObject( $file );
echo $s->getSize();
?>
--CLEAN--
<?php
$file = __DIR__ ."/data.txt";
unlink($file);
?>
--EXPECT--
6

Function Calls

None

Variables

None

Stats

MD5 9560c32686a7ebb4d577f4b4d04e6918
Eval Count 0
Decode Time 77 ms