Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Support > php issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-06-2006, 11:39 AM
Junior Member
 
Join Date: May 2006
Posts: 19
Default Purely OOP language?

Is PHP a purely OOP language?

Mary
Reply With Quote
  #2 (permalink)  
Old 05-06-2006, 12:33 PM
Senior Member
 
Join Date: Apr 2006
Posts: 295
Default

PHP is not a pure OOP language, but PHP 5.0 comes closer to a true OOP language than PHP 4.0.
Reply With Quote
  #3 (permalink)  
Old 05-16-2006, 09:59 AM
Senior Member
 
Join Date: Apr 2006
Location: Norway
Posts: 1,643
Default

PHP does have the functionality, but it is not purely OOP language. If you want to learn more this link will help you a lot;

<b>faqts.com/knowledge_base/view.phtml/aid/7569 </b>

Last edited by paul; 05-16-2006 at 10:12 AM.
Reply With Quote
  #4 (permalink)  
Old 05-03-2007, 05:21 AM
Senior Member
 
Join Date: May 2007
Posts: 142
Default

I beleive that every real programming language could be a purely OOP, I was debating about that with my teacher a couple of years and he had mentioned C++ and JAVA, then he asked about ANSI C?
I told him yep, C is a real OOP programming language, if we get a close sight at what is this Object Oriented Programing? it's Objects, so simple.
And Objects are Pointer to Predfined Structures including an inside standard Pointer to Structure then we have our functions, and when it comes to the Constructing and Destructing it gonna be so simple, we even can create a THIS type by 'typedef' and a 'new' poiter function , like that we can manipulate our objects better then any other language, and we can optimize it to the final edge that no other lang can do that.

At the end I beleive that every real P.L would be a pure OOP , always my thoughts may be wrong but this is what I do beleive
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:50 AM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum