Author: Sara Golemon (sgolemon)
Date: 2021-07-08T19:52:35Z

Commit: 
https://github.com/php/web-php/commit/0a39d89148e0e07d84e8f589076f8265c89f7629
Raw diff: 
https://github.com/php/web-php/commit/0a39d89148e0e07d84e8f589076f8265c89f7629.diff

Fix mirror-info.php to work on PHP8 (arg order to join/implode)

Changed paths:
  M  mirror-info.php


Diff:

diff --git a/mirror-info.php b/mirror-info.php
index a428122cd..fae922dbf 100644
--- a/mirror-info.php
+++ b/mirror-info.php
@@ -29,7 +29,7 @@ function_exists('hash_file') &&
 // Gets all available sqlite versions for possible future sqlite wrapper
 $sqlite = get_available_sqlites();
 
-$exts = join(get_loaded_extensions(), ',');
+$exts = implode(',', get_loaded_extensions());
 
 echo join('|', array(
     $MYSITE,                   // 0 : CNAME for mirror as accessed (CC, CC1, 
etc.)

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

Reply via email to