Doc #71953 [Opn->Fbk]: sample wrong for PHP7
| From: | requinix@php.net | Date: | Mon, 04 Apr 2016 07:52:02 +0000 |
| Subject: | Doc #71953 [Opn->Fbk]: sample wrong for PHP7 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13382@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71953&edit=1
ID: 71953
Updated by: requinix@php.net
Reported by: info at djdb dot be
Summary: sample wrong for PHP7
-Status: Open
+Status: Feedback
Type: Documentation Problem
-Package: Documentation problem
+Package: GD related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
list is not deprecated. What are you talking about?
Previous Comments:
------------------------------------------------------------------------
[2016-04-04 07:50:19] 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\"
/>";
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71953&edit=1