Doc #71953 [Opn->Nab]: sample wrong for PHP7

From: Date: Mon, 04 Apr 2016 10:27:40 +0000
Subject: Doc #71953 [Opn->Nab]: sample wrong for PHP7
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13387@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: Not a bug Type: Documentation Problem Package: GD related PHP Version: Irrelevant Block user comment: N Private report: N New Comment: list is not deprecated. Previous Comments: ------------------------------------------------------------------------ [2016-04-04 10:24:42] info at djdb dot be see http://php.net/manual/en/migration70.incompatible.php ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#13387) next »