ini setting zend.assertions should changeable PHP_INI_PERDIR without restriction
Nessuno ha ancora preso questa issue.
- Lingua principale
- C
- Stelle
- 40.4k
- Fork
- 8.1k
- Merge medio
- 2g 13h
- PR unite (30g)
- 96
Descrizione
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.)
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
L’issue riguarda zend.assertions in php.ini e la configurazione per directory in .user.ini o .htaccess; inizia tracciando il modo in cui questi contesti gestiscono tale impostazione. Il lavoro è completato quando un valore impostato in un contesto può essere modificato in un altro senza l’attuale restrizione né l’E_WARNING risultante.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- c
- Ambito
- backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100