PHP 4.3.6 Released
ehmdjii writes "The PHP Development Team is proud to announce the release of PHP 4.3.6. This is is a bug fix release whose primary goal is to address two bugs which may result in crashes in PHP builds with thread-safety enabled. All users of PHP in a threaded environment (Windows) are strongly encouraged to upgrade to this release.
All in all this release fixes approximately 25 bugs that have been discovered since the 4.3.5 release. For a full list of changes in PHP 4.3.6, see the ChangeLog."
Please mod this up.
Do you hate Jesus too?
... I know I have read somewhere about some rather nasty bugs that are still not fixed in this version.
Anyone know anything more about this?
Does this mean PHP will compile as 64bit code now?
"Fixed bug #27717 (Test Failures when compiled on 64-bit mode)"
It's not just Windows that can be threaded environments, FreeBSD and Linux also have the option of using the per-child MPM.
If anyone is forcing you to entangle content, presentation and business logic, dial 911.
Try some self-discipline. It's not the language's fault.
So does this mean Apache 2.0 will now play nicer with PHP?
It's a strange world -- let's keep it that way
...no?
i ate crayons when i was a kid and now i have two braincells and the blue ones taste nicer
Sorry, but that's what PHP is for.
:)
If you're not entangling your content, presentation and logic with PHP, then you're wasting time and should have chosen something better
Oh please, PHP can't handle threads properly. Yet another reason to switch to Per-- oh wait, threads? Nevermind.
PHP is also fast and easy and template systems like Smarty are trivial to setup and use. I'd rather have one server running PHP than need a rack of machines running Java to do the same job.
PHP's not exactly a stunner when it comes to performance, especially when comparing with a well written Java application on a good JVM.
Have you actually tried running a servlet? Do you know how well they perform, or are you just spouting out rubbish about Java being slow because you used a bad Swing app 3 years ago?
Oh yeah, Java makes it pretty trivial to cache content too.
don't bother with 911 just download Smarty.
Try it, it's what makes PHP really nice. PHP without Smarty is almost sure to become an unmaintainable mess, especially if more than one person is working on a project. PHP + Smarty is the perfect seperation of content, presentation, and business logic.
Please don't read my sig.
Am I the only one who LIKES to entangle logic and presentation?
I know that it's not good practice for large projects - but really, a website is not typically a large project.
If I wanna just throw a quick 'page last updated' in, why NOT do it inline?
It is nice with another bugfix release, but what I'm really looking forward to is the release of PHP 5 with Zend Engine 2.0. Then the object model will finally be sane (private/protected member variables for example).
Well, the point is that if you entangle logic, there will be some critical point of no return, where your script will stop being maintainable, and you will tear your hair out trying to find the bugs introduced with every change. However, you are right in that for a small web site you could tangle logic with no ill effect. However, you should always be careful about what you are doing -- you'd be amazed at how many quick projects became very large very quickly as management decides to take "just one more thing" on.
Oh please. PHP doesn't even have database connection pooling, and since there's no "application scope" there's no way to implement it yourself. Besides, if you think PHP is faster than Java, you're deluding yourself (see http://www.caucho.com/articles/benchmark.xtp). Java Servlets wiped the floor with PHP even before runtime-optimizing Hotspot JVM. Now the difference is so large, nobody even bothers trying to compare them.
if you like it don't listen to people who tell you not to do it! :-D meanwhile as you recode the whole site, your content stagnates and you lose all your traffic. :(
either one of two things will happen:
1) your site will stay small and you'll be able to maintain it and you'll be happy it was so easy and didnt waste the hour of time learning to use a templating system.
or
2) your site grows into a huge tangle of mess and it will bite you in the ass and you'll develop a life long fear or anything that remotely approuches the mixing of presentation and logic and content. but at this point you have a large successful site anyways so are happy while redesigning the whole thing
wush.net - svn hosting