diff --git a/src/bindings/php/Tests/DifferenceTest.php b/src/bindings/php/Tests/DifferenceTest.php
new file mode 100644
index 0000000000000000000000000000000000000000..88c1903d3bb4d84dcea124f13353ac5e16daceb5
--- /dev/null
+++ b/src/bindings/php/Tests/DifferenceTest.php
@@ -0,0 +1,25 @@
+<?php
+include_once 'hammer.php';
+
+class DifferenceTest extends PHPUnit_Framework_TestCase
+{
+    protected $parser;
+
+    protected function setUp()
+    {
+        $this->parser = h_difference(h_token("ab"), ch("a"));
+    }
+
+    public function testSuccess()
+    {
+        $result = h_parse($this->parser, "ab");
+        $this->assertEquals("ab", $result);
+    }
+
+    public function testFailure()
+    {
+        $result = h_parse($this->parser, "a");
+        $this->assertEquals(NULL, $result);
+    }
+}
+?>
\ No newline at end of file