From: Christian von Roques Date: Sun, 2 Apr 2017 16:03:17 +0000 (+0200) Subject: with PHP7 the result of new() can no longer be assigned by reference X-Git-Tag: v3.0.0~36^2^2~4 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/40debbc7b51de624c1f6f9e7d954fcf870eff621?hp=ccecabfbf4ae9ddb7a5e6b9553458ec4214ee6c3 with PHP7 the result of new() can no longer be assigned by reference --- diff --git a/utils/warm.php b/utils/warm.php index 5743dbd5..68fa751c 100755 --- a/utils/warm.php +++ b/utils/warm.php @@ -53,7 +53,7 @@ if (!$aResult['search-only']) { } if (!$aResult['reverse-only']) { - $oGeocode =& new Nominatim\Geocode($oDB); + $oGeocode = new Nominatim\Geocode($oDB); echo "Warm search: "; if ($bVerbose) echo "\n";