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-- string stream_socket_recvfrom ( resource $socket , int $length [, int $flags = 0 ..
Decoded Output download
--TEST--
string stream_socket_recvfrom ( resource $socket , int $length [, int $flags = 0 [, string &$address ]] );
--CREDITS--
marcosptf - <[email protected]> - #phparty7 - @phpsp - novatec/2015 - sao paulo - br
--FILE--
<?php
$serverUri = "tcp://127.0.0.1:31856";
$sock = stream_socket_server($serverUri, $errno, $errstr);
$sockLen = 1500;
var_dump(stream_socket_recvfrom($sock, $sockLen));
var_dump(stream_socket_recvfrom($sock, $sockLen, STREAM_OOB));
var_dump(stream_socket_recvfrom($sock, $sockLen, STREAM_PEEK));
?>
--EXPECT--
bool(false)
bool(false)
bool(false)
Did this file decode correctly?
Original Code
--TEST--
string stream_socket_recvfrom ( resource $socket , int $length [, int $flags = 0 [, string &$address ]] );
--CREDITS--
marcosptf - <[email protected]> - #phparty7 - @phpsp - novatec/2015 - sao paulo - br
--FILE--
<?php
$serverUri = "tcp://127.0.0.1:31856";
$sock = stream_socket_server($serverUri, $errno, $errstr);
$sockLen = 1500;
var_dump(stream_socket_recvfrom($sock, $sockLen));
var_dump(stream_socket_recvfrom($sock, $sockLen, STREAM_OOB));
var_dump(stream_socket_recvfrom($sock, $sockLen, STREAM_PEEK));
?>
--EXPECT--
bool(false)
bool(false)
bool(false)
Function Calls
stream_socket_server | 1 |
Stats
MD5 | db15d8aa3e0497855be53feaeb140595 |
Eval Count | 0 |
Decode Time | 73 ms |