Req #17400 [Asn]: getting ip for eth0

From: Date: Thu, 23 Nov 2017 22:50:05 +0000
Subject: Req #17400 [Asn]: getting ip for eth0
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212708@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=17400&edit=1

 ID:                 17400
 Updated by:         pollita@php.net
 Reported by:        e at arix dot com
 Summary:            getting ip for eth0
 Status:             Assigned
 Type:               Feature/Change Request
 Package:            *General Issues
 PHP Version:        7.0
-Assigned To:        krakjoe
+Assigned To:        pollita
 Block user comment: N
 Private report:     N

 New Comment:

With permission from joe and anatol, I've adopted their diff and merged it with my own and
produced: https://github.com/php/php-src/pull/2935

Planning to merge it to 7.3 soon, unless internals@ has objections.


Previous Comments:
------------------------------------------------------------------------
[2017-10-23 00:34:45] kalle@php.net

@joe I think the implementation looks just fine, but as I noted earlier it should probably be
located in main/ or ext/standard and use the naming convention we already have inherited, like
getnetworkinterfaces() or something in the manner

------------------------------------------------------------------------
[2017-01-10 06:32:53] krakjoe@php.net

I just forgot about this ... it would be nice if we could implement at least one of these 15 year
old feature requests ...

I still think this is valuable, many places in php can actually make use of interface names but we
still have no good way to determine them.

@ab can you fixup for master please, and open a clean PR on github ?

------------------------------------------------------------------------
[2015-06-17 21:13:51] ab@php.net

So was it in the Joe's original patch, I just extended it with the Windows part. But i'm
not sure we should take it - Joe seems to be not interested/busy, so I'm not sure a sufficient
testing can be done.

Thanks.

------------------------------------------------------------------------
[2015-06-17 12:16:28] kalle@php.net

Anatol, question; Why is this integrated in Zend/ and not in main/ where other network related
functionality exists?

------------------------------------------------------------------------
[2015-03-12 09:38:44] ab@php.net

got something now

https://github.com/php/php-src/compare/master...weltling:17400

Joe, please check the linux part, ported onto the current master.

Thanks.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=17400


--
Edit this bug report at https://bugs.php.net/bug.php?id=17400&edit=1


Thread (12 messages)

« previous php.bugs (#212708) next »