|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
36 - 10 = ?
Subscribe to this entry?

 [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-2022 The PHP Group
All rights reserved.
Last updated: Tue Aug 16 11:05:45 2022 UTC