403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/php.cpython-39.pyc
a

SҼa1�@s�dZddlZddlmZmZmZmZmZmZm	Z	m
Z
mZddlm
Z
mZmZmZmZmZmZmZmZmZddlmZmZmZgd�Ze�d�ZGdd	�d	e�ZGd
d�de�ZGdd
�d
e�Z dS)z�
    pygments.lexers.php
    ~~~~~~~~~~~~~~~~~~~

    Lexers for PHP and related languages.

    :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)	�Lexer�
RegexLexer�include�bygroups�default�using�this�words�
do_insertions)
�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Other�Generic)�get_bool_opt�get_list_opt�shebang_matches)�ZephirLexer�PsyshConsoleLexer�PhpLexerz.*?
c@seZdZdZdZdgZdgZgd�Zgd�Ze	j
e	jBZde
fdejfd	ejfged
�dejdfd
edfed�gde
dfgde
dfed
�dedfdedfdefdedfdejdfdejfdejfdejfdejfdejfdej fdej!fdej"fdejfgd�Z#d S)!rz�
    For `Zephir language <http://zephir-lang.com/>`_ source code.

    Zephir is a compiled high level language aimed
    to the creation of C-extensions for PHP.

    .. versionadded:: 2.0
    ZZephirZzephirz*.zep)ZfetchZechoZisset�empty)�bit�bits�string�\s+�//.*?\n�	/\*.*?\*/�commentsandwhitespacez3/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gim]+\b|\B)�#pop�/z\nz	^(?=\s|/)�slashstartsregexzC\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|(<<|>>>?|==?|!=?|->|[-<>+*%&|^/])=?z[{(\[;,]z[})\].]z�(for|in|while|do|break|return|continue|switch|case|default|if|else|loop|require|inline|throw|try|catch|finally|new|delete|typeof|instanceof|void|namespace|use|extends|this|fetch|isset|unset|echo|fetch|likely|unlikely|empty)\bz(var|let|with|function)\bz�(abstract|boolean|bool|char|class|const|double|enum|export|extends|final|native|goto|implements|import|int|string|interface|long|ulong|char|uchar|float|unsigned|private|protected|public|short|static|self|throws|reverse|transient|volatile)\bz(true|false|null|undefined)\bzm(Array|Boolean|Date|_REQUEST|_COOKIE|_SESSION|_GET|_POST|_SERVER|this|stdClass|range|count|iterator|window)\bz[$a-zA-Z_][\w\\]*z%[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?z0x[0-9a-fA-F]+z[0-9]+z"(\\\\|\\[^\\]|[^"\\])*"z'(\\\\|\\[^\\]|[^'\\])*')r"r%Zbadregex�rootN)$�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenamesZzephir_keywordsZzephir_type�re�DOTALL�	MULTILINE�flagsrr�Single�	MultilinerrZRegexr
rrrZDeclarationZReserved�Constantr�Builtinrr�Float�Hex�Integer�Double�tokens�r;r;�7/usr/lib/python3.9/site-packages/pygments/lexers/php.pyrs\	������
����rc@s*eZdZdZdZdgZdd�Zdd�ZdS)	ruZ
    For `PsySH`_ console output, such as:

    .. sourcecode:: psysh

        >>> $greeting = function($name): string {
        ...     return "Hello, {$name}";
        ... };
        => Closure($name): string {#2371 …3}
        >>> $greeting('World')
        => "Hello, World"

    .. _PsySH: https://psysh.org/
    .. versionadded:: 2.7
    zPsySH console session for PHPZpsyshcKsd|d<tj|fi|��dS)NT�startinline)r�__init__)�self�optionsr;r;r<r>lszPsyshConsoleLexer.__init__c	cstfi|j��}d}g}t�|�D]�}|��}|�d�sB|�d�rx|�t|�dtj	|dd�fgf�||dd�7}q"|�
�dkr�|�t|�dtj	dfgf�||dd�7}q"|r�t||�|��EdHd}g}|�
�tj|fVq"|�rt||�|��EdHdS)N�z>>> z... r�z...�)rr@�line_re�finditer�group�
startswith�append�lenrZPrompt�rstripr
�get_tokens_unprocessed�startZOutput)r?�textZphplexerZcurcodeZ
insertions�match�liner;r;r<rKps4
�
�
�
�z(PsyshConsoleLexer.get_tokens_unprocessedN)r'r(r)r*r+r,r>rKr;r;r;r<rYs
rc"@s�eZdZdZdZgd�Zgd�ZdgZdZdZ	ded	Z
e	e
Zej
ejBejBZd
ejdfdefd
efgdejdfdedeeeejeejee�fdefdejfdejfdejfdejfdejfdedeeeej�fdefdefdefdeee�dfdeee�fd eeeee�d!fd"edeeeej �fd#efd$ej fe!d%�d&ed'ej"fd(eej"feejfd)e#j$fd*e#j$fd+e#j%fd,e#j&fd-e#j'fd.e#j(fd/ejfd0ej)fd1ej*d2fge+d3d4d5�ej,j-fge+d6d4d5�ej fgeej.dfge!d7�eej,dfe/d�gd1ej*dfd8ej*fd9ej0fd:ed;ed<ej1fd=eej1e2e3d>d?�ej1�fd@eej1e2e3d>d?�ej1�fdAeej1ej"ej1�fdBej*fgdC�Z4dDdE�Z5dFdG�Z6dHdI�Z7dJS)KraT
    For `PHP <http://www.php.net/>`_ source code.
    For PHP embedded in HTML, use the `HtmlPhpLexer`.

    Additional options accepted:

    `startinline`
        If given and ``True`` the lexer starts highlighting with
        php code (i.e.: no starting ``<?php`` required).  The default
        is ``False``.
    `funcnamehighlighting`
        If given and ``True``, highlight builtin function names
        (default: ``True``).
    `disabledmodules`
        If given, must be a list of module names whose function names
        should not be highlighted. By default all modules are highlighted
        except the special ``'unknown'`` module that includes functions
        that are known to php but are undocumented.

        To get a list of allowed modules have a look into the
        `_php_builtins` module:

        .. sourcecode:: pycon

            >>> from pygments.lexers._php_builtins import MODULES
            >>> MODULES.keys()
            ['PHP Options/Info', 'Zip', 'dba', ...]

        In fact the names of those modules match the module names from
        the php documentation.
    ZPHP)�phpZphp3Zphp4Zphp5)z*.phpz
*.php[345]z*.incz
text/x-phpz[\\\w]|[^\x00-\x7f]z(?:[\\_a-z]|[^\x00-\x7f])z(?:z)*z	<\?(php)?rPz[^<]+�<z\?>r#z(<<<)([\'"]?)(z)(\2\n.*?\n\s*)(\3)(;?)(\n)rz#.*?\nr z/\*\*/z/\*\*.*?\*/r!z
(->|::)(\s*)(�)z[~!%^&*+=|:.<>/@-]+z\?z
[\[\]{}();,]+z(class)(\s+)�	classnamez(function)(\s*)(?=\()z(function)(\s+)(&?)(\s*)�functionnamez
(const)(\s+)(a(and|E_PARSE|old_function|E_ERROR|or|as|E_WARNING|parent|eval|PHP_OS|break|exit|case|extends|PHP_VERSION|cfunction|FALSE|print|for|require|continue|foreach|require_once|declare|return|default|static|do|switch|die|stdClass|echo|else|TRUE|elseif|var|empty|if|xor|enddeclare|include|virtual|endfor|include_once|while|endforeach|global|endif|list|endswitch|new|endwhile|not|array|E_ALL|NULL|final|php_user_filter|interface|implements|public|private|protected|abstract|clone|try|catch|throw|this|use|namespace|trait|yield|finally)\bz(true|false|null)\b�magicconstantsz\$\{\$+z\}z\$+z"(\d+\.\d*|\d*\.\d+)(e[+-]?[0-9]+)?z\d+e[+-]?[0-9]+z0[0-7]+z0x[a-f0-9]+z\d+z0b[01]+z'([^'\\]*(?:\\.[^'\\]*)*)'z`([^`\\]*(?:\\.[^`\\]*)*)`�"r)Z__constructZ
__destructZ__callZ__callStaticZ__getZ__setZ__issetZ__unsetZ__sleepZ__wakeupZ
__toStringZ__invokeZ__set_stateZ__cloneZ__debugInfoz\b)�suffix)Z__LINE__Z__FILE__Z__DIR__Z__FUNCTION__Z	__CLASS__Z	__TRAIT__Z
__METHOD__Z
__NAMESPACE__�
magicfuncsz	[^{$"\\]+z'\\([nrt"$\\]|[0-7]{1,3}|x[0-9a-f]{1,2})z\$z(\[\S+?\]|->z)?z(\{\$\{)(.*?)(\}\})T)�_startinlinez(\{)(\$.*?)(\})z(\$\{)(\S+)(\})z[${\\])r&rPrXrUrSrTrcKs�t|dd�|_t|ddg�|_t|dd�|_d|vr@|�d�|_t�|_|jr�dd	lm	}|�
�D]\}}||jvrb|j�|�qbtj
|fi|��dS)
N�funcnamehighlightingT�disabledmodules�unknownr=FrYr)�MODULES)rrZrr[r=�pop�set�
_functionsZpygments.lexers._php_builtinsr]�items�updaterr>)r?r@r]�key�valuer;r;r<r>s ��
zPhpLexer.__init__ccsddg}|jr|�d�t�|||�D]:\}}}|tjurR||jvrR|tj|fVq$|||fVq$dS)Nr&rP)r=rHrrKrrr`r5)r?rM�stack�index�tokenrdr;r;r<rK.s
�

zPhpLexer.get_tokens_unprocessedcCs*t|d�rdSd}t�d|�r&|d7}|S)NrPTgz
<\?(?!xml)g333333�?)rr.�search)rM�rvr;r;r<�analyse_text:s
zPhpLexer.analyse_textN)8r'r(r)r*r+r,r-Z	mimetypesZ_ident_charZ_ident_beginZ
_ident_endZ_ident_innerr.�
IGNORECASEr/r0r1rZPreprocrrrZ	Delimiterrrr2r3ZDocr
rZ	Attributerr4rZVariablerr6ZOctr7r8ZBinZBacktickr9r	ZFunctionZMagicZClassrZEscapeZInterpolrrr:r>rKrjr;r;r;r<r�s� 
�

��
��
�
�
�4���
���	
�
�
��������br)!r*r.Zpygments.lexerrrrrrrrr	r
Zpygments.tokenrrr
rrrrrrrZ
pygments.utilrrr�__all__�compilerDrrrr;r;r;r<�<module>s
,0
A1

Youez - 2016 - github.com/yon3zu
LinuXploit