Bypass the bug in php function stream_context_create?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
7 views
There is a script that works great in php < 5.2.* and 5.3.*+. That is, everywhere except in the 5.2 branch. After finding the reason was found the next bug:
bugs.php.net/bug.php?id=41051


In a nutshell, the header rolls only a simple array. Tried to pass an array — did not help. Maybe someone faced and knows how to get around this trouble?


Yes, updating php request not to offer — it has its reasons
by | 7 views

1 Answer

0 like 0 dislike
To write such a function. Or pull it from 5.3
by

Related questions

0 like 0 dislike
1 answer
asked May 21, 2019 by anton99zel
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Jun 12, 2019 by solascriptura
0 like 0 dislike
4 answers
110,608 questions
257,186 answers
0 comments
28,075 users