php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52524 the 5.3 migration documentation lacks some details
Submitted: 2010-08-03 14:42 UTC Modified: 2012-11-12 03:43 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: tyra3l at gmail dot com Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tyra3l at gmail dot com
New email:
PHP Version: OS:

 

 [2010-08-03 14:42 UTC] tyra3l at gmail dot com
Description:
------------
I've just started to read through the migration documentation, and I thought 
that wouldn't find anything that I'm unfamiliar with, but obviously I've just 
found.
When I started to do my homework, I found out, that there are some changes, new 
features which aren't documented properly.
1,
http://www.php.net/manual/en/migration53.new-features.php
there should be a link or an example for the "Dynamic access to static methods 
is now possible."
Something like this:

<?php
class foo{
        public static $foo = 123;
}

$a = "foo";
echo $a::$foo;

2,
"Exceptions can now be nested."
I can nest exceptions with 5.2, so whats this about?

3,
"The mail() function now supports logging of sent email. (Note: This only 
applies to email sent through this function.)"
How?
I couldn't find anything about this in the mail function's documentation.
My best guess is the new mail.add_x_header ini directive.

4,
"A garbage collector for circular references has been added, and is enabled by 
default."
Could link to 
http://www.php.net/manual/en/info.configuration.php#ini.zend.enable-gc
OR
http://php.net/manual/en/features.gc.collecting-cycles.php


http://www.php.net/manual/en/migration53.ini.php

5,
"A new directive, mail.add_x_header, has been added."
should link to
http://www.php.net/manual/en/mail.configuration.php#ini.mail.add-x-header

6,
user_ini.filename and user_ini.cache_ttl 
should link to
http://php.net/manual/en/configuration.file.per-user.php

7,
exit_on_timeout - what is this?
there are zero documentation about this.
http://www.mail-archive.com/php-cvs@lists.php.net/msg33498.html

I think thats all that I found.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-10 02:37 UTC] philip@php.net
-Status: Open +Status: Feedback
 [2010-08-10 02:37 UTC] philip@php.net
Your involvement in the PHP project is growing, are you interested in creating a 
patch? It's the next step... ;)
 [2010-08-10 09:36 UTC] tyra3l at gmail dot com
-Status: Feedback +Status: Open
 [2010-08-10 09:36 UTC] tyra3l at gmail dot com
Hi.

As you can see there are some parts where I'm not sure about whats missing, but I 
can create a patch for the parts where it's obvious what should be linked. 

Tyrael
 [2010-08-10 09:39 UTC] tyra3l at gmail dot com
Could you change the status back to Feedback?
I can't, and when I replied through the Edit it was set back to Open.
I think thats worth another bugreport. :)

Tyrael
 [2010-08-10 09:43 UTC] aharvey@php.net
-Status: Open +Status: Feedback
 [2011-12-04 14:17 UTC] tyrael@php.net
-Status: Feedback +Status: Assigned -Assigned To: +Assigned To: tyrael
 [2012-01-27 13:31 UTC] jose dot nobile at gmail dot com
This is a documentation problem from ago one year, When the PHP group will fix it?
 [2012-11-12 03:43 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=328316
Log: Update the 5.3 migration guide with the various suggestions Ferenc made a while
back. Additionally, link the configuration directives consistently.

Fixes doc bug #52524 (the 5.3 migration documentation lacks some details).
 [2012-11-12 03:43 UTC] aharvey@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2012-11-12 03:43 UTC] aharvey@php.net
-Status: Assigned +Status: Closed -Assigned To: tyrael +Assigned To: aharvey
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 04:01:38 2024 UTC