|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #10374 Depreciated features or not
Submitted: 2001-04-18 03:39 UTC Modified: 2002-08-13 22:56 UTC
From: yohgaki at dd dot iij4u dot or dot jp Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.0.4pl1 OS:
Private report: No CVE-ID: None
 [2001-04-18 03:39 UTC] yohgaki at dd dot iij4u dot or dot jp
There are features/functions that are depreciated or going to be depreciated.
It is nice to see what is depreciated and is going to be depreciated in the PHP Manual. (Although, there is "Migrating from ...." section. List of them would be nice and some of them is not docuemented. There aren't many as far as I know especially after 4.0.0.)

I guess depreciated feature/function/etc are not on the manual, but it hard to tell w/o document if they are just not documented or depreciated and deleted.

It would be also nice to encourage/discourage use of feature/function/etc for current/future release.

Examples are:
 - accessing string as array and modify string as array
 - <?php_track_vars?> (It's in NEWS and user could know it's depreciated, though)
 - set_nonblock()
 - Assoc array index without quote. For example,
$str = "This is $arr[element] and you will NOT see warning with E_ALL and this works";
 - track_vars always on for 4.0.3(It's in NEWS, though)
 - magic_quote = off in php.ini for 4.1?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-13 22:56 UTC]
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit

Thank you for your interest in PHP.

There are no set dates or release numbers for when legacy function will be removed. As far as I know PHP4 still supports many functions that were marked as legacy back in 3.X days.
If/When a function will be removed be assured it will be noted in the release notes for that version.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Aug 07 12:01:24 2020 UTC