php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #19635 Problems with table on ini_set page
Submitted: 2002-09-27 07:11 UTC Modified: 2002-11-20 20:22 UTC
From: m dot ford at lmu dot ac dot uk Assigned: jmcastagnetto (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.2.3 OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: m dot ford at lmu dot ac dot uk
New email:
PHP Version: OS:

 

 [2002-09-27 07:11 UTC] m dot ford at lmu dot ac dot uk
The ini_set() documentation page appears to have a couple of problems:

- The entry for session.encode_sources appears to have the default value spread across the Default and Changeable columns, and no Changeable entry.

- Due to long values in some cells (and NOWRAP behaviour?), the table is rendering rather wide, forcing a lot of sideways scrolling on 800x600 monitors.  Not sure how best to tackle this, although spaces either side of the | operators in the Changeable column would help as that column could then wrap if necessary.

Additionally, I think the table of PHP_INI constants should be at least referenced in the introduction, so one can easily know where to look for it.  Personally, I think I'd put the whole table at the top, but possibly that may be considered a step too far...!

Cheers!

Mike

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-10 13:49 UTC] maxim@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


I have added a few whitespaces for url_rewriter.tags value so table can wrap.

As session.encode_sources doesn't seem to have anything wrong in it... Can you be more precise?

Moving ini_set to the introuductions makes few sence as it would be inappropriate.

Thanks, Mike

Maxim Maletsky

 [2002-11-11 07:16 UTC] m dot ford at lmu dot ac dot uk
> As session.encode_sources doesn't seem to have anything wrong in it...
> Can you be more precise?

Well, actually, I think I remember seeing a commit for the actual source from which this table is generated not long after this bug report went in -- but if so, it obviously didn't get noted here!   Anyway, you're right, that entry is fine now.

> Moving ini_set to the introuductions makes few sence as it would be
> inappropriate.

Uh -- I think this comment is based on a misreading of my suggestion.  I wasn't suggesting moving in_set anywhere -- just adding to or re-ordering its content: either a reference in the introductory text to the PHP_INI_* definitions in Table 2, or a reversal of the order of the two tables so that the constants are actually defined before they are referred to (good programming practice, surely? ;).

Cheers!

Mike
 [2002-11-11 13:33 UTC] philip@php.net
All changes to this should go through:

  phpdoc/scripts/mk_ini_set_table.sh

Or if that's no an option perhaps add a comment within.  This script generates this table from php4 source.  Moving the second table up sounds like a good idea and if nobody objects I'll do this sometime and regenerate the list.
 [2002-11-20 20:22 UTC] jmcastagnetto@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 07 12:01:35 2025 UTC