On 23.11.2017 23:46, Sara Golemon wrote: > Planning to add net_get_interfaces() > https://github.com/php/php-src/pull/2935/files for enumerating the > adapters on a system and their configured addresses. > Based on a combination of my own implementation and finding out > krakjoe and ab@ had a stalled version already. > > If anyone wants an RFC I'll write one up, but this is pretty small so > mostly just offering for a look before I push. > > -Sara > > Ref: https://bugs.php.net/bug.php?id=17400 > Ref: https://github.com/php/php-src/compare/master...weltling:17400 >
Looks good in theory, but without a lot of thought, how likely is this to break/work on "supported" operating systems? (Which ones are that, actually? http://php.net/manual/en/install.unix.php lists the BSDs and Solaris and HP/UX) I know, it explicitly mentions Windows and Linux - also probably someone tried it on OSX, and I don't think (Free|Open|Net)BSD will be a big problem here, but as I'm no expert on that - does that matter? Will it need "just a little work" or could the more exotic ones be more problematic? Greetings, Florian -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php