Strange Syntax Error
I was using the dynamic plug in feature with many possible cases and keep getting a syntax error. The top of the switch case code starts like this:
switch(isset(((isset($_SERVER["SERVER_NAME"]))?$_SERVER["SERVER_NAME"]:""))?((isset($_SERVER["SERVER_NAME"]))?$_SERVER["SERVER_NAME"]:""):""){
I noticed, though, just by removing the first "isset" between the first and second parenthesis seems to fix the issue like this:
switch((((isset($_SERVER["SERVER_NAME"]))?$_SERVER["SERVER_NAME"]:""))?((isset($_SERVER["SERVER_NAME"]))?$_SERVER["SERVER_NAME"]:""):""){
I have been trying to figure out if that first "isset" check is really needed or is that a bug being generated?
Best regards,
Brian