diff --git a/src/bindings/php/Tests/IntRangeTest.php b/src/bindings/php/Tests/IntRangeTest.php
new file mode 100644
index 0000000000000000000000000000000000000000..ce56fce273e1e242770fc28ff5da65e8ea959043
--- /dev/null
+++ b/src/bindings/php/Tests/IntRangeTest.php
@@ -0,0 +1,23 @@
+<?php
+include_once 'hammer.php';
+
+class IntRangeTest extends PHPUnit_Framework_TestCase
+{
+    protected $parser;
+
+    protected function setUp()
+    {
+        $this->parser = h_int_range(h_uint8(), 3, 10);
+    }
+    public function testSuccess()
+    {
+        $result = h_parse($this->parser, "\x05");
+        $this->assertEquals(5, $result);
+    }
+    public function testFailure()
+    {
+        $result = h_parse($this->parser, "\xb");
+        $this->assertEquals(NULL, $result);
+    }
+}
+?>
\ No newline at end of file