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-- PECL bug #16536 (Weight of 0 causes SegFault on memcache_add_server) --SKIPIF-- <..
Decoded Output download
--TEST--
PECL bug #16536 (Weight of 0 causes SegFault on memcache_add_server)
--SKIPIF--
<?php include 'connect.inc'; ?>
--FILE--
<?php
include 'connect.inc';
$mmc = new Memcache;
var_dump(@$mmc->addServer($host, $port, true, 0));
var_dump(@$mmc->set('TEST_KEY', 'test_value'));
echo "Done
";
?>
--EXPECTF--
bool(false)
bool(false)
Done
Did this file decode correctly?
Original Code
--TEST--
PECL bug #16536 (Weight of 0 causes SegFault on memcache_add_server)
--SKIPIF--
<?php include 'connect.inc'; ?>
--FILE--
<?php
include 'connect.inc';
$mmc = new Memcache;
var_dump(@$mmc->addServer($host, $port, true, 0));
var_dump(@$mmc->set('TEST_KEY', 'test_value'));
echo "Done\n";
?>
--EXPECTF--
bool(false)
bool(false)
Done
Function Calls
None |
Stats
MD5 | 2ace895f83fa752f50c0cc4a7ca806b6 |
Eval Count | 0 |
Decode Time | 85 ms |