|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: toolmakersteve2 at shawstudio dot com
New email:
PHP Version: OS:


 [2019-04-09 12:24 UTC] toolmakersteve2 at shawstudio dot com

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-04-17 10:50 UTC]
-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-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 04 01:01:27 2023 UTC