function parameters (primarily in PHP)

Sharky Forums


Results 1 to 3 of 3

Thread: function parameters (primarily in PHP)

  1. #1
    Reef Shark Nephalim's Avatar
    Join Date
    Nov 2000
    Location
    Michigan
    Posts
    463

    function parameters (primarily in PHP)

    I've done it before, however I haven't done it often enough to remember, and when I did do it, it was in Java and not PHP. I want to write functions that receive an unlimited (or at least a large, unspecified amount) of parameters. For exmample, what I did in Java was to create a function that accepted switches. However, this time, in PHP, I'm looking to write a function that reads parameters that are separated by commas into an array. I'm not sure if this is called anything particular, but any help would certainly find me gracious.
    ~ And that is my humble opinion.

    When I was a boy I was told that anybody could become President. Now I'm beginning to believe it. - Clarence Darrow

    The greatness of a woman’s power is measured in the size and amount of the balls she clutches in hand. -Nephalim

    "Tink"
    1700+ XP on A7N8X, 768MB PC2700 DDRRAM, Samsung 19" 900IFT, Radeon 64MB DDR VIVO, SB Live! MP3+, 42.9GB IBM HDD, Plexwriter 8/4/32, 3C905CTXM NIC

    "Hermes"
    Dell Inspiron 8200, 1.7 GHz P4, 512MB DDRRAM, 30GB HDD, DVDROM, Geforce4 Go 64MB

  2. #2
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

  3. #3
    Reef Shark Nephalim's Avatar
    Join Date
    Nov 2000
    Location
    Michigan
    Posts
    463
    Sweet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •