Re: [nyphp-talk] C# to PHP

2009-06-09 Thread oorza2k5
I'll try to help, I know some C# but it's been a while since I played with it, as I'm not exactly the biggest fan of Microsoft in the world. On Jun 9, 2009 10:13am, "Hans C. Kaspersetz" wrote: Good morning boys and girls, I need some help with converting about 20 lines of C# code to PHP.

Re: [nyphp-talk] Switch-Case v. if/else

2009-05-14 Thread oorza2k5
I didn't think anonymous functions were ireleased until the 5.3 branch, which isn't near stable enough for production yet? On May 14, 2009 10:10pm, Andrew Muraco wrote: How about this for an idea: Write the code so that the switch returns the content of the case as a function, this way, y

Re: [nyphp-talk] Switch-Case v. if/else

2009-05-14 Thread oorza2k5
oops, just sent this to one guy =\ On May 14, 2009 3:52pm, oorza...@gmail.com wrote: Alright! answers :P Profiling the code, this script (which bottlenecks on the switch-case) is 82% of execution time __with__ APC. Of the script itself, ~45% of the execution time is this particular switch-

[nyphp-talk] LEMP?

2009-04-24 Thread oorza2k5
Hey, all, new to the mailing list (really, the first email I've sent :D). I was wondering if anyone had any experience using the EMP (nginx, mysql, php) instead of the AMP stack, specifically using php-fpm as a process manager? I've read some pretty impressive benchmarks: http://www.yawn.