1 | <?php |
||||||
2 | |||||||
3 | require __DIR__ . '/../vendor/autoload.php'; |
||||||
4 | |||||||
5 | use Np\vector; |
||||||
6 | vector::time(); |
||||||
0 ignored issues
–
show
Bug
Best Practice
introduced
by
![]() |
|||||||
7 | vector::getMemory(); |
||||||
0 ignored issues
–
show
The method
Np\core\nd::getMemory() is not static, but was called statically.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||||
8 | $v = vector::ar(range(random_int(1,2), random_int(99999,9999999))); |
||||||
9 | |||||||
10 | echo $v->sum() . PHP_EOL; |
||||||
11 | vector::getMemory(); |
||||||
12 | vector::time(); |
||||||
13 |