Re: static vs global variable [message #172704 is a reply to message #172700] |
Sat, 26 February 2011 16:48 |
Mladen Gogala
Messages: 13 Registered: December 2010
Karma:
|
Junior Member |
|
|
On Sat, 26 Feb 2011 10:02:29 -0500, sheldonlg wrote:
> What do you have in C++ that you don't have in PHP other than -- UGH! --
> multiple inheritance? You would be floored to see some of the stuff I
> have written and seen in PHP. Also, I think Java is much better than
> C++ and PHP5 is very much like Java in many ways.
I've been following this group quite a while and I haven't seen anybody
mentioning PHAR, which is a noteworthy addition to PHP. One thing that is
missing, though, is creating something like the CLASSPATH variable, which
would make it possible for a PHP script to search a PHAR archive
automatically, without having to include phar://archive.phar/file.php
things. I agree with you completely, there are numerous similarities
between Java and PHP5.
--
http://mgogala.byethost5.com
|
|
|