Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace code\Iterator; class ExcludedPathFilteringRecursiveIteratorTest extends ..

Decoded Output download

<?php

namespace code\Iterator;

class ExcludedPathFilteringRecursiveIteratorTest extends AbstractFilteringIteratorTest
{
    /**
     * {@inheritdoc}
     */
    public function filterFilesProvider()
    {
        return array(
            array(
                array(
                    'nonempty' => array(),
                    'folder' => array(
                        'subfolder' => array(
                            'subfolderphp.php' => '1',
                        ),
                        'folderphp.php' => '1',
                        'folderphp.test' => '1',
                    ),
                    'topphp.php' => '1',
                ),
                array(
                    array('vfs://root/folder'),
                ),
                array(
                    'topphp.php',
                ),
            ),
            array(
                array(
                    'empty' => array(),
                    'folder' => array(
                        'subfolder' => array(
                            'subfolderphp.php' => '1',
                        ),
                        'folderphp.php' => '1',
                        'folderphp.test' => '1',
                    ),
                    'topphp.php' => '1',
                ),
                array(
                    array('vfs://root/folder/subfolder'),
                ),
                array(
                    'folderphp.php',
                    'folderphp.test',
                    'topphp.php',
                ),
            ),
            array(
                array(
                    'empty' => array(),
                    'folder' => array(
                        'subfolder' => array(
                            'subfolderphp.php' => '1',
                        ),
                        'folderphp.php' => '1',
                        'folderphp.test' => '1',
                    ),
                    'topphp.php' => '1',
                ),
                array(
                    array(),
                ),
                array(
                    'subfolderphp.php',
                    'folderphp.php',
                    'folderphp.test',
                    'topphp.php',
                ),
            ),
            array(
                array(
                    'empty' => array(
                        'empty.php' => 'empty',
                    ),
                    'folder' => array(
                        'subfolder' => array(
                            'subfolderphp.php' => '1',
                        ),
                        'folderphp.php' => '1',
                        'folderphp.test' => '1',
                    ),
                    'topphp.php' => '1',
                ),
                array(
                    array('vfs://root/folder', 'vfs://root/empty'),
                ),
                array(
                    'topphp.php',
                ),
            ),
        );
    }

    /**
     * {@inheritdoc}
     */
    public function getIteratorClass()
    {
        return '\Sstalle\php7cc\Iterator\ExcludedPathFilteringRecursiveIterator';
    }

    /**
     * {@inheritdoc}
     */
    public function getDefaultConstructorArguments()
    {
        return array(array());
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace code\Iterator;

class ExcludedPathFilteringRecursiveIteratorTest extends AbstractFilteringIteratorTest
{
    /**
     * {@inheritdoc}
     */
    public function filterFilesProvider()
    {
        return array(
            array(
                array(
                    'nonempty' => array(),
                    'folder' => array(
                        'subfolder' => array(
                            'subfolderphp.php' => '1',
                        ),
                        'folderphp.php' => '1',
                        'folderphp.test' => '1',
                    ),
                    'topphp.php' => '1',
                ),
                array(
                    array('vfs://root/folder'),
                ),
                array(
                    'topphp.php',
                ),
            ),
            array(
                array(
                    'empty' => array(),
                    'folder' => array(
                        'subfolder' => array(
                            'subfolderphp.php' => '1',
                        ),
                        'folderphp.php' => '1',
                        'folderphp.test' => '1',
                    ),
                    'topphp.php' => '1',
                ),
                array(
                    array('vfs://root/folder/subfolder'),
                ),
                array(
                    'folderphp.php',
                    'folderphp.test',
                    'topphp.php',
                ),
            ),
            array(
                array(
                    'empty' => array(),
                    'folder' => array(
                        'subfolder' => array(
                            'subfolderphp.php' => '1',
                        ),
                        'folderphp.php' => '1',
                        'folderphp.test' => '1',
                    ),
                    'topphp.php' => '1',
                ),
                array(
                    array(),
                ),
                array(
                    'subfolderphp.php',
                    'folderphp.php',
                    'folderphp.test',
                    'topphp.php',
                ),
            ),
            array(
                array(
                    'empty' => array(
                        'empty.php' => 'empty',
                    ),
                    'folder' => array(
                        'subfolder' => array(
                            'subfolderphp.php' => '1',
                        ),
                        'folderphp.php' => '1',
                        'folderphp.test' => '1',
                    ),
                    'topphp.php' => '1',
                ),
                array(
                    array('vfs://root/folder', 'vfs://root/empty'),
                ),
                array(
                    'topphp.php',
                ),
            ),
        );
    }

    /**
     * {@inheritdoc}
     */
    public function getIteratorClass()
    {
        return '\\Sstalle\\php7cc\\Iterator\\ExcludedPathFilteringRecursiveIterator';
    }

    /**
     * {@inheritdoc}
     */
    public function getDefaultConstructorArguments()
    {
        return array(array());
    }
}

Function Calls

None

Variables

None

Stats

MD5 373b9da1002ffb18c54b28269ad9e525
Eval Count 0
Decode Time 87 ms