Doc #71953 [Opn]: sample wrong for PHP7
| From: | info at djdb dot be | Date: | Mon, 04 Apr 2016 10:24:42 +0000 |
| Subject: | Doc #71953 [Opn]: sample wrong for PHP7 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13386@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
User updated by: info at djdb dot be
Reported by: info at djdb dot be
Summary: sample wrong for PHP7
Status: Open
Type: Documentation Problem
Package: GD related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
see
http://php.net/manual/en/migration70.incompatible.php
Previous Comments:
------------------------------------------------------------------------
[2016-04-04 10:19:27] 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 07:52:01] requinix@php.net
list is not deprecated. What are you talking about?
------------------------------------------------------------------------
[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