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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 02:01:38 2025 UTC