Doc #67402 [NEW]: PHP 5.2.17
| From: | larene at pictordesign dot com | Date: | Mon, 09 Jun 2014 16:25:33 +0000 |
| Subject: | Doc #67402 [NEW]: PHP 5.2.17 | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-11271@lists.php.net to get a copy of this message | ||
From: larene at pictordesign dot com
Operating system: Red Hat Lynix
PHP version: Irrelevant
Package: Performance problem
Bug Type: Documentation Problem
Bug description:PHP 5.2.17
Description:
------------
---
From manual page: http://www.php.net/function.date-create
---
Putting this in my code:
$offer_end = new DateTime('06/06/2014');
Results in this error:
[Mon Jun 09 11:16:31 2014] [error] [client 70.34.10.173] PHP Catchable
fatal error: Object of class DateTime could not be converted to string
in
/home/test455/www/test455.fsreloading.com/fsadmin/emailSpecialOffers.php
on line 147, referer:
https://test.fsreloading.com/fsadmin/emailSpecialOffers.php
Test script:
---------------
$offer_end = new DateTime('06/06/2014');
--
Edit bug report at https://bugs.php.net/bug.php?id=67402&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67402&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67402&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67402&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=67402&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=67402&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=67402&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=67402&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=67402&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=67402&r=support
Expected behavior: https://bugs.php.net/fix.php?id=67402&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=67402&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=67402&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=67402&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67402&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=67402&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=67402&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=67402&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67402&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=67402&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=67402&r=mysqlcfg