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 Collection operations --SKIPIF-- <?php if (!extension_loaded("collection"))..
Decoded Output download
--TEST--
Check Collection operations
--SKIPIF--
<?php if (!extension_loaded("collection")) print "skip"; ?>
--FILE--
<?php
$collection = \Vtiful\Kernel\Collection::init([
1, 2, 3, 4, 5
]);
$result = $collection->all();
var_dump($result);
?>
--EXPECT--
array(5) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
[3]=>
int(4)
[4]=>
int(5)
}
Did this file decode correctly?
Original Code
--TEST--
Check Collection operations
--SKIPIF--
<?php if (!extension_loaded("collection")) print "skip"; ?>
--FILE--
<?php
$collection = \Vtiful\Kernel\Collection::init([
1, 2, 3, 4, 5
]);
$result = $collection->all();
var_dump($result);
?>
--EXPECT--
array(5) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
[3]=>
int(4)
[4]=>
int(5)
}
Function Calls
None |
Stats
MD5 | 75425369650a672b352630b461ed6440 |
Eval Count | 0 |
Decode Time | 85 ms |