After years of anticipation, PHP 5 was released today. This release represents a milestone in the evolution of PHP. It sports the new Zend Engine II, a completely re-worked object model, and many many new features.
After years of anticipation, PHP 5 was released today. This release represents a milestone in the evolution of PHP. It sports the new Zend Engine II, a completely re-worked object model, and many many new features.
it will be interesting to see how long it takes ISPs to rollout PHP5 and whether or not they will offer 4.x as well as 5.
I’m not sure if 5 is backward compatible or not (havent read the release notes), but i’ll soon find out!
cheers
peter
Written in Bigloo Scheme.
http://www-sop.inria.fr/mimosa/fp/Bigloo/bigloo.html
I have been waiting for this moment with baited breath. PHP 5 is incredible, taking an already lovely language and making it super-great to program sophisticated OOP code for. I plan on transitioning all my PHP development over to version 5 as soon as my hosting company switches.
Yee haw! I LOOOOOVE PHP!
Jared
well they said that it should be almost perfectlly backward compatible – so that code from 4.x should mostly run without any changes…
Well, one of the better *coughs* hosting providers — BlacSun — is still running php 4.1ish .. So my guess is within the next 6 years most will have made the switch
And basically commit suicide.
I am never going to build my code using ASP.net code using Mono until MS gives blanket permission.
Sorry but Mono(Using MS classes) is a hobby until MS says otherwise.
PHP5 is almost completely backwards compatible according to the developers. There are a few things it will break, though mostly just old poorly written code. Now I have talked to a few hosting companies and most said they would start to think about PHP5 in the next four to six months.
1. Does the compiler now come with PHP or is this a 3rd party app?
2. Does the compiler work on Windows/IIS?
Suicide. Hitching your car to a train you don’t own and can’t control the direction of. Java is a safer bet, for sure. PHP and Perl let you control the direction of your code and its versioning.
We have our Coldfusion server regularly leak enough memory that it needs to be reset. Ugly. Our PHP servers never skip a beat. Let me repeat that: never.
Its a commerical compiler.
I asked my ISP about moving to PHP5 and they said basically “We will wait and see…”. I bet most ISP’s are going to do this.
Suicide. Hitching your car to a train you don’t own and can’t control the direction of.
I think “suicide” is a bit of FUD from you. First, most of the PHP users are also “passengers” as they don’t have the skills to fix in case something is broke; so the sense of “control” can be a bit illusory; besides that, MS is a commercial company so they need to keep .Net improving according to what the customers want, otherwise people will jump to another platform (.Net 2.0 looks quite promising, btw).
So although I agree that it’s better to work with open source products (I try to do it whenever possible), call commercial programs “suicide” is a bit of zealotry. Better to be pragmatic and make the better choices taking all variables in consideration. If you’re a developer you’d better know both PHP and .Net, so you have more skills in your CV.
From the company’s website:
Now available for:
Red Hat (7.3,8,9)
Debian (woody,sid,sarge)
SuSE 9
Mandrake 10
Gentoo current
Coming soon:
Windows (XP/NT)
FreeBSD
MacOS X
so, no windows support. yet.
Which is better the compiler or a caching program like zend or MMCache?
How would you implement a compiled php program? Through cgi/fast-cgi? Is the compiler for more general purpose stuff (and not for web servers)?
I see that Bigloo has “An experimental .NET bytecode generator.” Does that mean we will be able to write .NET (Mono, dotGNU) dlls in php (general purpose, not just for webserving)? 😀
He wasn’t calling comercial products suicide – he said that MONO was suicide b/c they immediately created an open source .Net w/o getting permission from the people who initially created it. If you’re a business owner you don’t want technology that may make you:
1) Have to reprogram all source code b/c it’s now illegal to use it due to MS screaming infringment.
2) Have to be singled out as a company who infringes on MS’s technology (ala what SCO is doing to Autozone).
Who needs those headaches??
For hobby it’s cool but no real business can afford stupid mistakes like that.
//$Mono==”Future”;
$Mono==”Hobby”; //temporary fix [fanboy killer – 7/14/04]
I know mine can’t. I don’t make enough in a year to go up against MS in court….no startups can afford that.
1) Have to reprogram all source code b/c it’s now illegal to use it due to MS screaming infringment.
Clearly you don’t know enough about Mono’s legal situation. I recommend you, in case you’re really interested, to read their FAQ or just search some articles about it here at OSNews.com
//$Mono==”Future”;
$Mono==”Hobby”; //temporary fix [fanboy killer – 7/14/04]
Wow, you came up with that all by yourself?
Anyway, this thread should be PHP5, not .Net/Mono.
I love that PHP5 is thriving; I love choice, and PHP is a very good technology. I just don’t buy FUD.
why is everyone reporting on this not reporting the important facts???
Price: $399/year
Only avail. for Linux and derivitaves right now (Win & OSX versions forthcoming).
And you still need a seperate runtime component installed to run the compiled executables.
The price is terrible considering it’s target audience. I hope that either an open source compiler is released soon, or that a company with more marketing sense releases one. I refuse to pay $400/year when I’m just an individual developer. Such pricing almost guarantees that a hack will appear on the p2p networks though… Still, I’d rather pay a company that wants my business a fair price than pirate their hard work. This ain’t such a company though.
>> //$Mono==”Future”;
>> $Mono==”Hobby”; //temporary fix [fanboy killer – 7/14/04]
>>
> Wow, you came up with that all by yourself?
Probably, since it doesn’t make sense…
</it’s-a-joke–laugh>
//$Mono==”Future”;
$Mono==”Hobby”; //temporary fix [fanboy killer – 7/14/04]
Isn’t double equal (==) for comparison not assignment?
Proving yet again that many eyes make bugs shallow.
Well, I like the idea of PHP with real classes. Regardless of what you all might say, I don’t like programming server-side JavaScript (which is all ASP is, except with sugar on top), I like programming PHP. And it’s nice to know that it’s getting better all the time…
Maybe he meant comparison? Very interesting indeed.
I assume this is php, does it return 1 or 0 like c?
Breaking news for you: ASP.Net has been out for some 3 years, and is full OO..and IIRC ASP used VBScript, not Javascript on the server-side…
I assume this is php, does it return 1 or 0 like c?
? both php and C return 1 for “true” and 0 for “false”. it’s only C “standard” funstions like strcmp() which returns 0 for “equal”.
ASP can use anything you want. Most places have VBScript (BAH!) as the default. More sensible systems — certain universities — have JavaScript set as default.
And it’s possible to use PHP with ASP as well. Because to put it simple, ASP isn’t a language.
Many languages use this convention in comparisons. -1 indicates less than, 0 indicates equality, and 1 indicates a greater than condition. Using these return values means one function can evaluate a non-boolean comparison.
Instead of streq, strgt, and strlt, ll duplicating the logic, you can just have strcmp.
I think “suicide” is a bit of FUD from you. First, most of the PHP users are also “passengers” as they don’t have the skills to fix in case something is broke; so the sense of “control” can be a bit illusory; besides that, MS is a commercial company so they need to keep .Net improving according to what the customers want, otherwise people will jump to another platform (.Net 2.0 looks quite promising, btw).
I wouldn’t called “suicide” FUD, at the end of the day, Microsoft has not come out and said, “we have no problems with third party re-implementation of .NET, infact, we’re so happy, third parties can sign this little contract which will make them immune from any IP and patent issues”, until Microsoft does that, I wouldn’t touch .NET with a forty foot pole let alone base anything critical on it.
IMHO, stick with PHP, stick with Java, stick with the things that have a legacy of good development lead by companies with a good relationship not only with customers but with developers and third party vendors. Going by that criteria, Microsoft defintely falls out of my list of potential suppliers.
Instead of streq, strgt, and strlt, ll duplicating the logic, you can just have strcmp.
I know
Still, IMHO it’s not so “clean”, because in one place “true” is 1 and in other it’s “0” – that makes language a bit less “readable”. Unfortunetly i don’t know how it could be made better (changing everything to be 0 for “true” isn’t so nice too, as people are used to 0 meaning “nothing”, meaning “false”).
I wouldn’t called “suicide” FUD, at the end of the day, Microsoft has not come out and said, “we have no problems with third party re-implementation of .NET…
I was not talking about Mono, but .Net itself, since the guy didn’t mention Mono in his original post, but just .Net. So I was refering to Microsoft’s .Net.
Mono is a different issue, and if I were an open source shop I’d probably avoid for a while too, until things are clear. But then I’d probably not to go Java either. Probably PHP or something based on Python.
yes, im excited!