php3-list | 199903
Date: 03/17/99
- Next message: Jens Knoell: "[PHP3] php & webcam trouble"
- Previous message: Richard Lynch: "Re: [PHP3] Questions from a New PHP User"
- Maybe in reply to: Paul Southworth: "[PHP3] function questions: arrays & string concat."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 9:55 AM 3/17/99, Paul Southworth wrote:
>1. What's the easiest way to add or remove items from an array in PHP?
> You know, like perl's "push" and "pop" functions.
$foo[] = 'new thing';
unset($foo, count($foo) - 1);
There is a contributed class to do push/pop.
>2. Where's strcat()?
$foo = 'str' . 'cat';
echo $foo;
-- "TANSTAAFL" Rich lynch <email protected> webmaster@ and www. all of:
R&B/jazz/blues/rock - jademaze.com music industry org - chatmusic.com
acoustic/funk/world-beat - astrakelly.com sculptures - olivierledoux.com
my own nascent company - l-i-e.com cool coffeehouse - uncommonground.com
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Jens Knoell: "[PHP3] php & webcam trouble"
- Previous message: Richard Lynch: "Re: [PHP3] Questions from a New PHP User"
- Maybe in reply to: Paul Southworth: "[PHP3] function questions: arrays & string concat."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

