3v4l.org

run code in 300+ PHP versions simultaneously
<?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]);
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
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" }
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 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" }

preferences:
153.82 ms | 409 KiB | 188 Q