Bug #55407 [Nab->Csd]: Impossible to prototype DateTime::createFromFormat

From: Date: Fri, 02 Jun 2017 22:11:39 +0000
Subject: Bug #55407 [Nab->Csd]: Impossible to prototype DateTime::createFromFormat
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209370@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55407&edit=1 ID: 55407 Updated by: nikic@php.net Reported by: landeholm at gmail dot com Summary: Impossible to prototype DateTime::createFromFormat -Status: Not a bug +Status: Closed Type: Bug Package: Date/time related Operating System: Irrelevant PHP Version: 5.3.6 Assigned To: derick Block user comment: N Private report: N New Comment: Automatic comment on behalf of me@kelunik.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=f2e7cdb8b7a68315c902e9346f476e72370e30e1 Log: Fix bug #55407 Previous Comments: ------------------------------------------------------------------------ [2017-01-17 15:36:17] heiglandreas@php.net Perhaps I'm not really getting what the issue is about: But it was possible since 5.3 to extend createFromFormat() without issue[1]. So prototyping DateTime::createFromFormat is possible without getting the error. I'm therefore closing this [1] https://3v4l.org/v5kXX ------------------------------------------------------------------------ [2015-06-12 16:00:43] ab@php.net Reopening as the patch was reverted in PHP 7.0 because of massive user code breach. See discussion on https://github.com/php/php-src/commit/8e19705a93d785cd1ff8ba3a69699b00169fea47 . Thanks. ------------------------------------------------------------------------ [2015-02-05 09:02:29] jpauli@php.net Automatic comment on behalf of jpauli Revision: http://git.php.net/?p=php-src.git;a=commit;h=f457487e163502480f74a70bf9272fd003fc1919 Log: Revert "Fixed bug #55407 (Impossible to prototype DateTime::createFromFormat)" ------------------------------------------------------------------------ [2015-02-04 16:50:50] jpauli@php.net Automatic comment on behalf of jpauli Revision: http://git.php.net/?p=php-src.git;a=commit;h=f51b73c833ef88761780487da610d7e94e68ad47 Log: Revert "Fixed bug #55407 (Impossible to prototype DateTime::createFromFormat)" ------------------------------------------------------------------------ [2015-02-04 16:42:20] jpauli@php.net Automatic comment on behalf of jpauli Revision: http://git.php.net/?p=php-src.git;a=commit;h=f51b73c833ef88761780487da610d7e94e68ad47 Log: Revert "Fixed bug #55407 (Impossible to prototype DateTime::createFromFormat)" ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=55407 -- Edit this bug report at https://bugs.php.net/bug.php?id=55407&edit=1

« previous php.bugs (#209370) next »