Pregunta

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 ?

¿Fue útil?

Solución

It is require PECL pecl_http >= 0.1.0

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top