/PHP-8.0/sapi/cli/tests/ |
H A D | bug78323.phpt | 23 $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-8.0/tests/lang/ |
H A D | syntax_errors.phpt | 15 /* 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-8.0/ext/standard/tests/streams/ |
H A D | bug60455_03.phpt | 2 Bug #60455: stream_get_line and 2 lines, one possibly empty 6 private $lines = array(); 10 $this->lines[] = "a\n"; 11 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n"); 17 if (key_exists($this->s++, $this->lines)) 18 return $this->lines[$this->s - 1];
|
/PHP-8.0/sapi/cgi/tests/ |
H A D | bug78323.phpt | 18 $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-8.0/Zend/tests/ |
H A D | bug79934.phpt | 4 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
|
H A D | bug55509.phpt | 17 $lines = file('/proc/meminfo'); 19 foreach ($lines as $line) { 31 $lines = explode("\n",`sysctl -a`); 33 foreach ($lines as $line) {
|
/PHP-8.0/sapi/fpm/tests/ |
H A D | bug78323.phpt | 18 $lines = preg_split('/\R/', $output); 19 echo $lines[0], "\n", 29 $lines = preg_split('/\R/', $output); 30 echo $lines[0], "\n",
|
H A D | logreader.inc | 247 private array $lines = []; 277 $this->lines[] = $line; 290 * Get all stream read lines. 296 return $this->lines; 315 private array $lines = []; 341 $lines = file($this->filePath); 342 if ($lines === false) { 345 $this->lines = $lines; 346 if ($this->position < count($lines)) { 360 return $this->lines[$this->position++]; [all …]
|
/PHP-8.0/ext/opcache/tests/opt/ |
H A D | nullsafe_002.phpt | 23 ; (lines=1, args=0, vars=0, tmps=0, ssa_vars=0, no_loops) 28 ; start exit lines=[0-0] 33 ; (lines=7, args=1, vars=1, tmps=2, ssa_vars=6, no_loops) 39 ; start lines=[0-2] 48 ; follow lines=[3-3] 57 ; follow target exit lines=[4-6]
|
H A D | prop_types.phpt | 43 ; (lines=1, args=0, vars=0, tmps=0, ssa_vars=0, no_loops) 48 ; start exit lines=[0-0] 53 ; (lines=10, args=1, vars=1, tmps=4, ssa_vars=5, no_loops) 59 ; start exit lines=[0-9] 73 ; (lines=9, args=0, vars=0, tmps=4, ssa_vars=3, no_loops) 78 ; start exit lines=[0-8] 91 ; (lines=10, args=1, vars=1, tmps=4, ssa_vars=5, no_loops) 97 ; start exit lines=[0-9] 111 ; (lines=9, args=0, vars=0, tmps=4, ssa_vars=3, no_loops) 116 ; start exit lines=[0-8]
|
H A D | coalesce.phpt | 26 ; (lines=1, args=0, vars=0, tmps=0) 32 ; (lines=2, args=0, vars=1, tmps=1) 39 ; (lines=2, args=0, vars=1, tmps=1)
|
H A D | dce_006.phpt | 23 ; (lines=1, args=0, vars=0, tmps=0) 29 ; (lines=7, args=1, vars=2, tmps=1) 43 ; (lines=1, args=0, vars=0, tmps=0)
|
H A D | sccp_001.phpt | 22 ; (lines=1, args=0, vars=0, tmps=0) 28 ; (lines=1, args=0, vars=0, tmps=0)
|
H A D | sccp_022.phpt | 28 ; (lines=1, args=0, vars=0, tmps=0) 34 ; (lines=11, args=1, vars=2, tmps=1) 50 ; (lines=9, args=0, vars=3, tmps=2)
|
H A D | sccp_019.phpt | 22 ; (lines=1, args=0, vars=0, tmps=0) 28 ; (lines=2, args=1, vars=1, tmps=0)
|
H A D | jmp_001.phpt | 20 ; (lines=1, args=0, vars=0, tmps=0) 26 ; (lines=4, args=0, vars=1, tmps=1)
|
H A D | sccp_017.phpt | 23 ; (lines=1, args=0, vars=0, tmps=0) 29 ; (lines=2, args=1, vars=1, tmps=0)
|
H A D | sccp_009.phpt | 21 ; (lines=1, args=0, vars=0, tmps=0) 27 ; (lines=3, args=1, vars=1, tmps=0)
|
H A D | dce_003.phpt | 20 ; (lines=1, args=0, vars=0, tmps=0) 26 ; (lines=3, args=1, vars=1, tmps=0)
|
/PHP-8.0/ext/opcache/tests/match/ |
H A D | 002.phpt | 33 ; (lines=5, args=0, vars=0, tmps=0) 43 ; (lines=2, args=0, vars=0, tmps=0) 51 ; (lines=2, args=0, vars=0, tmps=0)
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | stripos_variation3.phpt | 10 echo "-- With heredoc string containing multi lines --\n"; 13 spanning multiple lines 26 -- With heredoc string containing multi lines --
|
H A D | strrpos_variation3.phpt | 10 echo "-- With heredoc string containing multi lines --\n"; 13 spanning multiple lines 26 -- With heredoc string containing multi lines --
|
H A D | print_basic.phpt | 16 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 D | nl2br_variation3.phpt | 10 //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-8.0/sapi/phpdbg/ |
H A D | phpdbg_list.h | 28 PHPDBG_LIST(lines); 49 uint32_t lines; member
|