Re: [PHP] Friday - Return of Brain Teasers

2012-10-05 Thread Timmy Sjöstedt
That just sounds like a pun than anything else though. We require new Brainteaser; On 2012-10-05 22:36, Jonathan Sundquist wrote: It means we require more cowbell. On Fri, Oct 5, 2012 at 3:34 PM, Steven Staples wrote: Subject: [PHP] Friday - Return of Brain Teasers About five-and-a-ha

Re: [PHP] Differences

2012-10-03 Thread Timmy Sjöstedt
Hi David, A "return" statement will immediately halt execution of the current function and return to where it was called. In your case, the foreach loop will execute once and find a return statement, and thus halting execution of the function and returning only the first filename. echo() i

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Timmy Sjöstedt
On 07/12/2012 10:21 PM, Simon Dániel wrote: Hi, I have started to develop a simple MVC framework. I have a base controller class which is abstract and all of the controllers are inherited from that. Every controller contains actions represented by methods. (E. g. there is a controller for manag

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Timmy Sjöstedt
On 07/12/2012 11:44 PM, Daevid Vincent wrote: -Original Message- From: Simon Dániel [mailto:simondan...@gmail.com] Sent: Thursday, July 12, 2012 1:21 PM Subject: [PHP] Entry point of an MVC framework I have started to develop a simple MVC framework. Yeah! Just what PHP needs, another