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-- Bug #72202 (curl_close doesn't close cURL handle) --EXTENSIONS-- curl --FILE-- <?..
Decoded Output download
--TEST--
Bug #72202 (curl_close doesn't close cURL handle)
--EXTENSIONS--
curl
--FILE--
<?php
$a = fopen(__FILE__, "r");
$b = $a;
var_dump($a, $b);
fclose($a);
var_dump($a, $b);
unset($a, $b);
$a = curl_init();
$b = $a;
var_dump($a, $b);
curl_close($a);
var_dump($a, $b);
unset($a, $b);
?>
--EXPECTF--
resource(%d) of type (stream)
resource(%d) of type (stream)
resource(%d) of type (Unknown)
resource(%d) of type (Unknown)
object(CurlHandle)#1 (0) {
}
object(CurlHandle)#1 (0) {
}
object(CurlHandle)#1 (0) {
}
object(CurlHandle)#1 (0) {
}
Did this file decode correctly?
Original Code
--TEST--
Bug #72202 (curl_close doesn't close cURL handle)
--EXTENSIONS--
curl
--FILE--
<?php
$a = fopen(__FILE__, "r");
$b = $a;
var_dump($a, $b);
fclose($a);
var_dump($a, $b);
unset($a, $b);
$a = curl_init();
$b = $a;
var_dump($a, $b);
curl_close($a);
var_dump($a, $b);
unset($a, $b);
?>
--EXPECTF--
resource(%d) of type (stream)
resource(%d) of type (stream)
resource(%d) of type (Unknown)
resource(%d) of type (Unknown)
object(CurlHandle)#1 (0) {
}
object(CurlHandle)#1 (0) {
}
object(CurlHandle)#1 (0) {
}
object(CurlHandle)#1 (0) {
}
Function Calls
fopen | 1 |
var_dump | 1 |
Stats
MD5 | 4fd8e512674cc470893bc62394199533 |
Eval Count | 0 |
Decode Time | 88 ms |