From 0a7c6a55508f84cef135177be8aef97998bc3685 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 30 May 2018 13:33:39 +0200 Subject: [PATCH] Use root namespace for functions --- Helper/ipGeoLocationBuilder.php | 2 +- buildProject.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Helper/ipGeoLocationBuilder.php b/Helper/ipGeoLocationBuilder.php index e65bc39..978edfe 100644 --- a/Helper/ipGeoLocationBuilder.php +++ b/Helper/ipGeoLocationBuilder.php @@ -7,7 +7,7 @@ $fh = fopen('GeoIPCountryWhois.csv', 'r'); $fo = fopen('output.csv', 'w'); function ip2int(string $ip) : float { - $split = explode('.', $ip); + $split = \explode('.', $ip); return $split[0] * (256 ** 3) + $split[1] * (256 ** 2) + $split[2] * (256 ** 1) + $split[3]; } diff --git a/buildProject.php b/buildProject.php index dae9c86..39273c0 100644 --- a/buildProject.php +++ b/buildProject.php @@ -1,7 +1,7 @@ /dev/null 2>/dev/null &');