#48991 [Opn->Csd]: JPG -> JPEG change breaks things

From: Date: Mon, 16 Nov 2009 12:46:44 +0000
Subject: #48991 [Opn->Csd]: JPG -> JPEG change breaks things
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3185@lists.php.net to get a copy of this message
ID: 48991 Updated by: vrana@php.net Reported By: colin at viebrock dot ca -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: 5.3.0 -Assigned To: +Assigned To: cmv New Comment: Already documented. Previous Comments: ------------------------------------------------------------------------ [2009-07-21 14:29:16] colin at viebrock dot ca Having both for BC would've been nice, but since 5.3.0 is out there, it'll only have the one, so BC will always be broken for that one version. Personally, I think moving forward to just the one attribute "JPEG" is fine, and I'll adjust the phpdocs to reflect this. Thanks!) ------------------------------------------------------------------------ [2009-07-21 14:06:17] pajoye@php.net I do not really care. The new name is correct, but if it makes some devs easier, I will happily a patch :) ------------------------------------------------------------------------ [2009-07-21 05:35:13] philip@php.net I wonder for BC if both keys should exist here... what do you think? ------------------------------------------------------------------------ [2009-07-20 21:31:58] colin at viebrock dot ca Description: ------------ We recently upgraded to 5.3.0. The change made here: http://svn.php.net/viewvc?view=revision&revision=277688 has had the unintended effect of breaking some applications that rely on gd_info() to test for JPEG support (specifically in my case the Textpattern blogging engine). Neither the manual nor the migration notes made reference to this. Not a big deal, but was this really required? I suppose the person posting bug #47757 thought so! Reproduce code: --------------- var_dump(gd_info()) Expected result: ---------------- ... ["JPG Support"]=> bool(true) ... Actual result: -------------- ... ["JPEG Support"]=> bool(true) ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48991&edit=1

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