Skip to content

Commit ca8f28c

Browse files
committed
Adding missing test file
1 parent 69d07ba commit ca8f28c

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?php
2+
3+
echo 'var is '.(($var < 0) ? 'negative' : 'positive');
4+
echo 'var is '.($var < 0 ? 'negative' : 'positive');
5+
echo 'var is '.(($var < 0) ? 'negative' : 'positive');
6+
echo 'var is '.(($var < 0) ? 'negative' : 'positive');
7+
echo 'var is '.(($var < 0) ? 'negative' : 'positive');
8+
echo 'var is '.(($var < 0) ? 'negative' : 'positive');
9+
echo 'var is '.(($var < 0) ? 'negative' : 'positive');
10+
echo 'var is '.(($var < 0) ? 'negative' : 'positive');
11+
12+
echo 'var is '.(($var < 0)
13+
? 'negative'
14+
: 'positive');
15+
16+
$args = array(
17+
'"'.$this->id.'"',
18+
'"'.$this->stepInfo['title'].'"',
19+
'"'.((isset($this->stepInfo['description']) === TRUE) ? $this->stepInfo['description'] : '').'"',
20+
'"'.(isset($this->stepInfo['description']) === TRUE ? $this->stepInfo['description'] : '').'"',
21+
'"'.$this->stepInfo['title'].'"',
22+
);
23+
24+
echo (TRUE) ? 'Hello' : 'Bye';
25+
26+
$array = array(
27+
'one' => ($test == 1) ? true : false,
28+
'two' => (($test == 1) ? true : false),
29+
'three' => (($test == 1) ? true : false)
30+
);
31+
$var = ($test == 1) ? true : false;
32+
$var = (myFunc(1,2,3) == 1) ? true : false;
33+
34+
set('config', function() {
35+
$foo = ($bar === "on") ? "1" : "2";
36+
});
37+
38+
$config = function() {
39+
$foo = ($bar === "on") ? "1" : "2";
40+
};
41+
42+
rand(0, 1) ? 'ěščřžýáí' : NULL;
43+
44+
$c = ($argv[1]) ?: "";
45+
$filepath = realpath($argv[1]) ?: $argv[1];
46+
$c = ($argv[1]) ? /* comment */ : "";
47+
$c = ($argv[1]) ?
48+
: "";

0 commit comments

Comments
 (0)