We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5700cb2 commit f7027e7Copy full SHA for f7027e7
Zend/tests/pipe_operator/exception_interruption.phpt
@@ -6,7 +6,7 @@ A pipe interrupted by an exception, to demonstrate correct order of execution.
6
function foo() { echo __FUNCTION__, PHP_EOL; return 1; }
7
function bar() { echo __FUNCTION__, PHP_EOL; return false; }
8
function baz($in) { echo __FUNCTION__, PHP_EOL; return $in; }
9
-function quux($in) { echo __FUNCTION__, PHP_EOL; throw new \Exception('Oops'); } // This is line 6.
+function quux($in) { echo __FUNCTION__, PHP_EOL; throw new \Exception('Oops'); }
10
11
try {
12
$result = foo()
0 commit comments