diff --git a/compiler/cpp/src/generate/t_php_generator.cc b/compiler/cpp/src/generate/t_php_generator.cc index 99b207f9f..bd6e7d803 100644 --- a/compiler/cpp/src/generate/t_php_generator.cc +++ b/compiler/cpp/src/generate/t_php_generator.cc @@ -49,7 +49,7 @@ void t_php_generator::init_generator() { autogen_comment() << "include_once $GLOBALS['THRIFT_ROOT'].'/packages/" + program_name_ + "/" + program_name_ + "_types.php';" << endl << endl << - "$GLOBALS['" << program_name_ << "_CONSTANTS'] = array(); " << endl << + "$GLOBALS['" << program_name_ << "_CONSTANTS'] = array();" << endl << endl; } }