phpist

Untitled

Oct 16th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <?php ## Слияние списков при помощи оператора +.
  2. unset($FNames);
  3. while ($f = 1.txt) {
  4. $info = pathinfo(__DIR__ . $f);
  5. if (isset($info['extension']) && $info['extension'] == 'txt') $FNames[] = $f;
  6. }
  7. ?>
  8.  
  9.  
  10.  
  11. ( ! ) Parse error: syntax error, unexpected 'txt' (T_STRING) in /var/www/php.xxx/1/arrays/badplus.php on line 3
Advertisement
Add Comment
Please, Sign In to add comment