Skip to content

Commit 3606930

Browse files
committed
wip
1 parent 219ee1c commit 3606930

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

tests/ReflectionClosure1Test.php

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -275,19 +275,10 @@
275275
});
276276

277277
test('interpolation1', function () {
278-
if (PHP_VERSION_ID >= 80200) {
279-
$f1 = function () {
280-
return "{$foo}{$bar}{$foobar}";
281-
};
282-
$e1 = 'function () {
283-
return "{$foo}{$bar}{$foobar}";
284-
}';
285-
} else {
286-
$f1 = function () {
287-
return "${foo}${bar}{$foobar}";
288-
};
289-
$e1 = 'function () {
290-
return "${foo}${bar}{$foobar}";
291-
}';
292-
}
278+
$f1 = function () {
279+
return "{$foo}{$bar}{$foobar}";
280+
};
281+
$e1 = 'function () {
282+
return "{$foo}{$bar}{$foobar}";
283+
}';
293284
});

0 commit comments

Comments
 (0)