Trying to remember a function's name

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Csaba Gabor

    #1

    Trying to remember a function's name

    Hi, I am drawing a total blank on this... I'm sure that I've seen it in
    javascript or PHP... I'm looking for a function that takes a variable
    (such as an array) and reduces it to a string which can be
    reconstituted. I remember that it does slightly more work than needed
    because all the types were specifically indicated even when they were
    self evident, but I can't remember the function's name. There is some
    unencoding function to go in reverse.

    Would someone help me out and name the function I'm thinking of,
    please.

    Thanks,
    Csaba Gabor

  • Andy Hassall

    #2
    Re: Trying to remember a function's name

    On 27 Jun 2006 15:45:59 -0700, "Csaba Gabor" <danswer@gmail. com> wrote:
    [color=blue]
    >I am drawing a total blank on this... I'm sure that I've seen it in
    >javascript or PHP... I'm looking for a function that takes a variable
    >(such as an array) and reduces it to a string which can be
    >reconstitute d.[/color]

    serialize.

    --
    Andy Hassall :: andy@andyh.co.u k :: http://www.andyh.co.uk
    http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

    Comment

    • Stan McCann

      #3
      Re: Trying to remember a function's name

      "Csaba Gabor" <danswer@gmail. com> wrote in
      news:1151448359 .726025.205270@ j72g2000cwa.goo glegroups.com:
      [color=blue]
      > Hi, I am drawing a total blank on this... I'm sure that I've seen it
      > in javascript or PHP... I'm looking for a function that takes a
      > variable (such as an array) and reduces it to a string which can be
      > reconstituted. I remember that it does slightly more work than
      > needed because all the types were specifically indicated even when
      > they were self evident, but I can't remember the function's name.
      > There is some unencoding function to go in reverse.
      >
      > Would someone help me out and name the function I'm thinking of,
      > please.[/color]

      implode() and explode (PHP 3, 4 and 5)

      --
      Stan McCann, "Uncle Pirate" http://stanmccann.us/
      Implementing negative score for googlegroup postings, see
      http://blinkynet.net/comp/uip5.html A zest for living must include a
      willingness to die. - R.A. Heinlein

      Comment

      • Csaba Gabor

        #4
        Re: Trying to remember a function's name

        Andy Hassall wrote:[color=blue]
        > On 27 Jun 2006 15:45:59 -0700, "Csaba Gabor" <danswer@gmail. com> wrote:
        >[color=green]
        > >I am drawing a total blank on this... I'm sure that I've seen it in
        > >javascript or PHP... I'm looking for a function that takes a variable
        > >(such as an array) and reduces it to a string which can be
        > >reconstitute d.[/color]
        >
        > serialize.[/color]

        Yep, that's it. Thanks very much,
        Csaba Gabor from Vienna

        Comment

        Working...