note 77586 added to function.exif-read-data

From: Date: Wed, 05 Sep 2007 01:20:39 +0000
Subject: note 77586 added to function.exif-read-data
Groups: php.notes 
Request: Send a blank email to php-notes+get-130187@lists.php.net to get a copy of this message
Using the exif methods to read WINXP data returns unexpected results unless both exif and mbstring are compiled statically. Please reference the following bug reports: Bug #31980 Bug #23105 Specifically, the last comment on #23105: "[8 Apr 2003 4:26pm UTC] edink@php.net This cannot be fixed due to the fact that mbstring has been removed from PHP core (it has been 'unbundled') and the rest of core files and other extensions cannot use mbstring functionality when it is compiled as a shared library (dll). " If exif is compiled statically (--enable-exif) and mbstring compiled as a DSO module (--enable-mbstring=shared) then exif_read_data may only return a single character rather than the entire string. Compiling both exif and mbstring statically (--enable-exif --enable-mbstring) resolves the issue. ---- Server IP: 64.71.164.2 Probable Submitter: 64.39.0.39 ---- Manual Page -- http://www.php.net/manual/en/function.exif-read-data.php Edit -- https://master.php.net/note/edit/77586 Del: integrated -- https://master.php.net/note/delete/77586/integrated Del: useless -- https://master.php.net/note/delete/77586/useless Del: bad code -- https://master.php.net/note/delete/77586/bad+code Del: spam -- https://master.php.net/note/delete/77586/spam Del: non-english -- https://master.php.net/note/delete/77586/non-english Del: in docs -- https://master.php.net/note/delete/77586/in+docs Del: other reasons-- https://master.php.net/note/delete/77586 Reject -- https://master.php.net/note/reject/77586 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130187) next »