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

From: Date: Tue, 21 Jul 2009 14:29:17 +0000
Subject: #48991 [Fbk->Opn]: JPG -> JPEG change breaks things
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2527@lists.php.net to get a copy of this message
ID: 48991 User updated by: colin at viebrock dot ca Reported By: colin at viebrock dot ca -Status: Feedback +Status: Open Bug Type: Documentation problem Operating System: Linux PHP Version: 5.3.0 New Comment: 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! Previous Comments: ------------------------------------------------------------------------ [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 (#2527) next »