Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug #24098 (Crash in pathinfo() due to double var initialization).
# This is a php5 specific bug, no MFB needed
- Loading branch information
Ilia Alshanetsky
committed
Jun 9, 2003
1 parent
7959b2d
commit aec7815
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--TEST-- | ||
Bug #24098 (pathinfo() crash) | ||
--FILE-- | ||
<?php | ||
var_dump(pathinfo("/dsds.asa")); | ||
?> | ||
--EXPECT-- | ||
array(3) { | ||
["dirname"]=> | ||
string(1) "/" | ||
["basename"]=> | ||
string(8) "dsds.asa" | ||
["extension"]=> | ||
string(3) "asa" | ||
} |