Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
http_mock.php
Go to the documentation of this file.
1 <?php
7 
9 
16 {
18 }
19 
26 {
28 }
29 
37 function fsockopen(&$errorNumber, &$errorMessage)
38 {
39  $errorNumber = 0;
40  $errorMessage = '';
41  return HttpTest::$fsockopen;
42 }
43 
47 function fwrite()
48 {
49 }
50 
56 function feof()
57 {
58  return true;
59 }
60 
66 function get_headers()
67 {
68  return HttpTest::$headers;
69 }
fsockopen(&$errorNumber, &$errorMessage)
Definition: http_mock.php:37