summaryrefslogtreecommitdiff
path: root/tests/lang/returnByReference.002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/returnByReference.002.phpt')
-rw-r--r--tests/lang/returnByReference.002.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lang/returnByReference.002.phpt b/tests/lang/returnByReference.002.phpt
index 67061048b3..1469e95a49 100644
--- a/tests/lang/returnByReference.002.phpt
+++ b/tests/lang/returnByReference.002.phpt
@@ -3,13 +3,13 @@ Returning a reference from a function.
--FILE--
<?php
function &returnRef() {
- global $a;
- return $a;
+ global $a;
+ return $a;
}
function returnVal() {
- global $a;
- return $a;
+ global $a;
+ return $a;
}
$a = "original";