php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #67488 Missing mention of SplSubject::notify() interface
Submitted: 2014-06-20 16:24 UTC Modified: 2020-08-14 11:20 UTC
From: jonah at nucleussystems dot com Assigned:
Status: Verified Package: SPL related
PHP Version: 5.5.13 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
12 - 11 = ?
Subscribe to this entry?

 
 [2014-06-20 16:24 UTC] jonah at nucleussystems dot com
Description:
------------
---
From manual page: http://www.php.net/migration53.incompatible
---

Between PHP 5.2 and 5.3, there was a change to the SplSubject::notify() method.  It no longer allows an argument. This should be noted in the list of backward-incompatible changes.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-08-14 11:20 UTC] cmb@php.net
-Status: Open +Status: Verified -Package: Documentation problem +Package: SPL related
 [2020-08-14 11:20 UTC] cmb@php.net
Actually, that change happend in PHP 5.3.1, and was about adding
missing arginfo for void functions[1].  Indeed, a potentially
breaking change that should be documented.

[1] <https://github.com/php/php-src/commit/fc4e43ec3cdd7bb9ae2e998432cc747f5ce52a3e>
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Dec 02 13:01:23 2020 UTC