php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77870 php.ini - doesn't say whether parser supports full php
Submitted: 2019-04-09 12:24 UTC Modified: 2019-04-17 10:50 UTC
From: toolmakersteve2 at shawstudio dot com Assigned:
Status: Open Package: Documentation problem
PHP Version: Irrelevant OS: Not relevant
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-04-09 12:24 UTC] toolmakersteve2 at shawstudio dot com
Description:
------------
https://www.php.net/manual/en/configuration.file.php

I don't see anywhere a clarification of whether a php.ini file can/cannot contain:

* arithmetic expressions.
  E.g. session.gc_maxlifetime = 4 * 60 * 60;

* assignment to a variable, that is then used to set other variables.
  E.g. $oneHourInSeconds = 60 * 60;
       session.gc_maxlifetime = 4 * $oneHourInSeconds;

* both single and double quoting of strings.
  E.g. are both 'fred' and "fred" valid strings.


Test script:
---------------
Not relevant


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-04-17 10:50 UTC] cmb@php.net
-Package: PHP Language Specification +Package: Documentation problem
 [2019-04-23 03:46 UTC] a at b dot c dot de
Some of these at least are addressed in php.ini itself (which includes its own documentation).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 08:01:29 2024 UTC