Re: [PHP] Is this list less busy than it used to be?

2012-07-04 Thread Erwin Poeze
Well, I think you are right. Take a look at this graph of the number of messages posted starting in 1998. The stackoverflow.org effect? messages - https://docs.google.com/spreadsheet/ccc?key=0Ak1QF0ijPYbedDNvb19SQl80MHcxUWhhbTZOYm5FUlE Erwin 2012/7/4 RGraph.net support supp...@rgraph.net Hi,

Re: [PHP] Way to test if variable contains valid date

2012-07-03 Thread Erwin Poeze
Or you could use a regular expression: $probe = '2000-01-01'; $found = preg_match('/(19|20)\d\d[- \.](0[1-9]|1[012])[- \.](0[1-9]|[12][0-9]|3[01])/', $probe); var_dump($found==1); Erwin 2012/7/3 shiplu shiplu@gmail.com I want to thank you, Daniel, for this help. - I was looking for

Re: [PHP] Destructor not called when extending SimpleXMLElement

2012-07-02 Thread Erwin Poeze
Interesting problem. I would expect it to work too. I assume it is a bug. 2012/7/2 Nick Chalk n...@loadbalancer.org Afternoon all. I seem to be having a little trouble with extending the SimpleXMLElement class. I would like to add a destructor to the subclass, but am finding that it is not