Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893695
duplicate-key-in-array.lint-test
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
624 B
Referenced Files
None
Subscribers
None
duplicate-key-in-array.lint-test
View Options
<?php
$a = array(
'a' => 'val1',
$a => 'val2',
'a' => val3(),
1 => val4(),
'1' => val5(),
1 => $val6,
'b' => 'val7',
b() => 'val8',
);
static $b = array(
1 => 'one',
2 => 'two',
2 => 'TWO',
);
$c = array();
$d = array(
A => 'ay',
A => 'aye',
'A' => 'AYE',
);
$e = array(
self::B => 'bee',
self::B => 'bea',
self::b() => 'ehh',
self::$b => 'weh',
B => 'b',
C::B => 'cb',
);
$f = array(
$a => 'var',
'a' => 'lit',
$a => 'var2',
);
~~~~~~~~~~
error:3:3
error:5:3
error:6:3
error:7:3
error:8:3
error:14:3
error:15:3
error:19:3
error:20:3
error:24:3
error:25:3
error:32:3
error:34:3
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 18:53 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127596
Default Alt Text
duplicate-key-in-array.lint-test (624 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment