%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/rs/php/8.3/lib/php/test/memcache/tests/
Upload File :
Create Path :
Current File : /home/rs/php/8.3/lib/php/test/memcache/tests/017.phpt

--TEST--
Memcache class should be inheritable
--SKIPIF--
<?php include 'connect.inc'; ?>
--FILE--
<?php

include 'connect.inc';

class test extends Memcache {
	function foo() {
		echo "foo\n";
	}
}

$t = new test;
$t->connect($host, $port);
$t->foo();

var_dump($t);

echo "Done\n";
?>
--EXPECTF--	
foo
object(test)%s%d) {
  ["connection"]=>
  resource(%d) of type (memcache connection)
}
Done

Zerion Mini Shell 1.0