diff -pruN 2.2.5-1/debian/changelog 2.2.5-1ubuntu2/debian/changelog
--- 2.2.5-1/debian/changelog	2015-09-29 19:02:05.000000000 +0000
+++ 2.2.5-1ubuntu2/debian/changelog	2016-10-06 22:53:11.000000000 +0000
@@ -1,3 +1,16 @@
+php-arc (2.2.5-1ubuntu2) yakkety; urgency=medium
+
+  * debian/patches/pass_variable_by_reference.patch: PHP7 is strict
+    about passing by reference.  Closes LP: #1631190.
+
+ -- Nishanth Aravamudan <nish.aravamudan@canonical.com>  Thu, 06 Oct 2016 15:53:11 -0700
+
+php-arc (2.2.5-1ubuntu1) xenial; urgency=medium
+
+  * Update to PHP7.0 dependencies (LP: #1562962).
+
+ -- Nishanth Aravamudan <nish.aravamudan@canonical.com>  Mon, 28 Mar 2016 10:17:11 -0700
+
 php-arc (2.2.5-1) unstable; urgency=low
 
   * New upstream release
diff -pruN 2.2.5-1/debian/control 2.2.5-1ubuntu2/debian/control
--- 2.2.5-1/debian/control	2015-09-29 19:02:05.000000000 +0000
+++ 2.2.5-1ubuntu2/debian/control	2016-10-06 22:51:21.000000000 +0000
@@ -1,7 +1,8 @@
 Source: php-arc
 Section: php
 Priority: optional
-Maintainer: Olivier Berger <obergix@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Olivier Berger <obergix@debian.org>
 Homepage: https://github.com/semsol/arc2
 Build-Depends: debhelper (>= 5), pkg-php-tools (>= 1.7~), phpunit
 Standards-Version: 3.9.6
@@ -11,7 +12,7 @@ Vcs-Browser: http://anonscm.debian.org/g
 Package: libarc-php
 Architecture: all
 Depends: ${misc:Depends}, ${phpcomposer:Debian-require}
-Suggests: ${phpcomposer:Debian-suggest}, php5-mysql
+Suggests: ${phpcomposer:Debian-suggest}, php-mysql
 Description: Flexible RDF system for semantic web and PHP practitioners
  ARC2 is a PHP 5.3 library for working with RDF.
  .
diff -pruN 2.2.5-1/debian/patches/pass_variable_by_reference.patch 2.2.5-1ubuntu2/debian/patches/pass_variable_by_reference.patch
--- 2.2.5-1/debian/patches/pass_variable_by_reference.patch	1970-01-01 00:00:00.000000000 +0000
+++ 2.2.5-1ubuntu2/debian/patches/pass_variable_by_reference.patch	2016-10-06 22:53:02.000000000 +0000
@@ -0,0 +1,16 @@
+Description: PHP7 is strict about passing by reference
+Author: Nishanth Aravamudan <nish.aravamudan@canonical.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1631190
+
+--- php-arc-2.2.5.orig/tests/unit/ARC2_ClassTest.php
++++ php-arc-2.2.5/tests/unit/ARC2_ClassTest.php
+@@ -6,7 +6,8 @@ require_once ARC2_DIR . '/ARC2_Class.php
+ class ARC2_ClassTest extends PHPUnit_Framework_TestCase {
+ 
+     public function setUp() {
+-         $this->arc2 = new ARC2_Class(array(), new stdClass);
++         $obj = new stdClass;
++         $this->arc2 = new ARC2_Class(array(), $obj);
+     }
+ 
+     public function testCamelCase() {
diff -pruN 2.2.5-1/debian/patches/series 2.2.5-1ubuntu2/debian/patches/series
--- 2.2.5-1/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ 2.2.5-1ubuntu2/debian/patches/series	2016-10-06 22:52:36.000000000 +0000
@@ -0,0 +1 @@
+pass_variable_by_reference.patch
diff -pruN 2.2.5-1/.pc/applied-patches 2.2.5-1ubuntu2/.pc/applied-patches
--- 2.2.5-1/.pc/applied-patches	2016-10-07 01:39:11.088194451 +0000
+++ 2.2.5-1ubuntu2/.pc/applied-patches	2016-10-07 01:39:11.304200375 +0000
@@ -0,0 +1 @@
+pass_variable_by_reference.patch
diff -pruN 2.2.5-1/.pc/pass_variable_by_reference.patch/tests/unit/ARC2_ClassTest.php 2.2.5-1ubuntu2/.pc/pass_variable_by_reference.patch/tests/unit/ARC2_ClassTest.php
--- 2.2.5-1/.pc/pass_variable_by_reference.patch/tests/unit/ARC2_ClassTest.php	1970-01-01 00:00:00.000000000 +0000
+++ 2.2.5-1ubuntu2/.pc/pass_variable_by_reference.patch/tests/unit/ARC2_ClassTest.php	2015-05-14 09:42:03.000000000 +0000
@@ -0,0 +1,68 @@
+<?php
+
+require_once '../ARC2_TestCase.php';
+require_once ARC2_DIR . '/ARC2_Class.php';
+
+class ARC2_ClassTest extends PHPUnit_Framework_TestCase {
+
+    public function setUp() {
+         $this->arc2 = new ARC2_Class(array(), new stdClass);
+    }
+
+    public function testCamelCase() {
+         $this->assertSame("Fish", $this->arc2->camelCase("fish"));
+         $this->assertSame("fish", $this->arc2->camelCase("fish", true));
+         $this->assertSame("fish", $this->arc2->camelCase("fish", true, true));
+
+         $this->assertSame("FishHeads", $this->arc2->camelCase("fish_heads"));
+         $this->assertSame("fishHeads", $this->arc2->camelCase("fish_heads", true));
+         $this->assertSame("fishHeads", $this->arc2->camelCase("fish_heads", true, true));
+
+         $this->assertSame("ALLCAPITALS", $this->arc2->camelCase("ALL_CAPITALS"));
+    }
+
+    public function testDeCamelCase() {
+         $this->assertSame("fish", $this->arc2->deCamelCase("fish"));
+         $this->assertSame("Fish", $this->arc2->deCamelCase("fish", true));
+
+         $this->assertSame("fish heads", $this->arc2->deCamelCase("fish_heads"));
+         $this->assertSame("Fish heads", $this->arc2->deCamelCase("fish_heads", true));
+
+         $this->assertSame("ALL CAPITALS", $this->arc2->deCamelCase("ALL_CAPITALS"));
+    }
+
+
+    public function testV() {
+        $this->assertSame(false, $this->arc2->v(null));
+        $this->assertSame(false, $this->arc2->v("cats", false, array()));
+        $this->assertSame(true, $this->arc2->v("cats", false, array("cats" => true)));
+
+        $o = new stdclass;
+        $o->cats = true;
+        $this->assertSame(true, $this->arc2->v("cats", false, $o));
+    }
+
+    public function testV1() {
+        $this->assertSame(false, $this->arc2->v1(null));
+        $this->assertSame(false, $this->arc2->v1("cats", false, array()));
+        $this->assertSame(true, $this->arc2->v1("cats", false, array("cats" => true)));
+        $this->assertSame("blackjack", $this->arc2->v1("cats", "blackjack", array("cats" => null)));
+
+        $o = new stdclass;
+        $o->cats = true;
+        $this->assertSame(true, $this->arc2->v1("cats", false, $o));
+
+        $o = new stdclass;
+        $o->cats = 0;
+        $this->assertSame("blackjack", $this->arc2->v1("cats", "blackjack", $o));
+    }
+
+    public function testExtractTermLabel() {
+        $this->assertSame("bar", $this->arc2->extractTermLabel('http://example.com/foo#bar'));
+        $this->assertSame("bar cats", $this->arc2->extractTermLabel('http://example.com/foo#bar?cats'));
+        $this->assertSame("bar", $this->arc2->extractTermLabel('#bar'));
+        $this->assertSame("bar", $this->arc2->extractTermLabel('http://example.com/bar'));
+        $this->assertSame("bar", $this->arc2->extractTermLabel('http://example.com/bar/'));
+    }
+
+}
diff -pruN 2.2.5-1/tests/unit/ARC2_ClassTest.php 2.2.5-1ubuntu2/tests/unit/ARC2_ClassTest.php
--- 2.2.5-1/tests/unit/ARC2_ClassTest.php	2015-05-14 09:42:03.000000000 +0000
+++ 2.2.5-1ubuntu2/tests/unit/ARC2_ClassTest.php	2016-10-07 01:39:11.000000000 +0000
@@ -6,7 +6,8 @@ require_once ARC2_DIR . '/ARC2_Class.php
 class ARC2_ClassTest extends PHPUnit_Framework_TestCase {
 
     public function setUp() {
-         $this->arc2 = new ARC2_Class(array(), new stdClass);
+         $obj = new stdClass;
+         $this->arc2 = new ARC2_Class(array(), $obj);
     }
 
     public function testCamelCase() {
