summaryrefslogtreecommitdiff
path: root/Zend/tests/generators/bug65035.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/generators/bug65035.phpt')
-rw-r--r--Zend/tests/generators/bug65035.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/generators/bug65035.phpt b/Zend/tests/generators/bug65035.phpt
index 18276cc23a..cc7f5b68a3 100644
--- a/Zend/tests/generators/bug65035.phpt
+++ b/Zend/tests/generators/bug65035.phpt
@@ -4,11 +4,11 @@ Bug #65035: yield / exit segfault
<?php
function gen() {
- fn();
+ f();
yield;
}
-function fn() {
+function f() {
exit('Done');
}