Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5967889
Php81.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
710 B
Referenced Files
None
Subscribers
None
Php81.php
View Options
<?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
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 12:42 (2 d, 22 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
df/57/501dfeb5f0c2c1367f5eac055756
Default Alt Text
Php81.php (710 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment