mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-29 07:54:52 -05:00
fcce194d34
Change-Id: I9a044fefe96e400b8e3320842b53fe97af2a7b40
15 lines
217 B
PHP
15 lines
217 B
PHP
<?php
|
|
|
|
/**
|
|
* @return array<string>
|
|
*/
|
|
function takesAnInt(int $i) {
|
|
return [$i, "hello"];
|
|
}
|
|
|
|
$data = ["some text", 5];
|
|
takesAnInt($data[0]);
|
|
|
|
$condition = rand(0, 5);
|
|
iff ($condition) {
|
|
} elseif ($condition) {}
|