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-- SplFileObject::fscanf function - basic functionality test --FILE-- <?php $obj = N..

Decoded Output download

--TEST--
SplFileObject::fscanf function - basic functionality test
--FILE--
<?php
$obj = New SplFileObject(__DIR__.'/SplFileObject_testinput.csv');
var_dump($obj->fscanf('%s'));
?>
--EXPECT--
array(1) {
  [0]=>
  string(18) "first,second,third"
}

Did this file decode correctly?

Original Code

--TEST--
SplFileObject::fscanf function - basic functionality test
--FILE--
<?php
$obj = New SplFileObject(__DIR__.'/SplFileObject_testinput.csv');
var_dump($obj->fscanf('%s'));
?>
--EXPECT--
array(1) {
  [0]=>
  string(18) "first,second,third"
}

Function Calls

None

Variables

None

Stats

MD5 4d3516041325bd330f7f3fa0915d0811
Eval Count 0
Decode Time 90 ms