|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-03-21 19:01 UTC] jinmoku at hotmail dot com
[2013-05-07 09:47 UTC] hanskrentel at yahoo dot de
[2020-04-20 15:16 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Assigned To:
+Assigned To: cmb
[2020-04-20 15:16 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 21:00:01 2025 UTC |
Description: ------------ It's impossible to implements \Serializable interface on a class which extends from \SplFileObject. Test script: --------------- <?php namespace php\bugs\splFileObject; class SerializableFileObject extends \SplFileObject implements \Serializable { public function serialize() { } public function unserialize($serialized) { } } ?> Expected result: ---------------- Nothing. Actual result: -------------- PHP Fatal error: Class php\bugs\splFileObject\Serializable could not implement interface Serializable in Unknown on line 0