php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58009 HttpQueryString::singleton should be deprecated
Submitted: 2008-01-14 14:58 UTC Modified: 2008-02-08 04:11 UTC
From: mattsch at gmail dot com Assigned: mike (profile)
Status: Not a bug Package: pecl_http (PECL)
PHP Version: 5.2.1 OS: Gentoo Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mattsch at gmail dot com
New email:
PHP Version: OS:

 

 [2008-01-14 14:58 UTC] mattsch at gmail dot com
Description:
------------
In the interest of simplifying things, I think HttpQueryString::singleton() should be deprecated.  It has nothing to do with the singleton design pattern as the construct is already public.  As a result, it is no different from instantiating the object.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-02-08 04:08 UTC] mike@php.net
It is different to using the constructor, you just need to use it with discipline.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 00:01:30 2024 UTC