diff options
Diffstat (limited to 'src/tests/disabled_functions_chain_call_user_func_ret.phpt')
| -rw-r--r-- | src/tests/disabled_functions_chain_call_user_func_ret.phpt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/tests/disabled_functions_chain_call_user_func_ret.phpt b/src/tests/disabled_functions_chain_call_user_func_ret.phpt index 44c9b24..d0ee389 100644 --- a/src/tests/disabled_functions_chain_call_user_func_ret.phpt +++ b/src/tests/disabled_functions_chain_call_user_func_ret.phpt | |||
| @@ -21,6 +21,15 @@ echo one('matching') . "\n"; | |||
| 21 | echo one('still not matching') . "\n"; | 21 | echo one('still not matching') . "\n"; |
| 22 | 22 | ||
| 23 | ?> | 23 | ?> |
| 24 | --XFAIL-- | ||
| 25 | --EXPECTF-- | 24 | --EXPECTF-- |
| 26 | Match on ret is broken :/ | 25 | one |
| 26 | two | ||
| 27 | not matching_one | ||
| 28 | one | ||
| 29 | two | ||
| 30 | |||
| 31 | Warning: [snuffleupagus][disabled_function] Aborted execution on return of the function 'two', because the function returned 'matching_two', which matched a rule in %a/tests/disabled_functions_chain_call_user_func_ret.php on line %d | ||
| 32 | matching_one | ||
| 33 | one | ||
| 34 | two | ||
| 35 | still not matching_one | ||
