ini setting zend.assertions should changeable PHP_INI_PERDIR without restriction
まだ誰も着手していません。
- 主要言語
- C
- スター
- 40.4k
- フォーク
- 8.1k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 96
説明
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.)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue は php.ini の zend.assertions と、ディレクトリ単位の .user.ini または .htaccess の設定に関するものです。まず、これらのコンテキストでその設定がどのように扱われるかを追跡してください。完了の条件は、あるコンテキストで設定された値を、現在の制限や結果として生じる E_WARNING なしに別のコンテキストへ変更できることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100