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::getCsvControl function - basic test --FILE-- <?php $obj = New SplF..
Decoded Output download
--TEST--
SplFileObject::getCsvControl function - basic test
--FILE--
<?php
$obj = New SplFileObject(__DIR__.'/SplFileObject_testinput.csv');
var_dump($obj->getCsvControl());
?>
--EXPECT--
array(3) {
[0]=>
string(1) ","
[1]=>
string(1) """
[2]=>
string(1) "\"
}
Did this file decode correctly?
Original Code
--TEST--
SplFileObject::getCsvControl function - basic test
--FILE--
<?php
$obj = New SplFileObject(__DIR__.'/SplFileObject_testinput.csv');
var_dump($obj->getCsvControl());
?>
--EXPECT--
array(3) {
[0]=>
string(1) ","
[1]=>
string(1) """
[2]=>
string(1) "\"
}
Function Calls
None |
Stats
MD5 | 3db1c53d5861b4a7ba441cde50127b02 |
Eval Count | 0 |
Decode Time | 93 ms |