lbarnaud                Fri Sep 12 16:09:01 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/phar/phar      pharcommand.inc 
  Log:
  MFH: make pharcommand.inc works without ereg
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar/pharcommand.inc?r1=1.49.2.11&r2=1.49.2.12&diff_format=u
Index: php-src/ext/phar/phar/pharcommand.inc
diff -u php-src/ext/phar/phar/pharcommand.inc:1.49.2.11 
php-src/ext/phar/phar/pharcommand.inc:1.49.2.12
--- php-src/ext/phar/phar/pharcommand.inc:1.49.2.11     Fri Aug  1 13:42:56 2008
+++ php-src/ext/phar/phar/pharcommand.inc       Fri Sep 12 16:09:01 2008
@@ -213,7 +213,7 @@
                        $apiver = trim(substr($apiver, strlen('API Version')));
                        if ($apiver) {
                                self::notice("Pear package PHP_Archive: API 
Version: $apiver.\n");
-                               $files  = split("\n", `pear list-files 
PHP_Archive`);
+                               $files  = explode("\n", `pear list-files 
PHP_Archive`);
                                $phpdir = `pear config-get php_dir 2>/dev/null`;
                                $phpdir = trim($phpdir);
                                self::notice("Pear package PHP_Archive: 
$phpdir.\n");
@@ -1550,7 +1550,7 @@
                $use_ext = extension_loaded('phar');
                $version = array(
                        'PHP Version' => phpversion(),
-                       'phar.phar version' => '$Revision: 1.49.2.11 $',
+                       'phar.phar version' => '$Revision: 1.49.2.12 $',
                        'Phar EXT version' => $use_ext ? phpversion('phar') : 
'Not available',
                        'Phar API version' => Phar::apiVersion(),
                        'Phar-based phar archives' => true,



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to