3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'Aktiva anslutningar Proto Lokal adress Fj?rradress Tillst?nd PID TCP 192.168.66.5:52540 216.58.209.98:443 CLOSE_WAIT 2224 [IEXPLORE.EXE] TCP 192.168.66.5:52557 216.58.209.98:80 CLOSE_WAIT 2224 [IEXPLORE.EXE] TCP 192.168.66.5:52637 216.58.209.98:80 CLOSE_WAIT 2224 [IEXPLORE.EXE] TCP 192.168.66.5:52638 216.58.209.98:80 CLOSE_WAIT 2224 [IEXPLORE.EXE] TCP 192.168.66.5:55438 192.168.170.2:445 ESTABLISHED 4 Det g?r inte att h?mta information om ?garskap TCP 192.168.66.5:55450 192.168.100.177:10017 ESTABLISHED 6560 [PROCES~1.EXE] TCP 192.168.66.5:55735 192.168.105.103:445 ESTABLISHED 4 Det g?r inte att h?mta information om ?garskap TCP 192.168.66.5:59956 172.20.100.74:10123 ESTABLISHED 2768 [CcmExec.exe] TCP 192.168.66.5:62011 40.101.124.18:443 ESTABLISHED 1488 [OUTLOOK.EXE] TCP 192.168.66.5:62012 40.101.124.2:443 ESTABLISHED 1488 [OUTLOOK.EXE] TCP 192.168.66.5:62043 192.168.117.14:80 TIME_WAIT 0 TCP 192.168.66.5:62045 192.168.105.152:135 TIME_WAIT 0 TCP 192.168.66.5:62046 192.168.105.152:135 TIME_WAIT 0 TCP 192.168.66.5:62047 192.168.105.152:49155 TIME_WAIT 0 TCP 192.168.66.5:62048 192.168.105.152:49159 TIME_WAIT 0 TCP 192.168.66.5:62061 104.45.0.17:443 ESTABLISHED 4864 [lync.exe] TCP 192.168.66.5:62063 104.40.240.49:443 ESTABLISHED 4864 [lync.exe] TCP 192.168.66.5:62064 104.40.240.49:443 ESTABLISHED 4864 [lync.exe] TCP 192.168.66.5:62065 52.112.193.139:443 TIME_WAIT 0 TCP 192.168.66.5:62066 192.168.105.152:49159 TIME_WAIT 0 TCP 192.168.66.5:62067 192.168.105.48:445 ESTABLISHED 4 Det g?r inte att h?mta information om ?garskap TCP 192.168.66.5:62068 192.168.105.48:445 ESTABLISHED 4 Det g?r inte att h?mta information om ?garskap TCP 192.168.66.5:62069 40.101.65.226:443 ESTABLISHED 1488 [OUTLOOK.EXE] TCP 192.168.82.82:139 0.0.0.0:0 LISTENING 4 Det g?r inte att h?mta information om ?garskap TCP 192.168.82.82:59966 192.168.105.48:445 ESTABLISHED 4 Det g?r inte att h?mta information om ?garskap UDP 192.168.82.82:54823 *:* 1908 SSDPSRV [svchost.exe] UDP [::]:123 *:* 1044 W32Time [svchost.exe] UDP [::]:3540 *:* 3484 p2pimsvc [svchost.exe] UDP [::]:5355 *:* 1732 Dnscache [svchost.exe] UDP [::]:6129 *:* 2256 [dwrcs.exe] UDP [::1]:1900 *:* 1908 SSDPSRV [svchost.exe] UDP [::1]:54822 *:* 1908 SSDPSRV [svchost.exe] UDP [fe80::bdc4:58fa:8d03:6428%11]:546 *:* 612 Dhcp'; preg_match_all('/^[^\t]*1/', $string, $matches); var_dump($matches[0]);
based on rbdl9
Output for 5.6.0 - 5.6.30, hhvm-3.18.4 - 3.21.0, 7.0.0 - 7.3.0rc2
array(1) { [0]=> string(3206) "Aktiva anslutningar Proto Lokal adress Fj?rradress Tillst?nd PID TCP 192.168.66.5:52540 216.58.209.98:443 CLOSE_WAIT 2224 [IEXPLORE.EXE] TCP 192.168.66.5:52557 216.58.209.98:80 CLOSE_WAIT 2224 [IEXPLORE.EXE] TCP 192.168.66.5:52637 216.58.209.98:80 CLOSE_WAIT 2224 [IEXPLORE.EXE] TCP 192.168.66.5:52638 216.58.209.98:80 CLOSE_WAIT 2224 [IEXPLORE.EXE] TCP 192.168.66.5:55438 192.168.170.2:445 ESTABLISHED 4 Det g?r inte att h?mta information om ?garskap TCP 192.168.66.5:55450 192.168.100.177:10017 ESTABLISHED 6560 [PROCES~1.EXE] TCP 192.168.66.5:55735 192.168.105.103:445 ESTABLISHED 4 Det g?r inte att h?mta information om ?garskap TCP 192.168.66.5:59956 172.20.100.74:10123 ESTABLISHED 2768 [CcmExec.exe] TCP 192.168.66.5:62011 40.101.124.18:443 ESTABLISHED 1488 [OUTLOOK.EXE] TCP 192.168.66.5:62012 40.101.124.2:443 ESTABLISHED 1488 [OUTLOOK.EXE] TCP 192.168.66.5:62043 192.168.117.14:80 TIME_WAIT 0 TCP 192.168.66.5:62045 192.168.105.152:135 TIME_WAIT 0 TCP 192.168.66.5:62046 192.168.105.152:135 TIME_WAIT 0 TCP 192.168.66.5:62047 192.168.105.152:49155 TIME_WAIT 0 TCP 192.168.66.5:62048 192.168.105.152:49159 TIME_WAIT 0 TCP 192.168.66.5:62061 104.45.0.17:443 ESTABLISHED 4864 [lync.exe] TCP 192.168.66.5:62063 104.40.240.49:443 ESTABLISHED 4864 [lync.exe] TCP 192.168.66.5:62064 104.40.240.49:443 ESTABLISHED 4864 [lync.exe] TCP 192.168.66.5:62065 52.112.193.139:443 TIME_WAIT 0 TCP 192.168.66.5:62066 192.168.105.152:49159 TIME_WAIT 0 TCP 192.168.66.5:62067 192.168.105.48:445 ESTABLISHED 4 Det g?r inte att h?mta information om ?garskap TCP 192.168.66.5:62068 192.168.105.48:445 ESTABLISHED 4 Det g?r inte att h?mta information om ?garskap TCP 192.168.66.5:62069 40.101.65.226:443 ESTABLISHED 1488 [OUTLOOK.EXE] TCP 192.168.82.82:139 0.0.0.0:0 LISTENING 4 Det g?r inte att h?mta information om ?garskap TCP 192.168.82.82:59966 192.168.105.48:445 ESTABLISHED 4 Det g?r inte att h?mta information om ?garskap UDP 192.168.82.82:54823 *:* 1908 SSDPSRV [svchost.exe] UDP [::]:123 *:* 1044 W32Time [svchost.exe] UDP [::]:3540 *:* 3484 p2pimsvc [svchost.exe] UDP [::]:5355 *:* 1732 Dnscache [svchost.exe] UDP [::]:6129 *:* 2256 [dwrcs.exe] UDP [::1]:1900 *:* 1908 SSDPSRV [svchost.exe] UDP [::1]:54822 *:* 1908 SSDPSRV [svchost.exe] UDP [fe80::bdc4:58fa:8d03:6428%11]:546 *:* 61" }