PHP 5.3 Bug: goto operator conflict
Bug #450407 reported by
benjamin.a.petersen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exponent Content Management System |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Just reporting this one officially on Launchpad, it's originally from Maia.
- - - - - - - - - -
Per Maia:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hey, Phillip:
Found the problem! Yeah! It is a PHP 5.3 problem.
Very simple to resolve. Just change the name of the function. So,
lines 152 and 173 (the call to the function) need to be changed.
PHP5.3 now has a "goto" operator, so there was a conflict in the
function name and the operator!!!
I changed it to goToHist - just to test my hypothesis - and BINGO! It
worked. One more mystery solved.
Maia
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Changed in exponent-cms: | |
status: | New → Fix Committed |
To post a comment you must log in.