Pergunta

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 ?

Foi útil?

Solução

It is require PECL pecl_http >= 0.1.0

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top