public function testIntegerType() { $value = 10; $this->assertInternalType("integer", $value); }
public function testBooleanType() { $value = true; $this->assertInternalType("boolean", $value); }
public function testArrayType() { $value = array("foo", "bar", "baz"); $this->assertInternalType("array", $value); }Package library: PHPUnit, a testing framework for PHP.