php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63610 changelog for sybct-settings in php.ini unclear
Submitted: 2012-11-26 15:01 UTC Modified: 2015-04-22 14:55 UTC
From: davidbruchmann at gmail dot com Assigned: pasindu (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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: davidbruchmann at gmail dot com
New email:
PHP Version: OS:

 

 [2012-11-26 15:01 UTC] davidbruchmann at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/ini.list
---
for the settings
- 'sybct.allow_persistent'
- 'sybct.max_links'
- 'sybct.max_persistent'
the changelog sais: PHP_INI_ALL in PHP <= 4.0.2. Available since PHP 4.0.2. 
Removed in PHP 4.0.3.

This is not logical because if the setting was introduced in PHP 4.0.2. it 
couldn't have different defaults before.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-19 15:13 UTC] pasindu@php.net
Default of sybct.allow_persistent seems to be "1" | "on", 

best I could find.
https://github.com/php/php-src/blob/PHP-4.0/ext/sybase_ct/php_sybase_ct.c#L297

Only one default seems to be there, the page might has changed since 2012. Not sure whether I am looking at the right thing.
 [2015-04-19 16:28 UTC] davidbruchmann at gmail dot com
Yes, the reference you showed seems being right to see at least the default values.

My complain was not about these values in the documentation but about the "PHP_INI_ALL in PHP <= 4.0.2". It should be "PHP_INI_ALL in PHP = 4.0.2" because the feature was introduced in PHP 4.0.2. So it never exists in 4.0.1 or before and the sign "<=" is wrong.
 [2015-04-19 18:39 UTC] bjori@php.net
Mon Dec 26 12:12:13 2005 UTC (9 years, 3 months ago)
http://svn.php.net/viewvc?view=revision&revision=203686

This was generated by a old script that attempted to detect introduction of ini entries by scanning the src.
That apparently didn't quite work out -- this ini option was available until the death of the extension, PHP5.4:
http://git.php.net/?p=php-src.git;a=blob;f=ext/sybase_ct/php_sybase_ct.c;h=abad531bace4eb405577c19d3953d681839d8738;hb=refs/heads/PHP-5.3.29#l514

It should speak volumes about the popularity of the extension :)

We no longer maintain PHP4 docs -- but that bogus version info should maybe be fixed for the fun of it
 [2015-04-19 18:51 UTC] davidbruchmann at gmail dot com
hehe, ok.
You still discovered another fault, that's good.

I think it's helpful to have an accurate Documentation, the support for the versions is not directly concerned by the documentation and I think the documentation at least should be as right as possible.
Sometimes we've to deal with strange situations and old versions and if the documentation is right then it can be quite helpful.
 [2015-04-22 14:55 UTC] pasindu@php.net
Automatic comment from SVN on behalf of pasindu
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=336616
Log: Fix #63610
 [2015-04-22 14:55 UTC] pasindu@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pasindu
 [2015-04-22 14:55 UTC] pasindu@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of pasindu
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=7bc4b32df7b7cab9c602653bf2dedd23ad443ccd
Log: Fix #63610
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 04:00:02 2026 UTC