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-- socket_select() error conditions --EXTENSIONS-- sockets --FILE-- <?php $r = $w = ..

Decoded Output download

--TEST--
socket_select() error conditions
--EXTENSIONS--
sockets
--FILE--
<?php
$r = $w = $e = ['no resource'];
try {
    socket_select($r, $w, $e, 1);
} catch (TypeError $ex) {
    echo $ex->getMessage(), PHP_EOL;
}
?>
--EXPECT--
socket_select(): Argument #1 ($read) must only have elements of type Socket, string given

Did this file decode correctly?

Original Code

--TEST--
socket_select() error conditions
--EXTENSIONS--
sockets
--FILE--
<?php
$r = $w = $e = ['no resource'];
try {
    socket_select($r, $w, $e, 1);
} catch (TypeError $ex) {
    echo $ex->getMessage(), PHP_EOL;
}
?>
--EXPECT--
socket_select(): Argument #1 ($read) must only have elements of type Socket, string given

Function Calls

None

Variables

None

Stats

MD5 f756d6d9af12bfaa32a84a2cf19751dd
Eval Count 0
Decode Time 100 ms