Re: [PHP] Re: array_map() with multiple callback functions

2013-05-08 Thread George Langley
On 2013-05-08, at 1:48 PM, Jim Giner wrote: > On 5/7/2013 5:29 PM, George Langley wrote: >> Hi all. I want to apply strtolower() AND trim() to all items in an array. >> But I don't see a way to call multiple callbacks with the array_map() >> function. >> Are my two choices the following: >> >>

Re: [PHP] filesize question

2013-05-08 Thread tamouse mailing lists
On Tue, May 7, 2013 at 10:16 PM, Curtis Maurand wrote: > find -name *.js -exec removestring.php '{}' \; > > That's how I get the I put file name. I think that I need the if statement > to look at the filesize and make sure that I can open them and they are at > least the size of the string that I'

Re: [PHP] array_map() with multiple callback functions

2013-05-08 Thread Andrew Ballard
On Tue, May 7, 2013 at 5:43 PM, Alex Nikitin wrote: > On Tue, May 7, 2013 at 4:29 PM, George Langley wrote: >> Hi all. I want to apply strtolower() AND trim() to all items in an array. >> But I don't see a way to call multiple callbacks with the array_map() >> function. >> Are my two choices th

[PHP] Re: array_map() with multiple callback functions

2013-05-08 Thread Jim Giner
On 5/7/2013 5:29 PM, George Langley wrote: Hi all. I want to apply strtolower() AND trim() to all items in an array. But I don't see a way to call multiple callbacks with the array_map() function. Are my two choices the following: // 1) nesting two array_map() calls $cleanData = array_map('trim

Re: [PHP]

2013-05-08 Thread Daniel Brown
On Wed, May 8, 2013 at 3:13 PM, Steven Staples wrote: > > Why does this feel like a new function/feature for PHP now? > > Function acronymize($acronym) > { > // do stuff here now... :S > } -- Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.p

Re: [PHP]

2013-05-08 Thread Daniel Brown
On Wed, May 8, 2013 at 1:26 PM, David OBrien wrote: > > That would be reverse acronymization :) You're absolutely correct. Deacronymize? -- Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

RE: [PHP]

2013-05-08 Thread Ashley Sheridan
Steven Staples wrote: >> So you're just lucky I didn't acronymize it as the Pretty House of >> Princesses or something. And yes, I just made up the word >> acronymize. It may be Wednesday, but it feels more like a Friday. >> > >Why does this feel like a new function/feature for PHP now? > >F

RE: [PHP]

2013-05-08 Thread Steven Staples
> So you're just lucky I didn't acronymize it as the Pretty House of > Princesses or something. And yes, I just made up the word > acronymize. It may be Wednesday, but it feels more like a Friday. > Why does this feel like a new function/feature for PHP now? Function acronymize($acronym) {

Re: [PHP] FW:

2013-05-08 Thread Ashley Sheridan
Dan Joseph wrote: >Yo, > > (And, no, PHP doesn't stand >> for Produced by Horses & Ponies.) >> >> >This is completely devastating Just noticed the original link has a nasty payload for android, I assume the same applies for other OSs (probably best not to check!) -- Sent from my Androi

Re: [PHP] FW:

2013-05-08 Thread Dan Joseph
Yo, (And, no, PHP doesn't stand > for Produced by Horses & Ponies.) > > This is completely devastating -- -Dan Joseph http://www.danjoseph.me http://www.dansrollingbbq.com http://www.youtube.com/DansRollingBBQ

Re: [PHP]

2013-05-08 Thread David OBrien
On Wed, May 8, 2013 at 1:22 PM, Daniel Brown wrote: > On Wed, May 8, 2013 at 1:14 PM, Tedd Sperling > wrote: > > > > PS: PHP + > "Produced by Horses & Ponies." ? You got too much time on > your hands Daniel. > > And yes, I just made up the word acronymize. > That would be reverse acronymization

Re: [PHP]

2013-05-08 Thread Daniel Brown
On Wed, May 8, 2013 at 1:14 PM, Tedd Sperling wrote: > > PS: PHP + > "Produced by Horses & Ponies." ? You got too much time on your > hands Daniel. Sometimes I wish that were the case. Honestly, I think it's having a three-and-a-half-year-old daughter that's rubbing off on me. She's present

Re: [PHP]

2013-05-08 Thread Tedd Sperling
On May 8, 2013, at 12:50 PM, Daniel Brown wrote: >If you're going to send hack attempts, at least adjust your clock > so that it doesn't look like it took almost a month for your SPAM to > get here. We're not the Pony Express. (And, no, PHP doesn't stand > for Produced by Horses & Ponies.) >

Re: [PHP] FW:

2013-05-08 Thread Daniel Brown
If you're going to send hack attempts, at least adjust your clock so that it doesn't look like it took almost a month for your SPAM to get here. We're not the Pony Express. (And, no, PHP doesn't stand for Produced by Horses & Ponies.) On Thu, Apr 11, 2013 at 11:43 AM, Paul Novitski wrote: >

[PHP] FW:

2013-05-08 Thread Paul Novitski
http://www.shinwa-kensetsu.sakura.ne.jp/bth7rz.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php