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-- Test parameter handling in socket_select(). --DESCRIPTION-- usec > 999999 --EXTEN..
Decoded Output download
--TEST--
Test parameter handling in socket_select().
--DESCRIPTION--
usec > 999999
--EXTENSIONS--
sockets
--FILE--
<?php
$sockets = array();
if (strtolower(substr(PHP_OS, 0, 3)) == 'win') {
$domain = AF_INET;
} else {
$domain = AF_UNIX;
}
socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
$write = null;
$except = null;
$time = 0;
$usec = 2000000;
var_dump(socket_select($sockets, $write, $except, $time, $usec));
?>
--EXPECT--
int(0)
--CREDITS--
Till Klampaeckel, [email protected]
Berlin TestFest 2009
Did this file decode correctly?
Original Code
--TEST--
Test parameter handling in socket_select().
--DESCRIPTION--
usec > 999999
--EXTENSIONS--
sockets
--FILE--
<?php
$sockets = array();
if (strtolower(substr(PHP_OS, 0, 3)) == 'win') {
$domain = AF_INET;
} else {
$domain = AF_UNIX;
}
socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
$write = null;
$except = null;
$time = 0;
$usec = 2000000;
var_dump(socket_select($sockets, $write, $except, $time, $usec));
?>
--EXPECT--
int(0)
--CREDITS--
Till Klampaeckel, [email protected]
Berlin TestFest 2009
Function Calls
None |
Stats
MD5 | 09c53883d3af4d45b122c25a7059bcba |
Eval Count | 0 |
Decode Time | 86 ms |