Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- ext/sockets - socket_create_listen - test for used socket --CREDITS-- Florian And..
Decoded Output download
--TEST--
ext/sockets - socket_create_listen - test for used socket
--CREDITS--
Florian Anderiasch
[email protected]
--EXTENSIONS--
sockets
--FILE--
<?php
$s_c_l = socket_create_listen(0);
var_dump($s_c_l);
socket_getsockname($s_c_l, $addr, $port);
$s_c_l2 = socket_create_listen($port);
var_dump($s_c_l2);
socket_close($s_c_l);
?>
--EXPECTF--
object(Socket)#%d (0) {
}
Warning: socket_create_listen(): unable to bind to given address [%i]: %a in %s on line %d
bool(false)
Did this file decode correctly?
Original Code
--TEST--
ext/sockets - socket_create_listen - test for used socket
--CREDITS--
Florian Anderiasch
[email protected]
--EXTENSIONS--
sockets
--FILE--
<?php
$s_c_l = socket_create_listen(0);
var_dump($s_c_l);
socket_getsockname($s_c_l, $addr, $port);
$s_c_l2 = socket_create_listen($port);
var_dump($s_c_l2);
socket_close($s_c_l);
?>
--EXPECTF--
object(Socket)#%d (0) {
}
Warning: socket_create_listen(): unable to bind to given address [%i]: %a in %s on line %d
bool(false)
Function Calls
socket_create_listen | 1 |
Stats
MD5 | 9360c95a2f892d71254cc611a51967a3 |
Eval Count | 0 |
Decode Time | 81 ms |