php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38871 class NAMESPACE
Submitted: 2006-09-18 19:25 UTC Modified: 2006-09-19 14:57 UTC
From: marios at ultrastar dot com Assigned:
Status: Not a bug Package: Class/Object related
PHP Version: 5.1.6 OS: Redhat
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: marios at ultrastar dot com
New email:
PHP Version: OS:

 

 [2006-09-18 19:25 UTC] marios at ultrastar dot com
Description:
------------
Are you guys going to ever introduce any namespace? 
Its either that or you stop creating your own classes or interfaces. Every time you make an upgrade and you introduce a class or an interface we have to change our code to remove those names so we can have our code runing on the new version. or we just dont upgrade it and let all the security holes there. 
Either you make a true objected oriented language or just stay to just functions and let us deal with the classes.

We cannot upgrade from 5.04 to 5.16 because your 5.10 has the Serializable intrface which many peopel coded long before you did!

Marios

Reproduce code:
---------------
Are you guys going to ever introduce any namespace? 
Its either that or you stop creating your own classes or interfaces. Every time you make an upgrade and you introduce a class or an interface we have to change our code to remove those names so we can have our code runing on the new version. or we just dont upgrade it and let all the security holes there. 
Either you make a true objected oriented language or just stay to just functions and let us deal with the classes.

We cannot upgrade from 5.04 to 5.16 because your 5.10 has the Serializable intrface which many peopel coded long before you did!

Marios

Expected result:
----------------
Are you guys going to ever introduce any namespace? 
Its either that or you stop creating your own classes or interfaces. Every time you make an upgrade and you introduce a class or an interface we have to change our code to remove those names so we can have our code runing on the new version. or we just dont upgrade it and let all the security holes there. 
Either you make a true objected oriented language or just stay to just functions and let us deal with the classes.

We cannot upgrade from 5.04 to 5.16 because your 5.10 has the Serializable intrface which many peopel coded long before you did!

Marios

Actual result:
--------------
Are you guys going to ever introduce any namespace? 
Its either that or you stop creating your own classes or interfaces. Every time you make an upgrade and you introduce a class or an interface we have to change our code to remove those names so we can have our code runing on the new version. or we just dont upgrade it and let all the security holes there. 
Either you make a true objected oriented language or just stay to just functions and let us deal with the classes.

We cannot upgrade from 5.04 to 5.16 because your 5.10 has the Serializable intrface which many peopel coded long before you did!

Marios

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-18 19:25 UTC] marios at ultrastar dot com
update email
 [2006-09-18 19:26 UTC] tony2001@php.net
This is not a forum.
 [2006-09-18 19:32 UTC] marios at ultrastar dot com
It is still a bug!
A computer bug is an error, flaw, mistake, failure, or fault in a computer program that prevents it from working correctly or produces an incorrect result. Bugs arise from mistakes and errors, made by people, in either a program's source code or its design. It is said that there are bugs in all useful computer programs, but well-written programs contain relatively few bugs, and these bugs typically do not prevent the program from performing its task. ...

Upgrading PHP that makes existing code that runs well to break its a bug!
 [2006-09-19 14:57 UTC] marios at ultrastar dot com
How about we use our SS as a prefix ???. That may make the prefix unique. In a world where thousands of developers want to share their code , using prefix is not the solution. Besides PHP self classes and functions do not follow any standard naming.

"The standard function library lacks internal consistency. Many functions perform relatively similiar actions and have different name standards and argument orders. For example, strpos($haystack, $needle) vs. in_array($needle, $haystack)."

I do not undertand why everyone in the php developing team tries to justify the reason behind not having namespaces where all the true object oriented languages are build based on namespace.

Anyway, I guess i am trying to push PHP to the entreprice level but it may not be ready yet!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 05 22:01:31 2024 UTC