Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22417822
conditional-usage.lint-test
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
531 B
Referenced Files
None
Subscribers
None
conditional-usage.lint-test
View Options
<?php
if (function_exists('array_column')) {
array_column(array(), '');
json_last_error_msg();
} else {
array_column(array(), '');
}
if (class_exists('CURLFile')) {
new CURLFile('');
new DateTimeImmutable();
}
if (function_exists('json_last_error_msg'))
json_last_error_msg();
// These shouldn't fatal.
if (SomeClass::someStaticMethod($param)) {}
$var = 'some_func';
if ($var()) {}
~~~~~~~~~~
error:5:3
error:7:3
error:12:7
warning:16:3
~~~~~~~~~~
~~~~~~~~~~
{
"config": {
"xhpast.php-version": "5.3.0"
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 28, 02:08 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1209739
Default Alt Text
conditional-usage.lint-test (531 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline