Skip to content

Commit 69bfb06

Browse files
committed
Allow tests to works without php short-tags
1 parent fcc69ff commit 69bfb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public function testDotHelperWithArrayPrototype()
270270
$items = array(2, 4, 6);
271271
eval(
272272
$jsPhpize->compile('items.forEach(function (item) {') .
273-
' ?><?= ' . $jsPhpize->compile('item') . ' ?><?php ' .
273+
' ?><?php echo ' . $jsPhpize->compile('item') . ' ?><?php ' .
274274
$jsPhpize->compile('})') .
275275
' ?>'
276276
);

0 commit comments

Comments
 (0)