< New Front In The Copyright-War: Abandon-Ware | Open Source Leaders Speak About Napster >
| Slashdot Login |
| Don't have an account yet? Go Create One. A user account will allow you to customize all these nutty little boxes, tailor the stories you see, as well as remember your comment viewing preferences. |
| Related Links |
| This discussion has been archived. No new comments can be posted. |
| D'oh! (Score:1, Funny) by zpengo (snowphoton@geekflavor.SPAM.com) on Monday May 22, @03:01PM EDT (#1) (User Info) http://www.geekflavor.com |
| I wish that /. wouldn't keep posting these updates, because I always have a killer urge to immediately upgrade! A few more hours of my day down the drain....blah! How'm I supposed to find time for Halflife!?
|
| Re:D'oh! (Score:1) by dangermouse (logan@slackware.com) on Monday May 22, @03:08PM EDT (#13) (User Info) http://www.slackware.com |
| It takes you hours to upgrade PHP? ;) |
| Re:D'oh! (Score:1, Offtopic) by zpengo (snowphoton@geekflavor.SPAM.com) on Monday May 22, @03:14PM EDT (#21) (User Info) http://www.geekflavor.com |
| Yeah it does. My computer is fun like that. hehehe Have you tasted GeekFlavor? |
| Re:D'oh! (Score:1) by phee (phee@NOSPAM!IsThisThingOn.org) on Monday May 22, @08:11PM EDT (#105) (User Info) |
I just did it in about 11 minutes, including download time... mwahahaha... It's much nicer now, and I've even been using PHP4 for almost a year. At least, the phpinfo() is prettier now. Mmmmm. "The best weapon of a dictatorship is secrecy, but the best weapon of a democracy should be the weapon of openness." --Niels Bohr (1885-1962), Physicist |
| Re:D'oh! (Score:1) by Bat Breath on Tuesday May 23, @04:20AM EDT (#129) (User Info) |
Much prettier. Much better! -Mr Einstein, what is the most powerful force in the universe? |
| Finally (Score:1) by SpdyVkng on Monday May 22, @03:01PM EDT (#2) (User Info) |
| It's a pain to wait for something this long. -- The Speedy Viking Why should I be discouraged, why should in shadows I hide? |
| Re:Finally (Score:1, Funny) by captredballs (captredballs@hotmail.com) on Monday May 22, @03:20PM EDT (#30) (User Info) |
| Finally somebody who understands! I am also very special and require the world to give me gifts on a continual basis. The only thing I hate more than late presents is when they ask me to give something in return. |
| Re:Finally (Score:2) by mosch (i_charge_1000USD_to_receive_uce@overtone.org) on Monday May 22, @05:40PM EDT (#84) (User Info) |
I know, isn't it horrible? I mean somebody gave me a machine which will give you money when you press a button, and it seemed nice at first, but really... why make me press the button? So much work, such a damned hassle. (thank you Goats or Bob the Angry Flower. Whichever I stole the above joke from.) ---------------------------- Stupidity should be painful. |
| Re:Finally (Score:1) by derrickh on Monday May 22, @04:00PM EDT (#61) (User Info) http://www.paylesswebhosting.com |
| This is nothing. Just be glad you dont have to wait around for the Linux upgrade for ColdFusion Server. D |
| Finally? Nah, use RC1 or a beta. (Score:2, Insightful) by Cardinal on Monday May 22, @04:26PM EDT (#66) (User Info) |
| I don't see why you've been waiting. PHP4 has been quite usable for many months now. RC1 was considered release-quality by pretty much anybody with an informed opinion on the matter. Dozens, if not hundreds, of production sites have been using PHP4 for many months. Freshmeat springs to mind as one that's been using PHP4 since (To my possibly faulty memory) beta 2. In some small way (Not to compare a language to a distro), it's been similar to the Debian wait, although admitedly quite a bit shorter. But still, people with a modest amount of skill and experience with Debian have been able to use the not-yet-released Debian potato version since last summer. I personally have a couple potato production servers with 9 month uptimes. The bottom line is that 'unstable' is often totally relative to the situation that a product is being applied to. It also depends on who is calling it unstable. For example, PHP or Debian betas are a helluva lot more reliable than a certain OS vendor's idea of a beta. On the flip side, I've had some rather annoying experience with a US-spanning corporation that I'm doing a web appliation for in PHP3. We started this project less than a month ago, and despite a long fight, they refused to let me do it in 4, even though it was plainly obvious that 4 was stable for our needs. In fact I assured them, along with a supporting message from Andi, that it would be released long before the project was completed. Alas, still no luck. So yes, I realize my argument doesn't work in all situations. :) |
| Thank God! (Score:1) by bingeldac on Monday May 22, @03:02PM EDT (#3) (User Info) http://bingeldac.theworx.org |
| I can not wait to see all of the new features. So many clients are asking for ASP and sure I can use Apache with ASP now but I much prefere PHP. Does anyone know the new features? |
| Re:Thank God! (Score:1) by matman on Monday May 22, @03:28PM EDT (#35) (User Info) |
| If you couldnt wait, why havnt you tried the betas? I mean, you should know what's new by now. The big things are sessions and speed as far as I know. Have fun |
| New Features (Score:1) by Frizzle Fry (anon_user@NOSPAM.bigfoot.com) on Monday May 22, @03:38PM EDT (#45) (User Info) |
| Does anyone know the new features? You mean the new features in PHP4? Well, yesterday I was writing a script and wanted to use a foreach loop, only to discover that that's only in php4. The thing is nice though, since it works nicely for associative arrays too. I think php4 also has more support for classes/objects. Does anyone know what else is knew in PHP4? |
| Re:New Features (Score:2, Informative) by Frizzle Fry (anon_user@NOSPAM.bigfoot.com) on Monday May 22, @03:46PM EDT (#54) (User Info) |
| I just found a list of the new features in PHP4. It's on zend's website. The bus came by and I got on That's when it all began There was cowboy Neal At the wheel Of a bus to never-ever land -Grateful Dead |
| Re:Thank God! (Score:1) by SparkyB (sparkyb@hotmail.com) on Monday May 22, @04:36PM EDT (#70) (User Info) http://sparkyb.net/ |
| I'm using a PHP4 beta right now because when I started writing PHP I was already well versed in Perl and I could live without array_shift() and other new Perl-like functions in PHP4 but not 3. I'm happy that I can upgrade and finally be running a final version. I'm always worried to be running beta versions of servers. |
| Hemos and JonKatz similarities (Score:1) by toofast on Monday May 22, @03:02PM EDT (#5) (User Info) http://sdpe.lacitec.on.ca/ |
| The headline reads 4.0.O (four.zero.oh). is Hemos trying to steal Katz' trademark? (l instead of 1) |
| apache handlers? (Score:1) by djweis on Monday May 22, @03:02PM EDT (#6) (User Info) http://www.bookzilla.com/ |
| Can this version of php do anything like the mod_perl handler functions, so I can register any requests for /whatever/args/args to a single php program? |
| Re:apache handlers? (Score:1) by slive (slive+slashdot@finance.commerce.ubc.ca) on Monday May 22, @03:13PM EDT (#20) (User Info) http://finance.commerce.ubc.ca/~slive/ |
| You have always been able to do that using mod_rewrite. |
| Re:apache handlers? (Score:1) by paulschreiber (slashdot@paulschreiber.com) on Monday May 22, @07:33PM EDT (#101) (User Info) http://paulschreiber.com/ |
Can this version of php do anything like the mod_perl handler functions, so I can register any requests for /whatever/args/args to a single php program? You have always been able to do that using mod_rewrite. Is there a FAQ/HOWTO/etc. for that? Paul |
| Re:apache handlers? (Score:1) by chrisbolt on Monday May 22, @08:34PM EDT (#111) (User Info) http://trinity.zero-gravity.org/ |
| I just put this in my httpd.conf: Alias /whatever /path/to/some/php/script.php/ The trailing slash is necessary to make apache handle /whatever/blah/blah/blah with it (more info). Then just look at getenv("PATH_INFO") in your script and you're set. |
| Zend Compiler (Score:2) by costas (costas@nospam.malamas.com) on Monday May 22, @03:03PM EDT (#7) (User Info) http://malamas.com/ |
| PHP4 is great news. I don't wanna sound ungrateful or anything, but does anybody know if they're gonna put out a free (beer, speech I don't care) version of the PHP4 (Zend) Compiler? I mean ASP is now compiled to byte code, out of the box, AFAIK, why not PHP? (yeah, you pay for the NT Server license, but still...). engineers never lie; we just approximate the truth. AegeanTimes: Greek and Turkish News |
| Re:Zend Compiler (Score:2, Informative) by akiy on Monday May 22, @03:07PM EDT (#11) (User Info) http://www.aikiweb.com |
| PHP4 is great news. I don't wanna sound ungrateful or anything, but does anybody know if they're gonna put out a free (beer, speech I don't care) version of the PHP4 (Zend) Compiler? |
| Re:Zend Compiler (Score:1) by MadAhab (736c617368657240616861622e636f6d) on Monday May 22, @03:44PM EDT (#52) (User Info) http://www.ahab.com |
No, the compiler will not be free as far as I know. The Zend Optimizer, however, is free.Free as in beer. Check it out here. I like PHP a lot, and the rewrite of the basic engine from 3 to 4 looks like a very positive and needed step, but I wonder why they seem to be getting such a free ride from ./ers on the closed source stuff. Anyone care to explain why this code is exempt from the free-for-all boosterism we expect around here? If it's good and fits my needs, I'll use PHP4, but I for one won't be mucking it up with closed source code modules... I wonder whether we shouldn't all spend a little more time looking at JServ. |
| Re:Zend Compiler (Score:2) by scumdamn (scumbucket@austin.rr.com) on Monday May 22, @05:33PM EDT (#82) (User Info) http://www.wildwoman.org/slashdotnames.html |
I wonder why they seem to be getting such a free ride from ./ers on the closed source stuff I believe it's for the same reason that Sendmail doesn't get dinged for the same thing. They have to make money some way, and since support might not be the best way, they sell a value added module or program that enhances their Open Source program. Are you speaking to the real John Carmack or ESR? Check here: |
| Re:Zend Compiler (and Zend OPTIMIZER) (Score:2) by TheInternet (scotts-at-maxify-dot-com) on Monday May 22, @08:34PM EDT (#110) (User Info) http://maxify.com/ |
| True, but sendmail works the same one way or the other, performance-wise.... On the other hand, the similarity is a bit more clear with the PHP Compiler; if you're using that to distribute closed-source PHP, it's probably for cash and therefore hypocritical... I may be wrong but I think you're confusing two separate products. Zend Optimizer is to speed up the execution of apps (several-pass parsing, etc). Zend Compiler is for distributing scripts without giving away your source. Based on info the Zend site, Compiler does little or nothing for execution speed. It might be more accurate to think of it as Zend "Encryptor" than Zend Compiler. - Scott ------ Scott Stevenson Maxify.com |
| Re:Zend Compiler (Score:1) by hobbit (hamish@nutshell.SPAM.freeserve.SPAM.co.uk) on Tuesday May 23, @07:51AM EDT (#133) (User Info) |
gcc is a tool often used to enable products to be distributed closed-source. Hamish |
| Re:Zend Compiler (Score:1) by i, Mac (ude.tim.ufans@restetsj <bass ackwards>) on Monday May 22, @03:20PM EDT (#31) (User Info) http://www.icongarden.com/ |
| PHP4 does compile scripts to bytecode before running them, AFAIK from the php mailing lists. Does ASP leave the scripts in a compiled state afterward, or does it do the same thing as PHP4 which is to compile into bytecode and (with the Zend Optimizer, which is free) optimize before actually executing. The only purpose that the Zend Compiler serves is to create binary versions of scripts for a) faster executing (no run-time compiling & executing) and for b) closed-source distribution. So unless ASP allows you to do those two things, then I think PHP4 offers what you're talking about already. -- icongarden.com Making good ideas grow. |
| Re:Zend Compiler (Score:2) by costas (costas@nospam.malamas.com) on Monday May 22, @04:26PM EDT (#65) (User Info) http://malamas.com/ |
| That's interesting... but if it does that (i.e. get rid of the compiled byte-code between page requests), what's the point of PHP Cache (another Zend product)? without the previous bytecode around, why bother do caching? That would leave any servlet engine with big advantage over PHP... yuck... BTW, I dunno what exactly ASP allows you to do; I *think* you can extract the bytecode for distribution, but that's based on a vague recollection. engineers never lie; we just approximate the truth. AegeanTimes: Greek and Turkish News |
| Re:Zend Compiler (Score:2, Informative) by i, Mac (ude.tim.ufans@restetsj <bass ackwards>) on Monday May 22, @09:44PM EDT (#116) (User Info) http://www.icongarden.com/ |
| Well, no, keeping the bytecode around is the point of the Zend Cache. Think of it this way PHP4 -> precompiles -> runs -> discards -> repeats. PHP4 w/ Zend Cache -> precompiles -> runs -> caches bytecode for next time PHP w/ Compiler -> user compiles -> PHP4 runs binary. I'm not sure whether the cache will be free/Free or not. I know the Optimizer will be free. And I know the compiler will be neither free nor Free. -- icongarden.com Making good ideas grow. |
| PHP4 and XML? (Score:2, Interesting) by EverCode (insite@SAY_NO_TO_SPAM.insitedesignco.com) on Monday May 22, @03:04PM EDT (#10) (User Info) http://www.insitedesignco.com |
| I have been interested in using PHP with XML applications (databasing and data templates) for a long time, but there is hardly any information available. Does someone know a good resource? There is not much on the PHP sites about XML. Also, just how good is the XML support that is built-in? Is there practical uses for it right away? Thanks. "...we are moving toward a Web-centric stage and our dear PC will be one of many devices happily swimming in the ocean of IP packets." - JLG |
| Re:PHP4 and XML? (Score:2, Informative) by Anonymous Coward on Monday May 22, @03:16PM EDT (#24) |
| Check out www.phpbuilder.com, there are a couple of tutorials. The WROX book on PHP also contains an excellent chapter on PHP's XML handling. |
| Re:PHP4 and XML? (Score:2) by Industrial Disease (bmokeefe@hotbot.com) on Monday May 22, @03:31PM EDT (#40) (User Info) http://www.io.com/%7Ebmokeefe/harmful/ |
| Don't you wish sometimes that you could buy individual chapters of a book? How many people out there have bought a big, thick computer book just in the hope that a couple of the chapters would be useful? -- Weblogging Considered Harmful: http://www.io.com/%7Ebmokeefe/harmful/ |
| Re:PHP4 and XML? (Score:4, Informative) by Reinout (R.vanRees@altavista.net) on Monday May 22, @03:25PM EDT (#32) (User Info) http://rommel.wep.tudelft.nl |
| Look at xml.apache.org. They are currently building IBM's Bean Scripting Framework into Cocoon (the xml server product). The same guy said he's going to add PHP into the Bean Scripting Framework. Effectively, you soon can use PHP (or other languages for that part) with Cocoon. So you can use PHP for the familiar things, all the while pumping out XML code instead of HTML. After that, cocoon takes care of the rest of the stuff (XSLT transforms into HTML for instance). There was a reply like this from the author on a similar question somewhere else, but I forgot where... greetings, Reinout -- "There's good and evil in all of us. It's up to you alone which to follow" - Geoff Mann |
| Re:PHP4 and XML? (Score:1) by EverCode (insite@SAY_NO_TO_SPAM.insitedesignco.com) on Monday May 22, @03:47PM EDT (#56) (User Info) http://www.insitedesignco.com |
| Wow, those are some great tidbits. I have been gradually working at getting Cocoon to run, now that will be more of an incentive! Thanks. "...we are moving toward a Web-centric stage and our dear PC will be one of many devices happily swimming in the ocean of IP packets." - JLG |
| Re:PHP4 and XML? (Score:2, Informative) by sphix42 on Monday May 22, @03:30PM EDT (#38) (User Info) |
| PHP uses the expat library for parsing. Some new tasty xml stuff is the xml-dom. The only documentation for this is in the source code: /tests/testdom I've been using the XML to import databases for quite some time. PHP Builder has some nice tutorials on WDDX funtions in php (user can use xml indirectly) as well as general XML articles. |
| Re:PHP4 and XML? (Score:3, Interesting) by Magus311X on Monday May 22, @06:17PM EDT (#91) (User Info) |
| I'm almost positive that PHP4 brings WDDX to the table. My point? WDDX is an acronym for Web Document Data eXchange. Basically you can convert PHP variables, data, etc into strings of XML data, which can be converted back. Now, this sounds nice, but the thing is, lotsa languages out there have WDDX support. Cold Fusion, JavaScript (objects), ASP, mostly all COM-enabled languages, and I'm sure there are several I haven't mentioned. We're played around at the office and pretty much you clicked on a link which hit a ColdFusion box, which gave it to some Javascript, which sent it to an NT box running ASP, which translated it to VBScript, which executed, bringing up a perfectly formatted template with all the customer info into Word and it was ready to print. There are a skabillion uses. WDDX is your friend. Look into it. Sorry for the lack of linkage. -- I fingered everyone on my system, and then, I fingered myself. |
| Incomplete change list.. (Score:5, Informative) by Anonymous Coward on Monday May 22, @03:08PM EDT (#14) |
| Note that the quoted part of the NEWS file shows only the differences between the second release candidate II and the release tarball (last minute fixes). There are in total more than 600 changes between PHP 3.0 and PHP 4.0 with a couple of major ones (i.e. new scripting engine, HTTP sessions, improved shared modules support). Check out the complete NEWS file for the full scoop. |
| It IS news. (Score:1) by Garpenlov on Monday May 22, @03:12PM EDT (#18) (User Info) http://www.adbusters.org/home |
| Because, maybe, this is the final release of PHP4 (it's been in beta and RC form for a while). But why is it listed under Apache? While most people use it under Apache, it's not tied to Apache... --- All hail awk! |
| How do you know it's final? (Score:1) by ZikZak (zikyourzak@iappendixo.com) on Monday May 22, @03:20PM EDT (#28) (User Info) http://www.io.com/~zikzak/ |
I just emailed my admin w/ this news, but if it's just another RC, or worse, RC2 with a diffferent file name, I'm going to look like a damn fool. How about some info stating how the person who submitted the story knows it's final? -- Remove your appendix to email me. |
| Re:How do you know it's final? (Score:1) by dangermouse (logan@slackware.com) on Monday May 22, @03:33PM EDT (#44) (User Info) http://www.slackware.com |
| How 'bout not emailing your admin til you know for sure? I generally avoid flameage, but: dumbass. |
| Re:How do you know it's final? (Score:1) by ZikZak (zikyourzak@iappendixo.com) on Monday May 22, @03:40PM EDT (#47) (User Info) http://www.io.com/~zikzak/ |
I generally avoid flameage, but: dumbass. S'okay, I knew that was coming. Due to other issues w/ the admin & PHP I got a little too excited and hit "send" before I thought it through. Now it's damage control; hoping that it really is final. -- Remove your appendix to email me. |
| Well, for starters, be subscribed to a PHP list. (Score:1) by Cardinal on Monday May 22, @04:37PM EDT (#72) (User Info) |
The announcement went out to pretty much every PHP mailing list:
|
| Can't get to the FTP try (Score:3, Informative) by pauldy (pauldy@no-spam-timespace.org) on Monday May 22, @03:20PM EDT (#29) (User Info) |
| http://w ww.php.net/version4/do_download.php?download_file=php-4.0.0.tar.gz worked for me |
| Benchmark Results? (Score:2) by BoLean (TLowing.nospam@hotmail.com) on Monday May 22, @03:26PM EDT (#33) (User Info) http://www.nlinux.org |
| Has anyone seen benchmarks of PHP3==PHP4 or PHP3==PHP4 + Zend? Perceptually I haven't seen any speed difference on the PHP.net website that currently uses PHP4 and Zend, but the bottleneck could be on my end. "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein |
| Re:Benchmark Results? (Score:1) by Frodo (TheHobbit at usa dot net) on Monday May 22, @03:31PM EDT (#39) (User Info) |
| You probably will never see speed-up over the network on single client. Network takes much more time usually - could you notice speed-up from page taking 0.1s to 0.01s when networks connect takes you 2s? -- Si hoc legere scis nimium eruditionis habes. |
| Re:Benchmark Results? (Score:2) by BoLean (TLowing.nospam@hotmail.com) on Monday May 22, @03:53PM EDT (#57) (User Info) http://www.nlinux.org |
| I know what you are saying, but at the aggregate level I should still see faster response times when querying, for instance, the online man pages. The one noticible difference, and I'll admint I don't really know what it means, is the browser status bar seems to "cycle" very rapidly to about the 1/4 point a bunch of times until the entire page is loaded. Kind of like a bunch of data chunks are sent rather than a smooth constant transfer. "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein |
| Beta Benchmark Results (Score:1) by x-empt (x-empt@we.want.spam.at.ispep.cx) on Monday May 22, @04:36PM EDT (#69) (User Info) http://www.ispep.cx/ |
| During mid-development of PHP4, Zend.com hosted a series of benchmarks comparing it to ASP and it was incredibly faster. They also showed results of the Zend optimizer + PHP4.... once again MUCH faster than ASP, sometimes like a few hundred % faster. I would definately recommend PHP4 for anything that requires speed. (The ASP to PHP4 code was written as closely identical as possible, since of course the languages are different) I hope they do some more benchmarking and post the results. "School officials do not possess absolute authority over their students. Students in school as well as out of school are ‘persons’ under our Constitution.” -- J |
| Re:Benchmark Results? (Score:1) by /dev/niall (devniall@kst.com) on Monday May 22, @05:00PM EDT (#80) (User Info) http://www.kst.com |
| Has anyone seen benchmarks of PHP3==PHP4 or PHP3==PHP4 + Zend? Perceptually I haven't seen any speed difference on the PHP.net website that currently uses PHP4 and Zend, but the bottleneck could be on my end. Nothing fancy, but I've had scripts (mostly database calls with some string manipulation) go from taking 1+ seconds to run (with PHP4RC2) to .05 seconds (PHP4RC2 + Zend Optimizer). Quite an increase, and definately noticable! Not sure what they're doing on the php.net site, but they do have a "source" button that lets you look at the source of each page to see how they did stuff.
|
| Re:Benchmark Results? (Score:3, Insightful) by Zico (ZicoKnows@hotmail.com) on Monday May 22, @08:08PM EDT (#104) (User Info) |
Well, I was actually disappointed with the improvements I got when I switched a testing platform over to PHP4; note that this was only RC2, though, as I haven't tried the final version yet. This particular site mainly involved mySQL reads and writes, text processing and a smidge of bit-shifting. The speed was a little faster with the new code, whether I used the optimizer or not, but each hit was consuming two to three times the CPU than PHP3 used per hit. Here's hoping for better results from the final version. Oh yeah, and Slashdot really needs to either come up with a PHP icon, or find another topic to put it under. It doesn't do the PHP developers any good to have people think that it's an Apache-only thing. Cheers, |
| Re:Benchmark Results? (Score:1) by RebRachman on Tuesday May 23, @12:49AM EDT (#124) (User Info) |
| The benchmarking results posted earlier were interesting, but nothing more than that. The problem with benchmarking is that you have to decide what to benchmark, and it probably isn't going to be able to reflect the marjority of applications. YMMV is an understatement. (Another problem happens to be that according to the MS ASP license, it is a license infringement to perform benchmarks at all. I know that's not a big surprise to anyone.) Most of the people who have upgraded to PHP4 seem to notice significant performance improvements. Take a look at the article on zend.com with Keystone. If you don't notice a difference, it could be either because the performance bottleneck is somewhere else (calls to a slow database for example), or because your scripts are simple or aren't using functionality which improved in PHP4. The compile-before-running paradigm is only going to speed performance on fairly complex scripts. On short scripts you probably aren't going to notice much difference. |
| the web language Suck -O-Meter (Score:1, Interesting) by vluther (vluther@linuxpowered.com) on Monday May 22, @03:28PM EDT (#34) (User Info) http://www.linuxpowered.com |
| remember the OS suck o meter from a few years ago ? well i took the source for that and tried it on PHP, perl, Python, tcl/tk and just for fun Java and ASM :).. can be found here http://www.gotslack.com/personal/sucks/ |
| Fiction (Score:1) by krnl (jbyers@linux.com) on Monday May 22, @03:29PM EDT (#36) (User Info) http://linux.com |
| 1. The 4.0.0 release isn't final. 2. The changelog listed above is *this morning's changelog*. It bears no resemblance to the massive list of changes and fixes since the last release. 3. How about we wait for a real announcement from the PHP Group? |
| Re:Fiction (Score:1) by krnl (jbyers@linux.com) on Monday May 22, @03:33PM EDT (#41) (User Info) http://linux.com |
| Sorry, wrote too quickly. I meant NEWS, not changelog. Anyway, this is the NEWS list since RC2 and doesn't even come close to covering all the work done for PHP4.0.0 final. |
| Do not rush (Score:1) by Frodo (TheHobbit at usa dot net) on Monday May 22, @03:33PM EDT (#43) (User Info) |
| I won't recommend rushing before official release announce. You could miss Very Important Late-Second Fixes (TM) this way. No, seriously, it's not announced not without reason - there are various checks under way, and if some of those checks discovers problem, it will be fixed, but you won't get the fix because you downloaded before announcement. -- Si hoc legere scis nimium eruditionis habes. |
| "Not out yet" (Score:1) by akiy on Monday May 22, @03:39PM EDT (#46) (User Info) http://www.aikiweb.com |
| Zeev Suraski of the Zend group just wrote on the PHP mailing list, "And it hasn't been announced for a reason - it's not out yet"... |
| It is *not* out yet (Score:1) by HMV on Monday May 22, @03:41PM EDT (#48) (User Info) |
| There's a reason it's not on the website yet, folks. Check this quote from one of the developers. I don't understand the need to jump the gun and REALLY don't understand the need to run this story without getting word from someone actually involved with the program. |
| No Problem on PPC (Score:1) by waldoj (waldo@waldo.net) on Monday May 22, @03:41PM EDT (#49) (User Info) http://www.waldo.net/ |
| FYI, this compiles just great on PPC, specifically Yellowdog Linux CSv1.2. This release makes my week, if not my month. Yay, Rasmus & company! -Waldo |
| www.php4.net and the future... (Score:1, Offtopic) by pkj on Monday May 22, @03:44PM EDT (#50) (User Info) |
| So, like, what happens for future releases of php? $ whois php.net |
| PHP4 Is Great! (Score:1) by edibleplastic on Monday May 22, @03:46PM EDT (#53) (User Info) |
| I've been using it for about a month now (well, the beta anyways) and just in terms of pure speed, PHP4 is such an amazing upgrade over PHP3. We are using it with the Zend optimizer and the time for database queries to function is cut in half. Its amazing.. I thought it was MySQL that was taking so long to return the results but in fact it was PHP3. So anyway... this is a definately good upgrade... go get it! |
| Compiled and installed (Score:1) by pauldy (pauldy@no-spam-timespace.org) on Monday May 22, @03:46PM EDT (#55) (User Info) |
| No one in our production room even noticed the install it went very smoothly. With the apxs support no one noticed the install and after compile and install a quick restart on apache and phpinfo(); now says PHP Version 4.0.0. Good work guys. |
| It's Official! (Score:1) by Sirrion on Monday May 22, @03:56PM EDT (#58) (User Info) |
| Actually, it IS official. Check out the php.net web site! PHP 4.0.0 has been officialy released! Whoooohooooo! |
| Oh yeah ? (Score:3, Informative) by LiteForce (tez@eggs-and-spam.linuxwizards.co.uk) on Monday May 22, @03:58PM EDT (#60) (User Info) http://www.linuxwizards.co.uk/ |
| Are we completely sure this isn't the release version, Hemos ? From http://www.php.net/: PHP 4.0.0 Released! May 22, 2000. It's here, it's ready, and it has the long awaited 'Release' tag. The successor of PHP 3.0 has finally been released. At this point, everyone is encouraged to begin upgrading their systems to use this version. Download it now! |
| Re:Oh yeah ? (Score:2) by plunge (cosym@yahoo.com) on Tuesday May 23, @02:41AM EDT (#125) (User Info) http://drew.cosym.net |
| I was trying to look at the docs on the PHP site for a project I'm working on. I couldn't get to the site though. Then I checked here. Great- the material I need to work has been slashdotted! sigh. |
| In the third release candidate???? (Score:1) by Micah (micah at myhome dot NO SPAM dot net) on Monday May 22, @04:09PM EDT (#62) (User Info) |
| What the heck? Is it just me, or should this stuff have been added/fixed before the first beta??? Definitely looking forward to switching to PHP4 in any case... Improved round() to allow specification of rounding precision. Added SORT_REGULAR, SORT_NUMERIC, SORT_STRING flags that can be used with non-user sort functions for precise sorting behavior. NULL values are now preserved in the return value of mysql_fetch_array() and mysql_fetch_object(). Ported InterBase module finally from PHP 3 to PHP 4. Added swf_definepoly for drawing polygons to the SWF functions. (Sterling) Ported imagegammacorrect from PHP3 to PHP4. Added array_rand() function. (Andrei) |
| PHP4 is great (Score:1) by x-empt (x-empt@we.want.spam.at.ispep.cx) on Monday May 22, @04:28PM EDT (#67) (User Info) http://www.ispep.cx/ |
| You gotta love the native session support, plus 4.0 is incredibly fast! I've been developing PHP4 applications for a few months now and have definately liked the new functions and speed. Much needed improvements... Thanks Zend! "School officials do not possess absolute authority over their students. Students in school as well as out of school are ‘persons’ under our Constitution.” -- J |
| Rasmus Lerdorf commented on PHP4 in Copenhagen (Score:5, Informative) by dybdahl (lbd-no-spam@dybdahl.dk) on Monday May 22, @04:34PM EDT (#68) (User Info) http://www.dybdahl.dk |
| Rasmus Lerdorf was in Copenhagen today, talking about PHP3 and PHP4. He said that PHP4 would be out today, so the release is genuine. He also talked about performance issues. PHP4 is a very lightweight piece of software that he wants to stay that way. PHP4 is often much faster simply because it doesn't have to start a Java engine or other subsystem for every request. When asked about why the compiler didn't store the compiled results, he said it doesn't matter that much. PHP4 is so fast, that the compilation is not what takes the time. What DOES take time is to open another file with include() or require(). He talked about Zend as some kind of niche product for those, to whom PHP4 is not fast enough. As he said, if people are willing to pay money for a software product that gives extra 10%, why shouldn't they? There is nothing wrong in combining PHP4 with closed-source software, and PHP4 without Zend is still much superior to Microsofts ASP in many ways. |
| Re:Rasmus Lerdorf commented on PHP4 in Copenhagen (Score:1) by Frodo (TheHobbit at usa dot net) on Monday May 22, @05:59PM EDT (#86) (User Info) |
| PHP4 without Zend is still much superior to Microsofts ASP in many ways. There's no such thing as PHP 4 without Zend. Zend Engine is the heart of PHP 4 language. PHP 4 is, basically, Zend Engine + Functional modules. See the explanation with picture at http://www.zend.com/zend/technology.php . -- Si hoc legere scis nimium eruditionis habes. |
| Re:Rasmus Lerdorf commented on PHP4 in Copenhagen (Score:1) by angst_ridden_hipster (angst_ridden_hipster@yahoo.com) on Monday May 22, @07:27PM EDT (#100) (User Info) http://www.andthehorseyourodeinon.com/ |
| PHP4 is a very lightweight piece of software that he wants to stay that way. PHP4 is often much faster simply because it doesn't have to start a Java engine or other subsystem for every request. Ouch! Javaslam! Of course, what you're describing is CGI, not any (reasonable) Java-based approach. When asked about why the compiler didn't store the compiled results, he said it doesn't matter that much. That's interesting. But is it true? That seems to me to be a fairly significant overhead, if you have to parse each page on a per-request basis. And those pages have to be brought in from the disk (which is, usually, the slowest operation for any persistent application system). Maybe it caches the pages? |
| Re:Rasmus Lerdorf commented on PHP4 in Copenhagen (Score:1) by Alan on Tuesday May 23, @12:11AM EDT (#122) (User Info) http://arcterex.net |
| Ouch! Javaslam! Of course, what you're describing is CGI, not any (reasonable) Java-based approach. Not with something like mod_perl, which has the perl interpreter embedded into the running apache process itself (much as php is embedded into the running apache process). This means that for each call to the cgi the server does not have to start up another shell+perl....
|
| Re:Rasmus Lerdorf commented on PHP4 in Copenhagen (Score:1) by Electrum (david@ acz.org) on Tuesday May 23, @12:24AM EDT (#123) (User Info) http://www.acz.org/ |
That's interesting. But is it true? That seems to me to be a fairly significant overhead, if you have to parse each page on a per-request basis. And those pages have to be brought in from the disk (which is, usually, the slowest operation for any persistent application system). Maybe it caches the pages? It has to be read from the filesystem, but not necessarily the actual disk. If the page hasn't changed, the operating system should keep it cached in memory. |
| Re:Rasmus Lerdorf commented on PHP4 in Copenhagen (Score:5, Informative) by Rasmus on Monday May 22, @08:22PM EDT (#107) (User Info) http://www.php.net |
| I think a few things got paraphrased incorrectly here. The Java thing was actually a bit more complex than what was transribed and simplifies down to me stating that going through jdbc running in a jvm in order to talk to a database seems like a lot of gear to do a simple thing. And people are still confused about the difference between Zend's compiler and Zend's optimizer. The compiler has nothing to do with performance and it is indeed a niche product because its sole purpose is to obfuscate the code for people/companies who want to distribute PHP applications without revealing their source code. This is, or at least I hope it is, a small niche market. As for some of the other threads in this post, please recognize that there are no closed-source PHP components coming from the PHP Group. Anybody is more than welcome to sell/distribute-freely whatever closed-source add-ons to PHP that they wish. Zend Technologies has a couple of such addons that you can learn more about at www.zend.com. The formation of this company has allowed Zeev and Andi to work fulltime on improving PHP and they have worked tirelessly for years on this. Their contributions have put PHP on the map. While I would prefer to see all cool software open sourced I fully understand and support that companies should be allowed to distribute their work under whatever terms they wish. -Rasmus |
| Include() and require() (Score:1) by eshaft (evan@SPAMNATION.dig-e-tal.com) on Tuesday May 23, @12:45PM EDT (#142) (User Info) http://dig-e-tal.com |
| So, what about the section paraphrase that said that includes and requires will take the most time? Then, what is the point of putting in all this wonderful class and OOP stuff, if it's unwieldy to create a bunch of class and subclass files, and then include() or require() them? Is there a better way to do that, or am I missing something? |
| Re:Rasmus Lerdorf commented on PHP4 in Copenhagen (Score:1) by Baki (plm@gmx.li) on Tuesday May 23, @09:57AM EDT (#137) (User Info) |
| Start a Java engine for every request?!? What nonsense. For servlets and/or JSP, the Java engine is started once. The classes are precompiled, thus no more text parsing needs to be done. The JIT compiler still adds to improving performance. It doesn't get the speed of C (though some claim it should be possible) but it is faster than any other scripting language. As for it being complex to 'go to the database' through a JVM and JDBC, as mentioned in the followup to yourself: Why, what is the principle difference between that and PHP? In PHP there is a 'run-time' (might as well call it virtual machine) executing the non-precompiled scripts (thus having to parse each time again). Then PHP has a built-in API to access databases. One which is largely the same for different underlying databases. JDBC is no different. It is simply an API (though not built in to the language, but in a library, which is better of course) to talk to a database. I don't see how that's conceptually more complex or even much different to what PHP does. |
| Re:Rasmus Lerdorf commented on PHP4 in Copenhagen (Score:2) by scrytch on Tuesday May 23, @02:00PM EDT (#143) (User Info) |
| > PHP4 is often much faster simply because it doesn't have to start a Java engine or other subsystem for every request Neither do servlets or CGI's under mod_perl (who still uses plain CGI though?). ASP I'm not too sure about, I just recall it crashes at around 256 simultaneous requests, unless you install a Disservice Pack (you know, the big monolithic jumbo patches that make everything else unstable). After looking at Zend, I think their claim of Zend being a generic scripting language is disingenuous. It has a grammar, with scanner and parser, it has the builtin functions wired right in. A stock JVM has some built-in dependencies on certain library items existing, but it would appear Zend depends on, well, being the PHP language. Might I also add that PHP4 is a complete hodgepodge of hundreds of functions all dumped into a global namespace, many with clearly overlapping function, and with very different calling conventions? Ever use preg_replace? It doesn't even check refcounts, so it will mutate anything that was assigned to the var you pass it, whether it was a reference or not. This isn't to say perl isn't a hodgepodge, but it certainly doesn't exhibit that behavior (and it has a module import mechanism to make managing the namespace easier). Other peeves: I cannot change the behavior of what it does with embedded HTML. It's print, now and forever. No buffering, no filtering. Forget overriding print, it's a reserved word. PHP's a decent perl lite, fast, reasonably flexible, but doesn't approach perl in terms of versatility. |
| Press release on Zend.com (Score:1) by /dev/niall (devniall@kst.com) on Monday May 22, @04:45PM EDT (#73) (User Info) http://www.kst.com |
| There's a press release on the whole deal over at Zend.com for those interested. I wonder when the Zend optimizer will be available for this release? |
| Yet another DDOS attack by /. readers! (Score:2, Funny) by VP on Monday May 22, @04:47PM EDT (#74) (User Info) |
| Oh, my God! They killed php.net! Bastards! :-)) |
| Mirror at zend.com (Score:2, Informative) by dr bacardi on Monday May 22, @04:50PM EDT (#75) (User Info) http://www.dunfoamin.org |
| its here |
| Kudos to the very cool PHP group (Score:2) by Cardinal on Monday May 22, @04:50PM EDT (#76) (User Info) |
| I have to take a moment to give my congrats and thanks to the PHP group, who are all very cool people. PHP has come a long way from where it's started, as just about any long time user can attest to. The community that has grown out of it is by far one of the best in the open source realm, and it's always been nothing but a joy to be a part of it. So to those that suggest PHP doesn't fill a need, or is just a ripoff of some other language, I suggest actually taking a look at it, and the people behind it. It's a solid open source language that has earned the respect and support of millions for a good reason. In recent months, there's been a large volume of debate of the "PHP versus <your-middleware-here>" variety. For the text of those, I suggest browsing the list archives at Geocrawler. If you're at all curious about PHP, hop on one of the mailing lists such as php-general and toss out some questions, or just listen to the questions being asked and answered. There are some great people here, and always room for more. |
| Release message (Score:2, Informative) by BlueWomble on Monday May 22, @04:57PM EDT (#78) (User Info) |
| Here's the message from the php4beta list. It's a genuine release: Subject: [PHP3] PHP 4.0.0 Released Date: Mon, 22 May 2000 22:57:40 +0300 (IDT) From: Zeev Suraski To: php-announce@lists.php.net, php-general@lists.php.net, php-windows@lists.php.net, PHP Development Team , php-migration@lists.php.net, php4beta@lists.php.net, "PHP 3.0 Mailing List" CC: PHP Development Group After over one and a half years of development, PHP 4.0.0 has finally been released. The amount of improvements is so huge that there's no chance I'll even remember a fragment of them. Suffice to say that it's definitely worth the upgrade! http://www.php.net/ Enjoy! Zeev -- Zeev Suraski http://www.zend.com/ |
| comprehensive upgrade guide for PHP3 users? (Score:2) by eries (eries(AT)CatalystRecruiting(DOT)com) on Monday May 22, @05:02PM EDT (#81) (User Info) http://www.CatalystRecruiting.com |
| I have a relatively large application coded in PHP3, and am hesitant to upgrade to the new version for fear of introducing subtle bugs. I know that PHP4 is _mostly_ compatible, but does anyone have a comprehensive list of things to look out for? I'm most particularly concerned about things that won't generate a compiler error, but will just do the wrong thing... Any suggestions? Want to work at Transmeta? MicronPC? Hedgefund.net? AT&T? |
| PHP3-PHP4 transition (Score:3, Informative) by mosch (i_charge_1000USD_to_receive_uce@overtone.org) on Monday May 22, @05:36PM EDT (#83) (User Info) |
I've switched a very large application from PHP3 to PHP4 (actually switched it quite a while back to the CVS version). The list of differences available at http://www.php.net/version4/incom patibilities.php has been accurate in my case, as I got bit by every one of the incompatibilities, in exactly the manner that it was documented I would be. I definitely recommend switching over, with a step on a beta machine to check for any unexpected strangeness. ---------------------------- Stupidity should be painful. |
| Re:PHP3-PHP4 transition (Score:1) by paulschreiber (slashdot@paulschreiber.com) on Monday May 22, @07:06PM EDT (#96) (User Info) http://paulschreiber.com/ |
| The only problem I had with php4 -- and I fixed it back in October :-) was with the DEFINE statement; php3 let you do something that 4 wouldn't; I can't reproduce it now, but I use: define('VALIDATE_EMAIL_DEFINED', 1); ....which works fine. Paul |
| Re:PHP3-PHP4 transition (Score:2) by mosch (i_charge_1000USD_to_receive_uce@overtone.org) on Tuesday May 23, @06:37PM EDT (#144) (User Info) |
There are a bunch of other failures... for instance you can't do: ---------------------------- Stupidity should be painful. |
| Re:comprehensive upgrade guide for PHP3 users? (Score:2, Informative) by Betcour on Monday May 22, @06:12PM EDT (#88) (User Info) |
| One important incompatibilies is empty() empty(0) returns true on both PHP3 and PHP4 empty("0") returns false on PHP3 (which considers a string with just the number 0 in it is still a non empty string) while PHP4 returns true (it converts the string to an integer first). I personnaly think this is a silly thing - especially since I was using empty everywhere to check for parameters - and now I have to write strlen($variable)==0 instead, which sucks. Also with the way empty() works now, it is completely useless as you can as well write : if ($variable) instead of : if (empty($variable)) as empty doesn't do anything more now. BTW this incompatibily breaks phpMyAdmin... |
| Ooops correction : (Score:1) by Betcour on Monday May 22, @06:14PM EDT (#90) (User Info) |
| Correction to my post : if (empty($variable)) is now equivalent to if (!$variable) (I forgot the ! ) |
| Re:comprehensive upgrade guide for PHP3 users? (Score:1) by paulschreiber (slashdot@paulschreiber.com) on Monday May 22, @07:27PM EDT (#99) (User Info) http://paulschreiber.com/ |
| What about using isset() instead? Paul |
| Re:comprehensive upgrade guide for PHP3 users? (Score:1) by Betcour on Tuesday May 23, @05:26AM EDT (#131) (User Info) |
| Well if you script has an url like this : script.php?arg= isset($arg) will normally return true, eventhough there is really not value passed. |
| --enable-trans-sid (Score:1) by fougasse on Monday May 22, @05:59PM EDT (#87) (User Info) |
| This is not offtopic, really, it's about PHP4! Anyway, does anyone have the --enable-trans-sid compile option working? It's supposed to support cookie-less session handling by automatically adding session IDs to URLs, but when I have a URL like http://www.site.com/page.php?id=4 it changes it to http://www.site.com/page.php?id=&PHPSESSID=0908080980980984 which, of course, makes no sense. Is this just me? |
| This is Not a Troll(tm) (Score:1) by tterb on Monday May 22, @06:14PM EDT (#89) (User Info) |
| Haven't you guys figured out yet that PHP is dead-end technology? I could (and have) elaborate more, but my past experience tells me not a soul would listen in any case. This seems to be the only way to get anyone's attention ;) |
| Re:This is Not a Troll(tm) (Score:1) by gdulli (gdulli@zdnetmail.com) on Monday May 22, @07:59PM EDT (#103) (User Info) |
| I'd like to hear more. |
| Re:This is Not a Troll(tm) (Score:2, Insightful) by phee (phee@NOSPAM!IsThisThingOn.org) on Monday May 22, @08:32PM EDT (#109) (User Info) |
Yeah, whaddya mean, "dead-end technology"? What better than something built into your server to do server-side processing? And don't give me that mod_perl or server-side java stuff... they're just Other Languages, too. PHP is an excellent, easy language to program in, and very powerful. I have support in it for mysql, postgres, zlib, xml, session cookies, snmp, ldap, imap, libgd (makes pretty pictures programmatically from whatever you want) which can make PNGs or JPGs... tell me ASP can do all that. Maybe perl can, but you'd have to find modules for it all and install them first, and even then you're stuck with that god-forsaken hopeless language that looks more like line noise than code. Nope, PHP is staying up with the times and even exceeds my expectations consistently. I even use it for shell scripting with the standalone interpreter; need a script that changes a file's linefeeds from Mac-style to Unix-style, or changes all the tabs in a file into 4 spaces, or calculates a list of all the prime numbers between 1 and 1,000, or converts an epoch timestamp number into m/d/y h:m:s, or FTPs to somewhere every 17 minutes and downloads something, or with just the issuance of a single command telnets into your Cisco PIX firewall and reinstalls your configuration (multiple versions of which you keep saved locally in a mysql database) because a lesser admin screwed it all up? 5 minutes of scriptwriting and you're done, and you can save it and run it any time. Gimme PHP or gimme death. "The best weapon of a dictatorship is secrecy, but the best weapon of a democracy should be the weapon of openness." --Niels Bohr (1885-1962), Physicist |
| Re:This is Not a Troll(tm) (Score:2, Informative) by phee (phee@NOSPAM!IsThisThingOn.org) on Monday May 22, @09:22PM EDT (#115) (User Info) |
By the way... I just now downloaded and compiled in support for making SWF (Flash) movies (though I did have to modify the configure script so it was looking in /usr/local/lib instead of just /usr/local for libswf.a). Nothing short of buying Macromedia products has allowed this before, as far as I know. Who needs Generator(tm), which only runs on servers that have had their Micro$oft Tax paid? Now I can just suck data out of mysql and plug it into a flash movie. Why would you want to use anything else? The mind boggles. Download the Flash library here. |
| Zend Optimizer Beta 4 is available! (Score:3, Informative) by LiteForce (tez@eggs-and-spam.linuxwizards.co.uk) on Monday May 22, @06:26PM EDT (#92) (User Info) http://www.linuxwizards.co.uk/ |
| The Zend Optimizer for PHP 4.0.0 is also available; get it at zend.com now! |
| Great, now what about all those .php3 extensions? (Score:1) by sunset on Monday May 22, @06:27PM EDT (#93) (User Info) http://www.sunsetsystems.com/ |
| When I convert, should I rename all my .php3 files to *.php4? Maybe it's time to go back to .php? Arrrrgh. |
| Re:Great, now what about all those .php3 extension (Score:2, Informative) by paulschreiber (slashdot@paulschreiber.com) on Monday May 22, @07:25PM EDT (#98) (User Info) http://paulschreiber.com/ |
| Well, as of php4, they (the PHP group) want you to use just .php. You can modify your httpd.conf so php4 knows about .php3 files as well: Be careful -- don't just rename your files from .php3 to .php, as links will break. If you're clever, you can have apache rewrite everything that ends in .php3 to .php after you rename everything to prevent broken links: I didn't test the above line, so verify it first. Paul |
| Re:Great, now what about all those .php3 extension (Score:1) by mkendall (mdkendall@hotmail.com) on Tuesday May 23, @03:46AM EDT (#127) (User Info) http://www.matthewkendall.com/ |
| Be careful -- don't just rename your files from .php3 to .php, as links will break. Your links should not break because you should not be exposing filename extensions to the world for exactly this reason. Don't use foo.htm or foo.asp or foo.php in URIs; just use foo and let Apache content negotiation find the right file. See http://www.w3.org/Provider/Style/URI for why and how to create persistent URIs, especially the footnote at the bottom titled "How can I remove the file extensions". |
| Re:Great, now what about all those .php3 extension (Score:1) by phee (phee@NOSPAM!IsThisThingOn.org) on Monday May 22, @08:14PM EDT (#106) (User Info) |
I've always used .phtml but of course mod_perl stole that, so... :) Good thing I don't use mod_perl (who would want to when you've already got PHP?) "The best weapon of a dictatorship is secrecy, but the best weapon of a democracy should be the weapon of openness." --Niels Bohr (1885-1962), Physicist |
| PHP Pocket Reference (Score:1) by {LF}Ceres (necromancer28@hotmail.com) on Monday May 22, @06:41PM EDT (#94) (User Info) |
| Hmm.. i just bought the PHP Pocket Reference book by O'Reilly about 2 weeks ago and they go and release a new version of PHP... :/ Ahh well, anyone else who bought this book know how much of it is relevent to PHP 4, and if O'Reilly is going to take more of my hard earned money by releasing a new verison of the Pocket Reference? I really like the format of it... fast way to learn PHP without having to read a stack of documentation... Ceres |
| Re:PHP Pocket Reference (Score:1) by paulschreiber (slashdot@paulschreiber.com) on Monday May 22, @07:19PM EDT (#97) (User Info) http://paulschreiber.com/ |
| The book should be pretty accurate; PHP4 is basically a superset of PHP3. So you have an incomplete, but not incorrect, source of information. (I have the book, too.) Paul |
| Re:PHP Pocket Reference: how it was written. (Score:1) by nwonknu (hans@itavera.com) on Monday May 22, @07:45PM EDT (#102) (User Info) http://www.itavera.com/~hans/ |
| I talked to Rasmus a few weeks ago, and he told me the story of the creation of this reference guide. O'Reilly asked him one day to write a reference book. So he went home that night, made a couple of changes to the online docs and then ran a php script, which he had previously written for this purpose, and generated the O'Reilly PHP Reference Guide. O'Reilly was completely caught off guard when he turned in the book the next day, because usually they have time to promote the book way in advance. That's the reason why the PHP Reference Guide was out in the book stores before anyone saw any ads for it. Yes, this is probably the fastest O'Reilly book ever written or published. And just for the record, Rasmus did have an index in the back of the book, but O'Reilly took it out because the Reference Guide was already getting too big. :( |
| Re:PHP Pocket Reference: how it was written. (Score:1) by {LF}Ceres (necromancer28@hotmail.com) on Monday May 22, @11:10PM EDT (#120) (User Info) |
| lol... now THAT is what i call brains.. the preface probably took him the most time (or did he generate that from the online docs too?) Just goes to show how well done the documentation really is i guess.. I wonder if he could make this php script publically available so that i could make my own "pocket reference" for php 4.0.. :) |
| RPM packages? (Score:1) by decaym (delbert@matlock.com) on Monday May 22, @09:17PM EDT (#114) (User Info) http://delbert.matlock.com/ |
Well, now the question will be how long it takes RedHat to get some RPM packages for PHP4 up on the RawHide site. Flame away, but some of us like having a clean way to change files in and out of our servers. It's funny, but in my search for an RC2 RPM package, I ran across the final PHP4 tarball up on the main site about two hours after it was posted on the 19th. Good thing Slashdot didn't hear about it then, or it might have never gotten mirrored out. |
| First Compilation!! (Score:1) by tweder (scott2porteighty.com (2 == @)) on Monday May 22, @09:50PM EDT (#117) (User Info) http://porteighty.com |
| Check it out! For the humor impaired please note that this is a joke, not a troll. |
| Quick mirror links (Score:1) by Norny (norny at geocities dot com) on Monday May 22, @11:50PM EDT (#121) (User Info) http://www.atthat.com/ |
| I can't load anything from www.php.net over my dsl line so I'm going to help people out and post some official mirrors from the php.he.net mirror download page that haven't been hit (yet): http://php.he.net/distributions/ http://us4.php.net/distributions/ http://us.php.net/distributions/php-4.0.0.tar.gz or http://us.php.net/distributions/php-4.0.0-Win32.zip everything else is slashdotted. |
| Posting Times (Score:1) by -=vHs=- (vhs@org.dyndns.speelplaats) on Tuesday May 23, @02:46AM EDT (#126) (User Info) http://www.speelplaats.dyndns.org |
| Now is it just me or are the posting times a bit weird? Is slashdot capable of time traveling, or do we have to call Mulder and Scully to investigate for aliens tempering with the time. Article posted on 5/22 @19:55 First update at 5/22 @07:46 Second update at 5/22 @3:30 Man this is way cool, never running out of time anymore :) |
| no OCI8 in php4 (Score:1) by yavo on Tuesday May 23, @03:53AM EDT (#128) (User Info) |
| I consedered moving to php4 but it seemed to be lacking the oracle OCI functions i was using to so long. Is this the case or is there a way to fix it. Otherwise I have to rewrite my code with ora_?? functions which is not a preferable scenario. yavor |
| blah (Score:1) by lanzz (lanceeeee@hempseed.com) on Tuesday May 23, @04:22AM EDT (#130) (User Info) |
| i wonder what ever keeps php going... this... tool is quite ridiculous. it's got SCARCE documentation (often omitting important information like explanation of return value), many functions that should return the result work on the original data instead, thus breaking the connectivity between code parts, the parser hates people and explains errors as little as it could (meaningful error diagnostics really keep me back to perl)... why is anybody using it anyway? yes, it has many features ready that you have to implement in perl, but at what price? code written in php is much harder to maintain and troubleshoot, and filesystem interface is a hell. if i didn't need access to server filesystem, i'd use javascript. |
| Nah. Re:What? (Score:1) by dangermouse (logan@slackware.com) on Monday May 22, @03:10PM EDT (#16) (User Info) http://www.slackware.com |
| That's just what's new since the last release candidate. PHP4 is a major step up from PHP3. |
| Re:wow (Score:1) by ChiaBen (spam.bcarlson@program-works.com) on Monday May 22, @03:10PM EDT (#17) (User Info) |
| I believe if you go to the Zend website, you can download the free 'Zend Optimizer'. This purportedly increases the speed of PHP... regards, Benjamin Carlson My head has begun to hurt... no wait... yeah, I guess it does. |
| Re:wow (Score:1) by costas (costas@nospam.malamas.com) on Monday May 22, @03:18PM EDT (#27) (User Info) http://malamas.com/ |
| I have been running PHP4.0b3 without the Optimizer, and yes, it's way faster than PHP3. I imagine 4.0+Optimizer will smoke PHP3... engineers never lie; we just approximate the truth. AegeanTimes: Greek and Turkish News |
| Re:What? (Score:2) by GrenDel Fuego (gboyce@NOSPAM.chickenpotpie.com) on Monday May 22, @03:15PM EDT (#22) (User Info) |
| PHP4 was completely written for speed increases and now uses the new zend engine. Not sure why the list given was so short though. Maybe those are the increases since the last beta? |
| Re:PHP is crap (Score:1) by lmergen on Monday May 22, @03:56PM EDT (#59) (User Info) |
| I disagree... PHP might seem "too easy", but it's a really fast language. For people who look for performance should use PHP. If you don't know much about programming and want much tutorials, you should use Perl.... - Leon Mergen Solatis.com |
| It's faster (Score:3, Informative) by TheInternet (scotts-at-maxify-dot-com) on Monday May 22, @08:24PM EDT (#108) (User Info) http://maxify.com/ |
| See if is as fast as PHP3 first!! PHP4 is definitely faster than 3. The engine was rewritten from the ground up. Add in the optimizer from Zend, and you're flyin'. - Scott ------ Scott Stevenson Maxify.com |
| Let's be reasonable.. (Score:2, Informative) by TheInternet (scotts-at-maxify-dot-com) on Monday May 22, @08:40PM EDT (#112) (User Info) http://maxify.com/ |
| a new version of ASP was relased yesterday but it didnt get put on slashdot! why is hemos posting product announcements here! isn't that what freshmeat is for? This is silly. Some product announcements are so big that there are some reasonable expectations that they would show up on slashdot. These probably include Apache, PHP, Perl, Linux, GiMP and Netscape. Saying that slashdot is trying to be like freshmeat by posting a PHP4 announcement is just unreasonable. Reading freshmeat every day doesn't really interest me. There's too much static. However, I don't want to miss out on major software release just for that. - Scott ------ Scott Stevenson Maxify.com |
| Re:insert perl/php flamewar here... (Score:1) by Darguz on Tuesday May 23, @07:53AM EDT (#134) (User Info) http://www.holotech.net/ |
| Why should there be a perl/php flamewar? They both have their merits and different uses. Or were you just trolling? -- What? WHAT?!! Oh. |
| Re:Post the mirrors list here (Score:1) by BELG on Tuesday May 23, @10:47AM EDT (#139) (User Info) http://www.geekhouse.nu/ |
| Well, I don´t know how many there are, or where, but I do know that www.se.php.net is fast enough for me. |
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the Poster. The Rest © 1997-2008 SourceForge, Inc.