diff --git a/simplesamlphp_auth.info b/simplesamlphp_auth.info
index c648101..514762e 100644
--- a/simplesamlphp_auth.info
+++ b/simplesamlphp_auth.info
@@ -2,3 +2,4 @@ name = simpleSAMLphp authentication
 description = Allows users to authenticate to a remote SAML identity provider (IdP) via a locally configured SimpleSAMLphp service point (SP).
 core = 7.x
 configure = admin/config/people/simplesamlphp_auth
+php = 5.3
diff --git a/simplesamlphp_auth.module b/simplesamlphp_auth.module
index 258d412..616fc71 100644
--- a/simplesamlphp_auth.module
+++ b/simplesamlphp_auth.module
@@ -784,7 +784,7 @@ function _simplesamlphp_auth_rolepopulation($rolemap) {
 
         _simplesaml_auth_debug(t('Evaluate role evaulation: %roleruleeval', array('%roleruleeval' => $roleruleevaluation)));
 
-        $roleruleevaluationdc = explode(',', $roleruleevaluation);
+        $roleruleevaluationdc = str_getcsv($roleruleevaluation);
         if (!_simplesamlphp_auth_evaulaterolerule($roleruleevaluationdc, $attributes)) {
           $addnew = FALSE;
         }
