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_listen(). --EXTENSIONS-- sockets --SKIPIF-- <?p..

Decoded Output download

--TEST--
Test parameter handling in socket_listen().
--EXTENSIONS--
sockets
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
    die('skip.. Not valid for Windows');
}
--FILE--
<?php
$socket = socket_create(AF_UNIX, SOCK_STREAM, 0);
var_dump(socket_listen($socket));
?>
--EXPECTF--
Warning: socket_listen(): unable to listen on socket [%d]: %s in %s on line %d
bool(false)
--CREDITS--
Till Klampaeckel, [email protected]
Berlin TestFest 2009

Did this file decode correctly?

Original Code

--TEST--
Test parameter handling in socket_listen().
--EXTENSIONS--
sockets
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
    die('skip.. Not valid for Windows');
}
--FILE--
<?php
$socket = socket_create(AF_UNIX, SOCK_STREAM, 0);
var_dump(socket_listen($socket));
?>
--EXPECTF--
Warning: socket_listen(): unable to listen on socket [%d]: %s in %s on line %d
bool(false)
--CREDITS--
Till Klampaeckel, [email protected]
Berlin TestFest 2009

Function Calls

None

Variables

None

Stats

MD5 703fdf9466c5121a95a28c10e53e8c7c
Eval Count 0
Decode Time 93 ms