hphp/runtime/ext/json/JSON_parser.cpp
static int pop(json_parser *json, Mode mode) {
  if (json->top < 0 || json->stack[json->top].mode != mode) {
    return false;
  }
  json->stack[json->top].mode = Mode::INVALID;
  json->top -= 1;
  return true;
}
/**
 * Pop the stack, assuring that the current mode matches the expectation.
 * Return false if there is underflow or if the modes mismatch.
 */
Pop the stack, assuring that the current mode matches the expectation.
Return false if there is underflow or if the modes mismatch.
Pop the stack assuring that the current mode matches the expectation . Return false if there is underflow or if the modes mismatch .
static int pop(json_parser *json, Mode mode) {
  if (json->top < 0 || json->stack[json->top].mode != mode) {
    return false;
  }
  json->stack[json->top].mode = Mode::INVALID;
  json->top -= 1;
  return true;
}
static int pop ( json_parser * json , Mode mode ) { if ( json -> top < 0 || json -> stack [ json -> top ] . mode != mode ) { return false ; } json -> stack [ json -> top ] . mode = Mode :: INVALID ; json -> top -= 1 ; return true ; }
Pop the stack, assuring that the current mode matches the expectation.
Pop the stack assuring that the current mode matches the expectation .