-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly treat class names as case insensitive
- Loading branch information
1 parent
bef4bca
commit a315d73
Showing
4 changed files
with
42 additions
and
6 deletions.
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
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,22 @@ | ||
--TEST-- | ||
Check if for case insensitive class name support | ||
--FILE-- | ||
<?php | ||
class Base { | ||
public function method(){ | ||
echo __METHOD__ . PHP_EOL; | ||
} | ||
} | ||
|
||
dd_trace("base", "method", function () { | ||
echo "HOOK "; | ||
return dd_trace_forward_call(); | ||
}); | ||
|
||
(new Base())->method(); | ||
(new base())->method(); | ||
|
||
?> | ||
--EXPECT-- | ||
HOOK Base::method | ||
HOOK Base::method |