Test: /ext/standard/tests/file/realpath_bug77484.phpt - Version 7.3.6        

Bug #77484 Zend engine crashes when calling realpath in invalid working dir
Submitted: 2019-01-18 00:28:25 Modified: 2019-01-18 20:03:16
From: marcospassos.com Assigned: ab
Status: Closed Package: *Directory/Filesystem functions
PHP Version: 7.3.1 OS: Mac OS 10.12.6

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

Count Diff
1 (50%)
001+ Warning: rmdir(/usr/local/src/php-7.3.6/ext/standard/tests/file/foo): Invalid argument in %s/realpath_bug77484.php on line 7
002- bool(false)
003- bool(false)
004- string(1) "."
005- string(1) "."
003+ string(52) "/usr/local/src/php-7.3.6/ext/standard/tests/file/foo"
004+ string(52) "/usr/local/src/php-7.3.6/ext/standard/tests/file/foo"
005+ string(52) "/usr/local/src/php-7.3.6/ext/standard/tests/file/foo"
006+ string(52) "/usr/local/src/php-7.3.6/ext/standard/tests/file/foo"
1 (50%)
001+ Warning: mkdir(): File exists in %s/realpath_bug77484.php on line 5
002+
003+ Warning: rmdir(/usr/local/src/php-7.3.6/ext/standard/tests/file/foo): Invalid argument in %s/realpath_bug77484.php on line 7
002- bool(false)
003- bool(false)
004- string(1) "."
005- string(1) "."
005+ string(52) "/usr/local/src/php-7.3.6/ext/standard/tests/file/foo"
006+ string(52) "/usr/local/src/php-7.3.6/ext/standard/tests/file/foo"
007+ string(52) "/usr/local/src/php-7.3.6/ext/standard/tests/file/foo"
008+ string(52) "/usr/local/src/php-7.3.6/ext/standard/tests/file/foo"