PHP Classes

File: vendor/nikic/php-parser/test/code/prettyPrinter/expr/variables.test

Recommend this page to a friend!
  Packages of Abed Nego Ragil Putra   Laravel Blogging Platform   vendor/nikic/php-parser/test/code/prettyPrinter/expr/variables.test   Download  
File: vendor/nikic/php-parser/test/code/prettyPrinter/expr/variables.test
Role: Example script
Content type: text/plain
Description: Example script
Class: Laravel Blogging Platform
Manage blog posts using Laravel and Bootstrap
Author: By
Last change:
Date: 8 months ago
Size: 813 bytes
 

Contents

Class file image Download
Variables
-----
<?php

$a
;
$
$a;
${
$a};
$a->b;
$a->b();
$a->b($c);
$a->$b();
$a->{$b}();
$a->$b[$c]();
$
$a->b;
$a[$b];
$a[$b]();
$
$a[$b];
$a::B;
$a::$b;
$a::b();
$a::b($c);
$a::$b();
$a::$b[$c];
$a::$b[$c]($d);
$a::{$b[$c]}($d);
$a::{$b->c}();
A::$$b[$c]();
a();
$a();
$a()[$b];
$a->b()[$c];
$a::$b()[$c];
(new
A)->b;
(new
A())->b();
(new $
$a)[$b];
(new
$a->b)->c;

global
$a, $$a, $$a[$b], $$a->b;
-----
!!
php5
$a
;
${
$a};
${
$a};
$a->b;
$a->b();
$a->b($c);
$a->{$b}();
$a->{$b}();
$a->{$b[$c]}();
${
$a}->b;
$a[$b];
$a[$b]();
${
$a[$b]};
$a::B;
$a::$b;
$a::b();
$a::b($c);
$a::$b();
$a::$b[$c];
$a::{$b[$c]}($d);
$a::{$b[$c]}($d);
$a::{$b->c}();
A::${$b[$c]}();
a();
$a();
$a()[$b];
$a->b()[$c];
$a::$b()[$c];
(new
A())->b;
(new
A())->b();
(new ${
$a}())[$b];
(new
$a->b())->c;
global
$a, ${$a}, ${$a[$b]}, ${$a->b};