ini setting zend.assertions should changeable PHP_INI_PERDIR without restriction
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- C
- Estrellas
- 40.4k
- Forks
- 8.1k
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 96
Descripción
Description
Currently, if the ini setting zend.assertions is set to -1 in php.ini, it cannot be set to a different value in per-directory configuration file (PHP_INI_PERDIR) .user.ini or .htaccess (and vice versa).
I want to be able to change zend.assertions PHP_INI_PERDIR without restriction, for the following reasons:
- I have not always write access to
php.ini; - I don’t know the PHP_INI_PERDIR equivalent of
<?php if (ini_get('zend.assertions) !== '-1') ini_set('zend.assertions', '1'); ?>
in order to avoid an E_WARNING.
(Note that there is at least one other ini setting, namely short_open_tag, that also modify the result of compilation, but that is nevertheless changeable PHP_INI_PERDIR; from which I infer that my request is not unreasonable.)
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
El issue concierne a zend.assertions en php.ini y a la configuración por directorio en .user.ini o .htaccess; comienza rastreando cómo gestionan estos contextos ese ajuste. Se considera terminado cuando un valor establecido en un contexto puede cambiarse a otro sin la restricción actual ni el E_WARNING resultante.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- c
- Área
- backend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 30/100