Question

Perhaps I missed something but when I call

$result='';
      $langs = array(
          'en-US',
          'fr',
       );
var_dump(http_negotiate_language($langs,$result));

I have an 500 error message. Should I add some extensions, should I parametrize something on my php.ini ?

Était-ce utile?

La solution

It is require PECL pecl_http >= 0.1.0

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top