KBD

Keith Devens .com

Thursday, May 17, 2012 Flag waving
Everybody makes their own fun. If you don't make it yourself, it ain't fun -- it's entertainment. – David Mamet (as relayed by Joss Whedon)
← 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)
:

May 2012
SunMonTueWedThuFriSat
 12345
6789101112
13141516171819
20212223242526
2728293031 



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

Recent comments XML

new⇒Acknowledging the Arrival of Peak Government

In many ways, Peak Oil is​responsible for this new​uselessness of the big g...

Revence: May 16, 6:35am

new⇒Tab EXSPLOSION

Right now, I, too, have too many​tabs open. A rough count says​25.
Right. ...

Revence: May 16, 6:21am

George W. Bush: ‘I’m for Mitt Romney’ - ABC News

A marked difference (departure,​even) from the KBD of eight--yea,​even four...

Revence: May 15, 1:55pm

WebOb — WSGI request and response objects

Google App Engine forces one to​learn these....

Revence: May 15, 1:52pm

Generated in about 0.266s.

(Used 8 db queries)