Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. JsonParser.php

function JsonParser::popStack

Parameters

int $n:

Return value

void

1 call to JsonParser::popStack()
JsonParser::parse in vendor/seld/jsonlint/src/Seld/JsonLint/JsonParser.php
@phpstan-param int-mask-of<self::*> $flags

File

vendor/seld/jsonlint/src/Seld/JsonLint/JsonParser.php, line 588

Class

JsonParser
Parser class

Namespace

Seld\JsonLint

Code

private function popStack($n) {
    $this->stack = \array_slice($this->stack, 0, -(2 * $n));
    $this->vstack = \array_slice($this->vstack, 0, -$n);
    $this->lstack = \array_slice($this->lstack, 0, -$n);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal