forked from prettier/plugin-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatic.php
More file actions
39 lines (39 loc) · 1.71 KB
/
static.php
File metadata and controls
39 lines (39 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
static $a, $b;
static $veryVeryVeryVeryVeryVeryVeryVeryVeryLongVariable, $veryVeryVeryVeryVeryVeryVeryVeryVeryLongVariable;
static $c = 2;
static $c = 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111;
static $testReallyReallyLong = 1, $someOtherReallyReallyLongVariable = 2, $oneMoreReallyLongVariable = 3;
static $a = 'veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString';
static $b = 'veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString',
$b = 'veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString';
static $a = ['value', 'other-value'];
static $a = ['value', 'other-value', 'other-other-other-other-other-other-other-other-value'];
static $a = ['value', 'other-value'], $b = ['value', 'other-value'];
static $a = ['value', 'other-value', 'other-other-other-other-other-other-other-other-value'], $b = ['value', 'other-value', 'other-other-other-other-other-other-other-other-value'];
static $a = ['key' => 'value', 'other-key' => 'other-value'];
static $a = [
'key' => 'value',
'other-key' => 'other-value'
];
static $a = ['key' => 'value', 'other-key' => 'other-value'], $b = ['key' => 'value', 'other-key' => 'other-value'];
static $a = [
'key' => 'value',
'other-key' => 'other-value'
],
$b = [
'key' => 'value',
'other-key' => 'other-value'
];
static $a = 'string' . 'string' . 'string' . 'string' . 'string' . 'string'. 'string' . 'string';
static $a, $b = 'string' . 'string' . 'string' . 'string' . 'string' . 'string'. 'string' . 'string';
static $a = 'string
string
string';
static $a = 'string
string
string', $b = 'string
string
string';
static $x = $a = 1;
static $x = $a = $b = 1;