1 | <?php |
||
2 | |||
3 | [$version] = explode(',', $device['sysDescr']); |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
![]() |
|||
4 | |||
5 | preg_match('/Version V(\S+) (.+) Software,/', $device['sysDescr'], $matches); |
||
6 | |||
7 | $hardware = $matches[2]; |
||
8 |