Test: /ext/phar/tests/phar_setsignaturealgo2.phpt - Version 7.0.8    

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

Count Diff
2 (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===
1 (25%)
031+
032+ Termsig=11
031- array(2) {
032- ["hash"]=>
033- string(%d) "%s"
034- ["hash_type"]=>
035- string(7) "OpenSSL"
036- }
037- ===DONE===
1 (25%)
013+
014+ Fatal error: Uncaught PharException: unable to copy stub of old phar to new phar "/home/1/php-7.0.8/ext/phar/tests/phar_setsignaturealgo2.phar" in %s/phar_setsignaturealgo2.php:8
015+ Stack trace:
016+ #0 %s/phar_setsignaturealgo2.php(8): Phar->setSignatureAlgorithm(2)
017+ #1 {main}
018+ thrown in %s/phar_setsignaturealgo2.php on line 8
013- array(2) {
014- ["hash"]=>
015- string(%d) "%s"
016- ["hash_type"]=>
017- string(5) "SHA-1"
018- }
019- array(2) {
020- ["hash"]=>
021- string(%d) "%s"
022- ["hash_type"]=>
023- string(7) "SHA-256"
024- }
025- array(2) {
026- ["hash"]=>
027- string(%d) "%s"
028- ["hash_type"]=>
029- string(7) "SHA-512"
030- }
031- array(2) {
032- ["hash"]=>
033- string(%d) "%s"
034- ["hash_type"]=>
035- string(7) "OpenSSL"
036- }
037- ===DONE===