Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
formstream.php
1<?php
2
4
5class FormStream extends Stream
6{
7 public function __construct(array $data)
8 {
9 parent::__construct('php://temp', 'r+');
10
11 $this->build($data);
12 $this->rewind();
13 }
14
15 protected function build(array $data)
16 {
17 $this->write(http_build_query($data, '', '&'));
18 }
19}
write(string $string)
Definition stream.php:187