In my server log I'm seeing multiple lines like (possibly for every quiz question):

09-Mar-2015 08:33:48] PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home2/dougsgui/public_html/prod/sites/all/modules/quiz/includes/QuizResultController.class.inc on line 5

In QuizResultController.class.inc line 5 reads:

function delete($ids, \DatabaseTransaction $transaction = NULL) {

I'm not familiar with the backslash syntax, though I see it in other functions which apparently don't throw an error.

Is this a problem?

Comments

djdevin’s picture

Are you possibly using PHP 5.2? That may be why.

dkalish’s picture

No, using 5.4.24 on bluehost.

djdevin’s picture

Hm, interesting.

Anyways, if you remove it and it works it isn't harmful. D7 doesnt really use namespaces too heavily so it won't matter.

I will go ahead and remove it anyway, it's not necessary and was just my IDE filling things in :\

djdevin’s picture

Status: Active » Closed (outdated)