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

Bug #17775 Uses deprecated function split()
Submitted: 2010-08-21 15:34 UTC
From: janisto Assigned: janisto
Status: Closed Package: Validate_FI (version 0.4.0)
PHP Version: 5.3.3 OS: Windows 7
Roadmaps: (Not assigned)    
Subscription  
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:
MUST BE VALID
Solve the problem : 16 + 44 = ?

 
 [2010-08-21 15:34 UTC] janisto (Jani Mikkonen)
Description: ------------ Validate/FI.php uses split(), which is deprecated since PHP 5.3.0 http://php.net/manual/en/function.split.php Test script: --------------- require_once 'Validate/FI.php'; $businessId = '1572860-0'; if ( Validate_FI::businessId($businessId) ) { print 'Valid'; } else { print 'Not valid!'; } Expected result: ---------------- Valid Actual result: -------------- Deprecated: Function split() is deprecated in C:\xampp\php\PEAR\Validate\FI.php on line 363 Valid

Comments

 [2010-08-21 15:35 UTC] janisto (Jani Mikkonen)
-Assigned To: +Assigned To: janisto
 [2010-08-21 17:53 UTC] janisto (Jani Mikkonen)
-Status: Assigned +Status: Closed
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/ Fixed in 1.0.0 (stable)