KBD

Keith Devens .com

Sunday, September 7, 2008 Flag waving
Linux is only free if your time has no value – Jamie Zawinski
← Fun chess game!Spam →

Daily link icon Tuesday, July 13, 2004

PHP 5 released!

We all had a feeling it was coming really soon now, what with the last-and-probably-final release candidate being on June 8, as well as because of some other intangible things, but PHP 5 has been released.

I can't wait until my host installs it so I can play Smiley

Update: Check out Zend's PHP 5 center, and this in depth look at what's new in the Zend Engine II (which powers PHP 5).

PHP is a much different language this time around. I just noticed for the first time that it has Python-like overloading features. Also check out this stuff about PHP 5's improved XML support.

Update: Here's a really detailed article on Migrating from PHP 4 to PHP 5.

← Fun chess game!Spam →

Comments XML gif

Tom Sommer (http://blog.dreamcoder.dk) wrote:

Which host is that? They must not care about BC since they upgrade from PHP4 to PHP5 in the blink of an eye Smiley

Just wondering.

∴ Tom Sommer | 13-Jul-2004 8:06pm est | http://blog.dreamcoder.dk | #4992

Keith (http://keithdevens.com/) wrote:

Hosting Matters. There's a button down at the bottom Smiley

They must not care about BC since they upgrade from PHP4 to PHP5 in the blink of an eye

Care about BC? What's BC? Backward compatibility? PHP 5 is mostly backward compatible. But, who says they'll upgrade in the blink of an eye? I expect them to wait until at least one patch release is out before upgrading.

Keith | 13-Jul-2004 8:21pm est | http://keithdevens.com/ | #4993

Alexander (http://shelter.nu/) wrote:

Dang, register_ns() has been taken out in PHP 5's simpleXML as compared to RC3. What the ... ?

∴ Alexander | 13-Jul-2004 11:04pm est | http://shelter.nu/ | #4994

Keith (http://keithdevens.com/) wrote:

What, so SimpleXML doesn't handle namespaces now?? How do you know that the function has been removed?

Keith | 14-Jul-2004 11:58am est | http://keithdevens.com/ | #4996

Alexander (http://shelter.nu/) wrote:

Well, I had http://shelter.nu/blog-094.html working in both RC 2 and 3, and now I just installed 5.0.0 and I got errors that the method didn't exist. Looking up php.net/simplexml yeilds nothing (in fact, register_ns isn't found at all at the php.net site), and the articles I dug that out from were from when RC2 got released. sigh

It looks like it doesn't handle namespaces. Not calling register_ns() for the namespaces in question yields no result from simpleXML at all. I've searched around, but I can't find anything apart from people saying "use register_ns()". Duh.

∴ Alexander | 15-Jul-2004 5:42am est | http://shelter.nu/ | #5004

Keith (http://keithdevens.com/) wrote:

registerNamespace() has been added to SimpleXML and will be in 5.1: http://blog.bitflux.ch/p1746.html

It's pretty silly that SimpleXML doesn't handle namespaces. It's especially silly because SimpleXML was one of the big touted new features of PHP 5, yet it seems like it's mostly useless for much (most?) XML out there.

Keith | 25-Jul-2004 1:18pm est | http://keithdevens.com/ | #5083

Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

September 2008
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
282930 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 7 posts

Recent comments XML

new⇒Trogdor tattoo!!

Oh, so cute, wowoowow....

Kathy Mead: Sep 7, 6:07am

new⇒I hate Norton Antivirus

Long long live AVG I love you!...

kevin sands: Sep 6, 7:31pm

I hate ASP.NET

CF, why pick that piece of trash?​Cold Confusion. Is it finally​really a OO...

ColdConfusion: Sep 5, 8:36pm

Maps of Iraq

This is for Linda, I will be​visiting that site some time in the​near futur...

Bob: Sep 5, 1:20pm

Girls, please don't get breast implants

Well alright I just read my above​comment and I wanted to add​this...I shou...

76.66.140.8: Sep 4, 7:31pm

Spider solitaire

I don't think the question was​necessarily if there are unbeatable​games.  ...

Jared: Sep 4, 12:44pm

Convert Pantone Colors to RGB and Hex - Color Conversion Chart

The colors on those website don't​seem to relate to the pantone data​we hav...

blah: Sep 3, 10:12am

Generated in about 0.19s.

(Used 8 db queries)

mobile phone