OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
symfony
/
polyfill-php81
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:33:06 AM
rwxr-xr-x
📁
.git
-
08/12/2024 10:36:14 AM
rwxr-xr-x
📄
LICENSE
1.06 KB
08/12/2024 10:33:07 AM
rw-r--r--
📄
Php81.php
747 bytes
08/12/2024 10:33:07 AM
rw-r--r--
📄
README.md
691 bytes
08/12/2024 10:33:07 AM
rw-r--r--
📁
Resources
-
08/12/2024 10:34:46 AM
rwxr-xr-x
📄
bootstrap.php
766 bytes
08/12/2024 10:33:07 AM
rw-r--r--
📄
composer.json
949 bytes
08/12/2024 10:33:06 AM
rw-r--r--
Editing: Php81.php
Close
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Polyfill\Php81; /** * @author Nicolas Grekas <p@tchwork.com> * * @internal */ final class Php81 { public static function array_is_list(array $array): bool { if ([] === $array || $array === array_values($array)) { return true; } $nextKey = -1; foreach ($array as $k => $v) { if ($k !== ++$nextKey) { return false; } } return true; } }