class_docstr: For PsySH console output, such as:
  
  .. sourcecode:: psysh
  
      >>> $greeting = function($name): string {
      ...     return "Hello, {$name}";
      ... };
      => Closure($name): string {#2371 …3}
      >>> $greeting('World')
      => "Hello, World"
  
  .. versionadded:: 2.7
class_docstr_tok: ["For","PsySH","console","output",",","such","as",":","..","sourcecode",":",":","psysh",">",">",">","$","greeting","=","function","(","$","name",")",":","string","{","...","return","``","Hello",",","{","$","name","}","''",";","...","}",";","=",">","Closure","(","$","name",")",":","string","{","#","2371","\u20263","}",">",">",">","$","greeting","(","'World","'",")","=",">","``","Hello",",","World","''","..","versionadded",":",":","2.7"]
code: def get_tokens_unprocessed(self, text):
      phplexer = PhpLexer(**self.options)
      curcode = ""
      insertions = []
      for match in line_re.finditer(text):
          line = match.group()
          if line.startswith(">>> ") or line.startswith("... "):
              insertions.append(
                  (len(curcode), [(0, Generic.Prompt, line[:4])])
              )
              curcode += line[4:]
          elif line.rstrip() == "...":
              insertions.append(
                  (len(curcode), [(0, Generic.Prompt, "...")])
              )
              curcode += line[3:]
          else:
              if curcode:
                  yield from do_insertions(
                      insertions,
                      phplexer.get_tokens_unprocessed(curcode),
                  )
                  curcode = ""
                  insertions = []
              yield match.start(), Generic.Output, line
      if curcode:
          yield from do_insertions(
              insertions, phplexer.get_tokens_unprocessed(curcode)
          )
  
file_path: catboost/contrib/python/Pygments/py3/pygments/lexers/php.py
imports: import re
  from pygments.lexer import Lexer, RegexLexer, include, bygroups, default, using, this, words, do_insertions, line_re
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Other, Generic
  from pygments.util import get_bool_opt, get_list_opt, shebang_matches
label_desc: Use image node_id 2 for calling the PsyshConsoleLexer obj's underlying member method code with example usage: obj.get_tokens_unprocessed(text) without return types