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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: toolmakersteve2 at shawstudio dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Tue Oct 08 21:01:27 2024 UTC