php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71953 sample wrong for PHP7
Submitted: 2016-04-04 07:50 UTC Modified: 2016-04-04 10:27 UTC
From: info at djdb dot be Assigned:
Status: Not a bug Package: GD related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: info at djdb dot be
New email:
PHP Version: OS:

 

 [2016-04-04 07:50 UTC] info at djdb dot be
Description:
------------
---
From manual page: http://www.php.net/function.getimagesize
---
I found a sample with list an list.
So some people sea that list() is depricated

see:
Example #2 getimagesize() example





Test script:
---------------
<?php
//list($width, $height, $type, $attr) = getimagesize("img/flag.jpg");
//echo "<img src=\"img/flag.jpg\" $attr alt=\"getimagesize() example\" />";
?>



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-04 07:52 UTC] requinix@php.net
-Status: Open +Status: Feedback -Package: Documentation problem +Package: GD related
 [2016-04-04 07:52 UTC] requinix@php.net
list is not deprecated. What are you talking about?
 [2016-04-04 10:19 UTC] info at djdb dot be
-Status: Feedback +Status: Open
 [2016-04-04 10:19 UTC] info at djdb dot be
ok i don't know it, some people sea depricated some sea not?
Wil A person of PHP7 give some reaction? if it is correct or not ???
 [2016-04-04 10:24 UTC] info at djdb dot be
see
http://php.net/manual/en/migration70.incompatible.php
 [2016-04-04 10:27 UTC] requinix@php.net
-Status: Open +Status: Not a bug
 [2016-04-04 10:27 UTC] requinix@php.net
list is not deprecated.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 23:01:31 2025 UTC