pwnt.be

Timing is Everything

I can’t help but wonder what possessed the developers of PHP when they came up with the original implementation of the microtime() function. When are you ever going to need the current time represented as a string composed of the milliseconds part and the integer part, separated by a space? Preposterous.

Now, I’ll be the last to deny that PHP is full of these little mind-boggling “features”, but this one is just too crazy for words. If you’re going to be doing an explode() anyway, why can’t they just incorporate that into the damn command?

Also, explode() and implode() are terrible function names. I realize split() is a regex split, but about every other naming convention would have been better.

I’m going to shut up now, but the list goes on. PHP is a semantical nightmare on speed.

Incidentally, I just typed ’ in an IM conversation—literally, the character sequence ’, not a right single quote. I’m taking this proper apostrophe thing a bit far. I guess I should at least go with Alt-0146.

Post a Comment

This contraption supports Gravatar, as well as Markdown with SmartyPants. If none of that made sense to you, feel free to ignore it and start typing.

  • :)
  • :D
  • ;)
  • :-O
  • :P
  • :@
  • :$
  • :S
  • :(
  • :'(
  • :|
  • :-#
  • 8-|
  • ^o)
  • :-*
  • +o(
  • :^)
  • *-)
  • 8-)
  • |-)
Disorientation
Continuity
Retributions
Automating OpenVPN Connection on Windows XP
blanky, sky, Tim, Geb, 12vpn, Tim, neecom
Simple Linear Regression with JFreeChart
Nicolas Machado, Sascha, Tim, Sascha, Tim, Sascha
De Canvascrack: een epiloog
Tim, Steven Noels
Lplayer for the Rest of Us
jesus2099, Tim, jesus2099, Tim, jesus2099, Tim, PixelPirate
Proximus, Universiteit Gent, Kafka: schrappen wat niet past
Tim, Bart Coppens, Tim, Steven, Tim, Femke
Colophonics