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
 [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: Thu Apr 18 09:01:27 2024 UTC