Test: /ext/phar/tests/tar/phar_setsignaturealgo2.phpt - Version 7.4.30    

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
031+ phar error: unable to write signature to tar-based phar: unable to write phar "/home/duke/tmp/php-7.4.30/ext/phar/tests/tar/phar_setsignaturealgo2.phar.tar" with requested openssl signature===DONE=== 031- array(2) { 032- ["hash"]=> 033- string(%d) "%s" 034- ["hash_type"]=> 035- string(7) "OpenSSL" 036- } 037- ===DONE===
1 (50%)
031+ 032+ Fatal error: Uncaught Error: Call to undefined function openssl_get_privatekey() in %s/phar_setsignaturealgo2.php:25 033+ Stack trace: 034+ #0 {main} 035+ thrown in %s/phar_setsignaturealgo2.php on line 25 031- array(2) { 032- ["hash"]=> 033- string(%d) "%s" 034- ["hash_type"]=> 035- string(7) "OpenSSL" 036- } 037- ===DONE===