Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 152) sorted by relevance

1234567

/php-src/sapi/cli/tests/
H A Dbug78323.phpt23 $lines = preg_split('/\R/', $output);
24 echo $lines[0], "\n",
25 $lines[1], "\n",
35 $lines = preg_split('/\R/', $output);
36 echo $lines[0], "\n",
37 $lines[1], "\n",
47 $lines = preg_split('/\R/', $output);
48 echo $lines[0], "\n",
49 $lines[1], "\n",
59 $lines = preg_split('/\R/', $output);
[all …]
/php-src/tests/lang/
H A Dsyntax_errors.phpt15 /* separately test cases where the faulty construct spans multiple lines,
17 "if(1 > 2) {\n echo '1';", /* unclosed (, spans multiple lines */
18 "[1,\n2,\n3,", /* unclosed [, spans multiple lines */
19 "{\n echo '1';\n echo '2';", /* unclosed {, spans multiple lines */
20 "(1 +\n 2 +\n 3))", /* too many ), spans multiple lines */
21 "[1,\n2,\n3]];", /* too many ], spans multiple lines */
22 "if (1)\n {\n }}", /* too many }, spans multiple lines */
23 "(1 +\n\n 2])", /* ] doesn't match (, spans multiple lines */
24 "[1,\n2,\n3)]", /* ) doesn't match [, spans multiple lines */
25 "if(1) {\n echo 'a';\n)}", /* ) doesn't match {, spans multiple lines */
/php-src/ext/opcache/tests/opt/
H A Dverify_return_type.phpt63 ; (lines=1, args=0, vars=0, tmps=0)
69 ; (lines=3, args=0, vars=0, tmps=1)
79 ; (lines=3, args=0, vars=0, tmps=1)
89 ; (lines=2, args=1, vars=1, tmps=0)
96 ; (lines=3, args=0, vars=0, tmps=1)
104 ; (lines=1, args=0, vars=0, tmps=0)
110 ; (lines=3, args=0, vars=0, tmps=1)
118 ; (lines=2, args=1, vars=1, tmps=0)
125 ; (lines=6, args=1, vars=1, tmps=1)
136 ; (lines=1, args=0, vars=0, tmps=0)
[all …]
H A Dtype_inference_class_consts1.phpt48 ; (lines=1, args=0, vars=0, tmps=0)
54 ; (lines=1, args=0, vars=0, tmps=0)
60 ; (lines=1, args=0, vars=0, tmps=0)
66 ; (lines=1, args=0, vars=0, tmps=0)
72 ; (lines=3, args=0, vars=0, tmps=1)
82 ; (lines=1, args=0, vars=0, tmps=0)
88 ; (lines=2, args=0, vars=0, tmps=1)
H A Dgh11170.phpt42 ; (lines=5, args=0, vars=0, tmps=%d, ssa_vars=0, no_loops)
47 ; start exit lines=[0-4]
56 ; (lines=11, args=0, vars=2, tmps=%d, ssa_vars=11, no_loops)
63 ; start lines=[0-3]
73 ; follow lines=[4-6]
83 ; target lines=[7-8]
92 ; follow target exit lines=[9-10]
109 ; start lines=[0-3]
119 ; follow lines=[4-6]
129 ; target lines=[7-8]
[all …]
H A Dtype_inference_class_consts4.phpt49 ; (lines=2, args=0, vars=0, tmps=0)
56 ; (lines=3, args=0, vars=0, tmps=1)
66 ; (lines=3, args=0, vars=0, tmps=1)
76 ; (lines=3, args=0, vars=0, tmps=1)
86 ; (lines=3, args=0, vars=0, tmps=1)
96 ; (lines=1, args=0, vars=0, tmps=0)
102 ; (lines=1, args=0, vars=0, tmps=0)
H A Dnullsafe_002.phpt23 ; (lines=1, args=0, vars=0, tmps=%d, ssa_vars=0, no_loops)
28 ; start exit lines=[0-0]
33 ; (lines=7, args=1, vars=1, tmps=%d, ssa_vars=6, no_loops)
39 ; start lines=[0-2]
48 ; follow lines=[3-3]
57 ; follow target exit lines=[4-6]
H A Dprop_types.phpt43 ; (lines=1, args=0, vars=0, tmps=%d, ssa_vars=0, no_loops)
48 ; start exit lines=[0-0]
53 ; (lines=10, args=1, vars=1, tmps=%d, ssa_vars=5, no_loops)
59 ; start exit lines=[0-9]
73 ; (lines=9, args=0, vars=0, tmps=%d, ssa_vars=3, no_loops)
78 ; start exit lines=[0-8]
91 ; (lines=10, args=1, vars=1, tmps=%d, ssa_vars=5, no_loops)
97 ; start exit lines=[0-9]
111 ; (lines=9, args=0, vars=0, tmps=%d, ssa_vars=3, no_loops)
116 ; start exit lines=[0-8]
H A Dtype_inference_class_consts3.phpt38 ; (lines=1, args=0, vars=0, tmps=0)
44 ; (lines=1, args=0, vars=0, tmps=0)
50 ; (lines=1, args=0, vars=0, tmps=0)
56 ; (lines=1, args=0, vars=0, tmps=0)
H A Dtype_inference_class_consts2.phpt38 ; (lines=1, args=0, vars=0, tmps=0)
44 ; (lines=1, args=0, vars=0, tmps=0)
50 ; (lines=1, args=0, vars=0, tmps=0)
56 ; (lines=1, args=0, vars=0, tmps=0)
H A Dcoalesce.phpt27 ; (lines=1, args=0, vars=0, tmps=0)
33 ; (lines=2, args=0, vars=1, tmps=1)
40 ; (lines=2, args=0, vars=1, tmps=1)
H A Dtype_inference_final_class.phpt27 ; (lines=1, args=0, vars=0, tmps=0)
33 ; (lines=1, args=0, vars=0, tmps=0)
39 ; (lines=2, args=0, vars=0, tmps=1)
H A Ddce_009.phpt38 ; (lines=7, args=0, vars=0, tmps=0)
50 ; (lines=3, args=0, vars=0, tmps=0)
60 ; (lines=1, args=0, vars=0, tmps=0)
66 ; (lines=3, args=0, vars=0, tmps=1)
H A Ddce_006.phpt24 ; (lines=1, args=0, vars=0, tmps=0)
30 ; (lines=7, args=1, vars=2, tmps=1)
44 ; (lines=1, args=0, vars=0, tmps=0)
/php-src/sapi/cgi/tests/
H A Dbug78323.phpt18 $lines = preg_split('/\R/', $output);
19 echo $lines[0], "\n",
20 $lines[1], "\n",
30 $lines = preg_split('/\R/', $output);
31 echo $lines[0], "\n",
/php-src/ext/standard/tests/streams/
H A Dbug60455_03.phpt2 Bug #60455: stream_get_line and 2 lines, one possibly empty
7 private $lines = array();
11 $this->lines[] = "a\n";
12 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n");
18 if (key_exists($this->s++, $this->lines))
19 return $this->lines[$this->s - 1];
/php-src/Zend/tests/
H A Dbug79934.phpt4 This test covers different variations of whitespace-only lines in heredoc strings.
5 These whitespace-only lines should be ignored when stripping indentation.
8 // lines with only CRLF should not cause a parse error
12 // lines with only a LF should not cause a parse error
16 // lines with only a CR should not cause a parse error
20 // lines with only whitespace should not cause a parse error
/php-src/sapi/fpm/tests/
H A Dbug78323.phpt18 $lines = preg_split('/\R/', $output);
19 echo $lines[0], "\n",
29 $lines = preg_split('/\R/', $output);
30 echo $lines[0], "\n",
H A Dlogreader.inc259 private array $lines = [];
289 $this->lines[] = $line;
302 * Get all stream read lines.
308 return $this->lines;
327 private array $lines = [];
353 $lines = file($this->filePath);
354 if ($lines === false) {
357 $this->lines = $lines;
358 if ($this->position < count($lines)) {
372 return $this->lines[$this->position++];
[all …]
/php-src/ext/opcache/tests/
H A Dpreload_optimizer.phpt20 ; (lines=1, args=0, vars=0, tmps=%d)
26 ; (lines=1, args=0, vars=0, tmps=%d)
32 ; (lines=1, args=0, vars=0, tmps=%d)
38 ; (lines=2, args=0, vars=0, tmps=%d)
/php-src/ext/standard/tests/strings/
H A Dprint_basic.phpt16 multiple lines. The newlines will be
20 print "This also spans\nmultiple lines. The newlines will be\noutput as well.";
50 multiple lines with $variable interpolation. Note
64 multiple lines. The newlines will be
68 multiple lines. The newlines will be
82 multiple lines with VARIABLE interpolation. Note
H A Dstripos_variation3.phpt10 echo "-- With heredoc string containing multi lines --\n";
13 spanning multiple lines
26 -- With heredoc string containing multi lines --
H A Dstrrpos_variation3.phpt10 echo "-- With heredoc string containing multi lines --\n";
13 spanning multiple lines
26 -- With heredoc string containing multi lines --
H A Dnl2br_variation3.phpt10 //heredoc string containing new line chars(\n, \r and combinations of \r & \n) and new lines
20 //heredoc string containing embedded 'new line chars'/'new lines' in the string
23 This is \tes\t for \n \new lines
63 ew lines<br />
/php-src/ext/opcache/tests/match/
H A D002.phpt34 ; (lines=5, args=0, vars=0, tmps=0)
44 ; (lines=2, args=0, vars=0, tmps=0)
52 ; (lines=2, args=0, vars=0, tmps=0)

Completed in 22 milliseconds

1234567