annathepiper: (Default)
[personal profile] annathepiper
PHP has a function called "explode". You feed it a string, tell it how the string is delimited between its words, and its spits back an array for you of the string's component words.

Though really, I don't much care what it does. I just like the name. ALL programming languages should have a function called "explode".

Date: 2002-09-22 05:55 pm (UTC)
avram: (Default)
From: [personal profile] avram
And the function that does the opposite, turning an array into a string, is called implode().

I think the documentation for explode() should start off "This isn't as much fun as you'd expect given the name". Which is pretty much how I felt when I got to the section on Butt Kicks in my exercise book.

Date: 2002-09-22 11:29 pm (UTC)
avram: (Default)
From: [personal profile] avram
Yup, PHP rocks. I wish I'd gotten a chance to do some MySQL stuff with it at my old job; then there'd be some remote chance that I might be able to get some work doing PHP stuff.

Profile

annathepiper: (Default)
Anna the Piper

November 2025

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 24th, 2026 09:34 pm
Powered by Dreamwidth Studios