Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.2

Bug #1116 _read_v1() s/$file/$this->file
Submitted: 2004-04-02 13:47 UTC
From: pear at trullala dot de Assigned: alexmerz
Status: Closed Package: MP3_ID
PHP Version: Irrelevant OS: Win32 (XP)
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 32 - 14 = ?

 [2004-04-02 13:47 UTC] pear at trullala dot de
Description: ------------ In function _read_v1() (line 412 and 415) filename should be $this->file instead of $file. $file is not defined in this function. Reproduce code: --------------- <?php include("MP3/Id.php"); $filename='c:\non\existent\file.mp3'; $deepstudy=false; $mp3=new MP3_Id($deepstudy); $mp3->read($filename); ?> Expected result: ---------------- Errormessage telling me the file dows not exist. Actual result: -------------- Errormessage (Notice) telling me the variable $file is not defined: PHP Notice: Undefined variable: file in E:\Programme\php5\PEAR\MP3\Id.php on line 412


 [2004-04-03 11:53 UTC] alexmerz at php dot net
Thank you for your bug report. This issue has already been fixed in the latest released version of the package, which you can download at