php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77176 Update OOP changelog documentation
Submitted: 2018-11-19 13:44 UTC Modified: 2019-07-13 17:49 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: m dot kabir8895 at gmail dot com Assigned: salathe (profile)
Status: Assigned Package: Class/Object related
PHP Version: Irrelevant 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:
33 + 16 = ?
Subscribe to this entry?

 
 [2018-11-19 13:44 UTC] m dot kabir8895 at gmail dot com
Description:
------------
---
From manual page: https://php.net/language.oop5.changelog
---
why not update this page with php 7.1 oop new feature.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-11-19 13:55 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2018-11-19 13:55 UTC] cmb@php.net
Are you referring to class constant visibility[1], or are there
more relevant changes?

[1] <http://www.php.net/manual/en/migration71.new-features.php#migration71.new-features.class-constant-visibility>
 [2018-11-19 16:47 UTC] requinix@php.net
PHP 5 had some big changes to OOP, so my impression of the page was that it was to help people on PHP 4 adapt. There was a lot to cover. PHP 7 isn't like that.

The migration guides exist. Do we need to keep the oop5.changelog page going?
 [2018-11-19 17:00 UTC] cmb@php.net
-Status: Feedback +Status: Open -Assigned To: cmb +Assigned To: salathe
 [2018-11-19 17:00 UTC] cmb@php.net
> The migration guides exist. Do we need to keep the
> oop5.changelog page going?

Good question!  Peter, what do you think?
 [2018-11-19 19:56 UTC] salathe@php.net
The page is a changelog for the "OOP 5" section, just like we have changelogs for individual function/methods/classes. It's just a bit unfortunate that it gets rendered as it's own standalone page so it's easy to miss the context.

The page acts as a good summary of the OOP-related changes across many versions of PHP, which the migration guides don't readily provide, and definitely not on a single page. But it's only really useful if kept up-to-date.

I'd rather see that happen, than lose the page.
 [2019-07-13 17:49 UTC] girgias@php.net
-Summary: update doc +Summary: Update OOP changelog documentation -Operating System: Windows 10 +Operating System: -PHP Version: 7.3Git-2018-11-19 (Git) +PHP Version: Irrelevant
 [2019-07-13 17:49 UTC] girgias@php.net
Wouldn't renaming the oop5 folder to oop and removing the "5" between "PHP 5 OOP model" do the trick? As currently all OOP related things are linked under oop5 which isn't the case as PHP 7 also has the OOP model.
 [2019-07-13 20:19 UTC] girgias@php.net
Automatic comment from SVN on behalf of girgias
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=347741
Log: Partial fix to Doc Bug #77176

Added changes to PHP's OOP model starting from PHP 7.0.
Hope I didn't miss anything and phrasing may be improved but based on the previous format of changelog. This may be (should?) need some tweaks, please advise.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 11:01:25 2019 UTC