Re: [PHP] Binding object instances to static closures

2013-05-31 Thread Nick Whiting
This will not work. As stated in the PHP documentation "Static closures cannot have any bound object " A static Closure has no context of "this" just as with any other static object. A workaround is to pass in the Closure as a parameter to achieve a similar result. class TestClass { public

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Nick Whiting
Do you have a backtace for this? What is the gender class doing? Have u done a global search for keyword "clone"? On Friday, May 10, 2013, Richard Quadling wrote: > Hi. > > I'm having an issue where I get ... > > Fatal error: Trying to clone an uncloneable object of class Smarty_Variable > in

Re: [PHP] Introduction ... !

2013-03-01 Thread Nick Whiting
On Fri, Mar 1, 2013 at 6:32 PM, tamouse mailing lists < tamouse.li...@gmail.com> wrote: > On Fri, Mar 1, 2013 at 11:56 AM, Daniel Brown wrote: > > On Fri, Mar 1, 2013 at 12:54 PM, Jim Giner > wrote: > >> > >> What gives you such optimism? I recently saw a list of languages in > use and > >> PHP

Re: [PHP] Holding "datetimes" in a DB.

2013-03-01 Thread Nick Whiting
On Fri, Mar 1, 2013 at 7:04 PM, Sebastian Krebs wrote: > 2013/3/2 tamouse mailing lists > > > On Fri, Mar 1, 2013 at 11:53 AM, Matijn Woudt wrote: > > > On Fri, Mar 1, 2013 at 11:49 AM, Richard Quadling > >wrote: > > > > > >> Hi. > > >> > > >> My heads trying to remember something I may or may

[PHP] Introduction ... !

2013-03-01 Thread Nick Whiting
Hello PHP'ers! Just thought I would introduce myself to the mailing list since I've worked with PHP for almost 10 years now and yet haven't really been community active ... I've developed quite a few open-source projects over the years that I hope someone here will find as useful as I have ... th