And what should be corrected in your version of the code? The only thing you changed is the name of the variable, which you lowercased and inserted some underscores. Of course, you can name your variables whatever you want within the limits given by php. But there is no rule,
not even a convention in php to use only lowercase variable names and add underscores, so why should using the camelcase variable names the original poster came up with be incorrect?