```json
{
    "title": "GrabPERF Server updated to PHP 5.1 RC1",
    "url": "https://performancezen.com/2005/09/06/grabperf-server-updated-to-php-51-rc1/",
    "datePublished": "2005-09-06",
    "dateModified": "2005-09-06",
    "language": "en-US",
    "description": "I was having issues upgrading the site to PHP 5.1, mainly because it broke a number of the GrabPERF graphs. Then I read the PHP docs. Turns out that there…",
    "author": "spierzchala",
    "publisher": "Performance Zen"
}
```

# GrabPERF Server updated to PHP 5.1 RC1

I was having issues upgrading the site to PHP 5.1, mainly because it broke a number of the

[GrabPERF](http://www.grabperf.org/)

graphs.
Then I read the PHP docs. Turns out that there have been some internal changes to the

*strtotime()*

function. I had been using

*strtotime(date(Ymd H), time())*

in the broken graphs; this now returns

**FALSE**

, not a numeric value.
A simple switch to

*strtotime(date(YmdH0000), time())*

resolved the problem entirely.
If you see any weirdness, let me know!
