Commit 4282362
committed
Move instanceof check inside ZEND_DEBUG guard
This makes sure we don't get a performance penalty in release mode
because the release mode build will still perform the call as the
compiler doesn't know instanceof is side-effect-free.1 parent 0483798 commit 4282362
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
| |||
0 commit comments