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-- Check for vtiful presence --SKIPIF-- <?php if (!extension_loaded("xlswriter")) pr..
Decoded Output download
--TEST--
Check for vtiful presence
--SKIPIF--
<?php if (!extension_loaded("xlswriter")) print "skip"; ?>
--FILE--
<?php
$config = ['path' => './tests'];
$excel = new \Vtiful\Kernel\Excel($config);
$filePath = $excel->fileName('close.xlsx')
->header(['Item', 'Cost'])
->output();
$excel->close();
var_dump($filePath);
?>
--CLEAN--
<?php
@unlink(__DIR__ . '/close.xlsx');
?>
--EXPECT--
string(18) "./tests/close.xlsx"
Did this file decode correctly?
Original Code
--TEST--
Check for vtiful presence
--SKIPIF--
<?php if (!extension_loaded("xlswriter")) print "skip"; ?>
--FILE--
<?php
$config = ['path' => './tests'];
$excel = new \Vtiful\Kernel\Excel($config);
$filePath = $excel->fileName('close.xlsx')
->header(['Item', 'Cost'])
->output();
$excel->close();
var_dump($filePath);
?>
--CLEAN--
<?php
@unlink(__DIR__ . '/close.xlsx');
?>
--EXPECT--
string(18) "./tests/close.xlsx"
Function Calls
None |
Stats
MD5 | 5b4eb5a273c7c58dbb3b73ae14296e84 |
Eval Count | 0 |
Decode Time | 103 ms |