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 SplTempFileObject constructor sets correct defaults when pass 0 arguments --F..

Decoded Output download

--TEST--
SPL SplTempFileObject constructor sets correct defaults when pass 0 arguments
--FILE--
<?php
var_dump(new SplTempFileObject());
?>
--EXPECT--
object(SplTempFileObject)#1 (5) {
  ["pathName":"SplFileInfo":private]=>
  string(10) "php://temp"
  ["fileName":"SplFileInfo":private]=>
  string(10) "php://temp"
  ["openMode":"SplFileObject":private]=>
  string(2) "wb"
  ["delimiter":"SplFileObject":private]=>
  string(1) ","
  ["enclosure":"SplFileObject":private]=>
  string(1) """
}

Did this file decode correctly?

Original Code

--TEST--
SPL SplTempFileObject constructor sets correct defaults when pass 0 arguments
--FILE--
<?php
var_dump(new SplTempFileObject());
?>
--EXPECT--
object(SplTempFileObject)#1 (5) {
  ["pathName":"SplFileInfo":private]=>
  string(10) "php://temp"
  ["fileName":"SplFileInfo":private]=>
  string(10) "php://temp"
  ["openMode":"SplFileObject":private]=>
  string(2) "wb"
  ["delimiter":"SplFileObject":private]=>
  string(1) ","
  ["enclosure":"SplFileObject":private]=>
  string(1) """
}

Function Calls

None

Variables

None

Stats

MD5 e4d7760558604a4264ba1d556b06e3b3
Eval Count 0
Decode Time 93 ms